A team is comparing Amazon SNS and Amazon SQS for moving messages between components. They need a clear understanding of how the two services differ in how messages reach the receivers. Which statement correctly describes the difference between Amazon SNS and Amazon SQS?
- AAmazon SNS lets receivers store messages in a queue, while Amazon SQS pushes the same message out to many subscribers at once.
- BAmazon SNS and Amazon SQS both push every message to all receivers, so the only real difference between them is the maximum size of each message.
- CAmazon SNS pushes each message to all subscribers immediately, while Amazon SQS holds messages in a queue for consumers to pull when ready. Correct
- DAmazon SNS and Amazon SQS both queue messages for later pull, so the difference is simply that SNS keeps messages for a longer retention period.
Why A is wrong: This reverses the two services; queuing for later pull is SQS, and pushing one message to many subscribers is SNS, so the description is back to front.
Why B is wrong: SQS does not push to receivers; consumers pull from the queue, and message size is not the defining difference between the two services.
Why C is correct: SNS uses a publish and subscribe push model that fans a message out to subscribers, whereas SQS is a pull-based queue where consumers retrieve messages on their own schedule.
Why D is wrong: SNS is not a queue and does not hold messages for later pull; it pushes to subscribers, so retention period is not what separates the two services.