Bird
0
0

An AWS SNS topic has three different endpoints subscribed: an email, an HTTP endpoint, and an SMS number. When a message is published to this topic, what is the expected behavior?

medium📝 Predict Output Q5 of 15
AWS - SNS and SQS
An AWS SNS topic has three different endpoints subscribed: an email, an HTTP endpoint, and an SMS number. When a message is published to this topic, what is the expected behavior?
AThe message is stored in a queue until all subscribers are available.
BThe message is sent only to the first subscriber that confirms receipt.
CThe message is sent to the subscriber with the highest priority only.
DThe message is sent to all three subscribers independently and simultaneously.
Step-by-Step Solution
Solution:
  1. Step 1: Understand SNS Topic Behavior

    AWS SNS is a pub/sub messaging service that delivers messages to all subscribed endpoints.
  2. Step 2: Message Delivery to Subscribers

    When a message is published, SNS sends it independently to each subscriber, regardless of type.
  3. Final Answer:

    The message is sent to all three subscribers independently and simultaneously. -> Option D
  4. Quick Check:

    All subscribers receive messages simultaneously [OK]
Quick Trick: SNS delivers messages to all subscribers simultaneously [OK]
Common Mistakes:
MISTAKES
  • Assuming SNS sends to only one subscriber at a time
  • Believing SNS queues messages for later delivery
  • Thinking SNS prioritizes subscribers

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes