DOP-C02 · Question #303
A DevOps team manages infrastructure for an application. The application uses long-running processes to process items from an Amazon Simple Queue Service (Amazon SQS) queue. The application is deploye
Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #303. The question stem and answer options stay visible for context.
Question
A DevOps team manages infrastructure for an application. The application uses long-running processes to process items from an Amazon Simple Queue Service (Amazon SQS) queue. The application is deployed to an Auto Scaling group. The application recently experienced an issue where items were taking significantly longer to process. The queue exceeded the expected size, which prevented various business processes from functioning properly. The application records all logs to a third-party tool. The team is currently subscribed to an Amazon Simple Notification Service (Amazon SNS) topic that the team uses for alerts. The team needs to be alerted if the queue exceeds the expected size. Which solution will meet these requirements with the MOST operational efficiency?
Options
- ACreate an Amazon CloudWatch metric alarm with a period of 1 hour and a static threshold to
- BCreate an Amazon CloudWatch metric alarm with a period of 1 hour and a static threshold to
- CCreate an AWS Lambda function that retrieves the ApproximateNumberOfMessages SQS queue
- DCreate an AWS Lambda function that checks the ApproximateNumberOfMessagesDelayed SQS
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.