Bird
0
0

When an SNS topic is configured to fan out messages to multiple SQS queues, how does SNS deliver the messages?

easy📝 Conceptual Q1 of 15
AWS - SNS and SQS
When an SNS topic is configured to fan out messages to multiple SQS queues, how does SNS deliver the messages?
ASNS sends a single message that is shared among all subscribed SQS queues.
BSNS sends a copy of each message to every subscribed SQS queue independently.
CSNS sends messages only to the first subscribed SQS queue and waits for confirmation before sending to others.
DSNS batches messages and sends them to one SQS queue at a time in a round-robin fashion.
Step-by-Step Solution
Solution:
  1. Step 1: Understand SNS fan-out

    SNS fan-out pattern means that when a message is published to an SNS topic, it is replicated and sent to all subscribed endpoints independently.
  2. Step 2: Delivery to SQS queues

    Each subscribed SQS queue receives its own copy of the message, ensuring parallel processing and decoupling.
  3. Final Answer:

    SNS sends a copy of each message to every subscribed SQS queue independently. -> Option B
  4. Quick Check:

    Each queue gets its own message copy [OK]
Quick Trick: SNS fan-out sends copies to all subscribed queues [OK]
Common Mistakes:
  • Assuming SNS sends a single shared message to all queues
  • Believing messages are sent sequentially or batched
  • Thinking only one queue receives the message

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes