AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 294

A DevOps team supports an application that runs on a large number of Amazon EC2 instances in an Auto Scaling group. The DevOps team uses AWS CloudFormation to deploy the EC2 instances. The application recently experienced an issue. A single instance returned errors to a large percentage of requests. The EC2 instance responded as healthy to both Amazon EC2 and Elastic Load Balancing health checks.

The DevOps team collects application logs in Amazon CloudWatch by using the embedded metric format. The DevOps team needs to receive an alert if any EC2 instance is responsible for more than half of all errors.

Which combination of steps will meet these requirements with the LEAST operational overhead? (Choose two.)

Answer options

Correct answer: A, D

Explanation

CloudWatch Contributor Insights (Option A) is designed to identify top contributors in log data, making it ideal for tracking which instance ID is generating the most errors. By using the INSIGHT_RULE_METRIC function in a CloudWatch alarm (Option D), you can alert when a single contributor exceeds a specified percentage of the total metric, satisfying the requirement with minimal operational overhead. Other options either require custom code maintenance (Option E) or cannot easily isolate the percentage contribution of a dynamic, single instance (Options B and C).