
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
An ecommerce company runs an application in the AWS Cloud that is integrated with an on-premises warehouse solution. The company uses Amazon Simple Notification Service (Amazon SNS) to send order messages to an on-premises HTTPS endpoint so the warehouse application can process the orders. The local data center team has detected that some of the order messages were not received.
A solutions architect needs to retain messages that are not delivered and analyze the messages for up to 14 days.
Which solution will meet these requirements with the LEAST development effort?
A
Configure an Amazon SNS dead letter queue that has an Amazon Kinesis Data Stream target with a retention period of 14 days.
B
Add an Amazon Simple Queue Service (Amazon SQS) queue with a retention period of 14 days between the application and Amazon SNS.
C
Configure an Amazon SNS dead letter queue that has an Amazon Simple Queue Service (Amazon SQS) target with a retention period of 14 days.
D
Configure an Amazon SNS dead letter queue that has an Amazon DynamoDB target with a TTL attribute set for a retention period of 14 days.
Explanation:
Correct Answer: C
Amazon SNS supports dead-letter queues (DLQs) to capture messages that cannot be delivered to subscribers. When configuring an SNS subscription to an HTTPS endpoint, you can set up a DLQ to capture undeliverable messages. The most appropriate solution with the least development effort is:
Why Option C is correct:
Why other options are incorrect:
Option A (Kinesis Data Stream):
Option B (Add SQS queue between application and SNS):
Option D (DynamoDB with TTL):
Key AWS Concepts:
Best Practice: Use SQS as DLQ for SNS when you need to retain and analyze undelivered messages with minimal development overhead.