AWS Certified Solutions Architect – Associate (SAA-C02) — Question 267

A company has two applications: a sender application that sends messages with payloads to be processed and a processing application intended to receive messages with payloads. The company wants to implement an AWS service to handle messages between the two applications. The sender application can send about 1,000 messages each hour. The messages may take up to 2 days to be processed. If the messages fail to process, they must be retained so that they do not impact the processing of any remaining messages.
Which solution meets these requirements and is the MOST operationally efficient?

Answer options

Correct answer: C

Explanation

Amazon SQS is a fully managed message queuing service that easily supports message retention for up to 14 days, perfectly accommodating the 2-day processing requirement. Using an SQS dead-letter queue (DLQ) ensures that failed messages are isolated without blocking the processing of other messages, providing the most operationally efficient solution. Other options like EC2 with Redis introduce unnecessary management overhead, while SNS and Kinesis are not suited for long-term asynchronous queuing and message isolation via DLQs in this scenario.