Hint: Confirm all subscriptions to receive messages [OK]
Common Mistakes:
Assuming SNS sends to only one queue
Blaming message size without checking subscription
Thinking message deletion affects delivery
5. You want to build a system where an SNS topic sends messages to three SQS queues. One queue processes orders, another sends notifications, and the third logs events. How should you configure the system to ensure reliable processing and no message loss?
hard
A. Subscribe only the order queue to SNS and forward messages to others manually
B. Send messages directly to each SQS queue without SNS
C. Use one SQS queue for all processing and filter messages inside the consumer
D. Subscribe all three SQS queues to the SNS topic, enable dead-letter queues for each, and set appropriate message retention
Solution
Step 1: Use SNS fan-out to send messages to all queues
Subscribing all three SQS queues to the SNS topic ensures each gets the message.
Step 2: Enable dead-letter queues and set retention