AWS Certified Solutions Architect - Associate

AWS Certified Solutions Architect - Associate

Get started today

Ultimate access to all questions.


An e-commerce company's AWS Cloud application integrates with an on-premises warehouse. It uses Amazon SNS to send order notifications to an HTTPS endpoint for processing. Some messages were undelivered. The architect seeks a solution requiring minimal development to retain undelivered messages for 14 days. Which approach should be taken?




Explanation:

The correct answer is C. Configuring an Amazon SNS dead letter queue with an Amazon Simple Queue Service (Amazon SQS) target and a retention period of 14 days is the most straightforward solution with minimal development effort. SQS natively supports message retention for up to 14 days, allowing the failed messages to be stored and analyzed within this timeframe. This setup ensures that undelivered messages are not lost and can be processed or inspected later. Options A and D involve targets (Kinesis Data Stream and DynamoDB) that would require more development and are not inherently designed for simple message retention. Option B incorrectly suggests placing an SQS queue between the application and SNS, which does not align with the requirement of handling undelivered messages from SNS to the on-premises endpoint.