SOA-C02 · Question #667
A company moved its server infrastructure to Amazon EC2 instances. The company needs to use Amazon CloudWatch metrics to track metrics for a Java application. The company has integrated…
The correct answer is D. Install and configure the AWS Distro for OpenTelemetry Collector on the instances. Create an. Since the company has integrated OpenTelemetry SDKs with the Java application, the best approach is to use the AWS Distro for OpenTelemetry (ADOT) Collector. AWS Distro for OpenTelemetry (ADOT) is an AWS-supported distribution of OpenTelemetry that allows applications to send…
Question
A company moved its server infrastructure to Amazon EC2 instances. The company needs to use Amazon CloudWatch metrics to track metrics for a Java application. The company has integrated OpenTelemetry SDKs with the application. Which solution will provide CloudWatch metrics for the application?
Options
- AInstall and configure the CloudWatch agent on the instances by using AWS Systems Manager.
- BInstall and configure the CloudWatch agent on the instances. Enable OpenTelemetry format. Use
- CInstall and configure the CloudWatch agent on the instances. Enable OpenTelemetry format.
- DInstall and configure the AWS Distro for OpenTelemetry Collector on the instances. Create an
How the community answered
(17 responses)- A6% (1)
- B18% (3)
- C6% (1)
- D71% (12)
Explanation
Since the company has integrated OpenTelemetry SDKs with the Java application, the best approach is to use the AWS Distro for OpenTelemetry (ADOT) Collector. AWS Distro for OpenTelemetry (ADOT) is an AWS-supported distribution of OpenTelemetry that allows applications to send custom metrics and traces to Amazon CloudWatch, AWS X-Ray, and other observability services. The ADOT Collector must be installed and configured on the EC2 instances to collect and forward application metrics to CloudWatch. An IAM role with the necessary permissions must be attached to the instances so they can publish the metrics to
Topics
Community Discussion
No community discussion yet for this question.