Bird
0
0

You want to send a notification to multiple endpoints: an email, an SMS number, and a Lambda function. How should you configure SNS to achieve this?

hard📝 Application Q15 of 15
AWS - SNS and SQS
You want to send a notification to multiple endpoints: an email, an SMS number, and a Lambda function. How should you configure SNS to achieve this?
ASend messages directly to each endpoint without using SNS topics
BCreate separate SNS topics for each endpoint type and publish messages to all
CCreate one SNS topic and subscribe all three endpoints to it
DUse only email and SMS subscriptions; Lambda cannot subscribe to SNS
Step-by-Step Solution
Solution:
  1. Step 1: Understand SNS subscription flexibility

    An SNS topic can have multiple subscriptions of different protocols (email, SMS, Lambda).
  2. Step 2: Choose the simplest and best practice approach

    Using one topic with multiple subscriptions is efficient and standard practice.
  3. Final Answer:

    Create one SNS topic and subscribe all three endpoints to it -> Option C
  4. Quick Check:

    One topic, multiple subscriptions = Create one SNS topic and subscribe all three endpoints to it [OK]
Quick Trick: One SNS topic can have many different subscriptions [OK]
Common Mistakes:
MISTAKES
  • Thinking Lambda cannot subscribe to SNS
  • Creating multiple topics unnecessarily
  • Sending messages directly without SNS

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes