DOP-C02 · Question #309
DOP-C02 Question #309: Real Exam Question with Answer & Explanation
Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #309. The question stem and answer options stay visible for context.
Question
A company has an application that runs on Amazon EC2 instances in an Auto Scaling group. The application processes a high volume of messages from an Amazon Simple Queue Service (Amazon SQS) queue. A DevOps engineer noticed that the application took several hours to process a group of messages from the SQS queue. The average CPU utilization of the Auto Scaling group did not cross the threshold of a target tracking scaling policy when processing the messages. The application that processes the SQS queue publishes logs to `Amazon CloudWatch Logs. The DevOps engineer needs to ensure that the queue is processed quickly. Which solution meets these requirements with the LEAST operational overhead?
Options
- ACreate an AWS Lambda function. Configure the Lambda function to publish a custom metric by
- BCreate an AWS Lambda function. Configure the Lambda function to publish a custom metric by
- CCreate a target tracking scaling policy for the Auto Scaling group. In the target tracking policy, use
- DCreate an AWS Lambda function that logs the ApproximateNumberOfMessagesVisible attribute
Unlock DOP-C02 to see the answer
You've previewed enough free DOP-C02 questions. Unlock DOP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.