DOP-C02 exam dumps

DOP-C02 practice question 222 of 411

AWS Certified DevOps Engineer - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

DOP-C02 Question 222

Select 2

Your organization has an application running on multiple Amazon EC2 instances behind an Application Load Balancer (ALB). You are tasked with monitoring the health and performance of the application. The team requires metrics such as request counts, latency, and error rates for the ALB, as well as instance-level CPU utilization. Which combination of CloudWatch metrics and configurations would be the best approach to satisfy this requirement?

  1. A

    Enable ALB-level metrics such as RequestCount, Latency, and HTTPCode_ELB_5XX_Count under the 'AWS/ApplicationELB' namespace in CloudWatch.

  2. B

    Enable detailed monitoring for the EC2 instances to capture CPUUtilization at a 1-minute resolution under the 'AWS/EC2' namespace.

  3. C

    Use the 'AWS/AutoScaling' namespace to monitor aggregated instance performance within the Auto Scaling group.

  4. D

    Enable high-resolution metrics (1-second resolution) for the ALB to track latency in near real-time.

  5. E

    Use CloudWatch custom metrics to publish CPU utilization data from each EC2 instance.

Show answer and explanation

Correct answers: A, B

Explanation

To monitor both the ALB and EC2 instances effectively, you should leverage native CloudWatch metrics from the appropriate namespaces. The 'AWS/ApplicationELB' namespace provides ALB-level metrics such as request counts and latency, while enabling detailed monitoring for the EC2 instances in the 'AWS/EC2' namespace provides CPU utilization data at a 1-minute resolution. Other options, such as using the 'AWS/AutoScaling' namespace or custom metrics, are not suitable or redundant for this scenario.

  • A. Correct.

    Correct. ALB metrics, such as RequestCount, Latency, and HTTPCode_ELB_5XX_Count, are available in the 'AWS/ApplicationELB' namespace and provide the required application-level metrics.

  • B. Correct.

    Correct. Enabling detailed monitoring for EC2 instances allows you to collect CPU utilization and other metrics at a 1-minute resolution under the 'AWS/EC2' namespace.

  • C. Incorrect.

    Incorrect. The 'AWS/AutoScaling' namespace is used for monitoring Auto Scaling group-level metrics, but it does not provide detailed metrics like request counts or instance-level CPU utilization.

  • D. Incorrect.

    Incorrect. While high-resolution metrics can be enabled for custom metrics, ALB metrics do not support 1-second resolution natively. The default resolution for ALB metrics is 1 minute.

  • E. Incorrect.

    Incorrect. CloudWatch custom metrics are unnecessary in this case because CPU utilization is already available natively in the 'AWS/EC2' namespace.

Timed practice exam

Take a DOP-C02 practice test under exam conditions

75 questions in 180 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam