AWS Certified Solutions Architect – Professional — Question 125

A company runs an ordering system on AWS using Amazon SQS and AWS Lambda, with each order received as a JSON message. Recently the company had a marketing event that led to a tenfold increase in orders. With this increase, the following undesired behaviors started in the ordering system:
✑ Lambda failures while processing orders lead to queue backlogs.
✑ The same orders have been processed multiple times.
A Solutions Architect has been asked to solve the existing issues with the ordering system and add the following resiliency features:
✑ Retain problematic orders for analysis.
✑ Send notification if errors go beyond a threshold value.
How should the Solutions Architect meet these requirements?

Answer options

Correct answer: A

Explanation

The correct answer is A because it effectively utilizes multiple message processing, implements error handling, and ensures that unprocessed messages are sent to a dead letter queue for further analysis. This strategy also includes creating a CloudWatch alarm to monitor Lambda errors, meeting the requirements for notification and retention of problematic orders. The other options lack key components such as the dead letter queue or do not focus on the necessary error handling and monitoring aspects.