nerdexam
Amazon

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…

Submitted by chen.hong· Mar 30, 2026Monitoring, Logging, and Remediation

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)
  • A
    6% (1)
  • B
    18% (3)
  • C
    6% (1)
  • D
    71% (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

#OpenTelemetry#CloudWatch metrics#AWS Distro for OpenTelemetry#Java application

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice