Question 19
Domain 2: Design Resilient ArchitecturesA company wants to implement a pub/sub messaging pattern where multiple consumers receive the same message. Which service should be used?
Correct answer: C
Explanation
Amazon SNS is built for pub/sub messaging, where one published message is delivered to multiple subscribers. In this pattern, a single topic fan-outs the same message to many consumers, matching the requirement that "multiple consumers receive the same message."
Why each option is right or wrong
A. Amazon SQS Standard Queue
B. Amazon SQS FIFO Queue
C. Amazon SNS
Amazon Simple Notification Service (SNS) is the AWS managed service designed for fan-out delivery: one published message to a topic can be pushed to multiple subscriptions at once, including SQS queues, Lambda functions, HTTP/S endpoints, email, and SMS. In contrast to point-to-point queues, SNS topics support one-to-many distribution, so a single producer can notify multiple consumers with the same payload immediately.
D. Amazon Kinesis Data Streams