DVA-C02 · Question #613
DVA-C02 Question #613: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #613. The question stem and answer options stay visible for context.
Question
A company created an application to consume and process data. The application uses Amazon SQS and AWS Lambda functions. The application is currently working as expected, but it occasionally receives several messages that it cannot process properly. The company needs to clear these messages to prevent the queue from becoming blocked. A developer must implement a solution that makes queue processing always operational. The solution must give the company the ability to defer the messages with errors and save these messages for further analysis. What is the MOST operationally efficient solution that meets these requirements?
Options
- AConfigure Amazon CloudWatch Logs to save the error messages to a separate log stream.
- BCreate a new SQS queue. Set the new queue as a dead-letter queue for the application queue.
- CChange the SQS queue to a FIFO queue. Configure the message retention period to 0 seconds.
- DConfigure an Amazon CloudWatch alarm for Lambda function errors. Publish messages to an
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-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.