
Answer-first summary for fast verification
Answer: Implement an Amazon SNS dead letter queue with an SQS target and 14-day retention.
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.
Author: LeetQuiz Editorial Team
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?
A
Set up an Amazon SNS dead letter queue with a streaming service target and 14-day retention.
B
Integrate an Amazon SQS queue with 14-day message retention between the application and Amazon SNS.
C
Implement an Amazon SNS dead letter queue with an SQS target and 14-day retention.
D
Use an Amazon SNS dead letter queue with a DynamoDB target and a 14-day TTL.
No comments yet.