Bird
0
0

You want to build a system where messages sent to an SNS topic are delivered to multiple SQS queues for different processing workflows. Which AWS feature should you use to connect SNS and SQS?

hard📝 Application Q8 of 15
AWS - SNS and SQS
You want to build a system where messages sent to an SNS topic are delivered to multiple SQS queues for different processing workflows. Which AWS feature should you use to connect SNS and SQS?
ASubscribe the SQS queues to the SNS topic.
BSend messages directly from SNS to SQS using Lambda.
CUse SQS to poll SNS messages.
DCreate an EC2 instance to forward messages.
Step-by-Step Solution
Solution:
  1. Step 1: Understand SNS to SQS integration

    SNS can send messages to multiple subscribers, including SQS queues, via subscriptions.
  2. Step 2: Identify the correct method to connect SNS and SQS

    Subscribing SQS queues to the SNS topic enables automatic message delivery to queues.
  3. Final Answer:

    Subscribe the SQS queues to the SNS topic. -> Option A
  4. Quick Check:

    SNS to SQS connection = subscriptions [OK]
Quick Trick: Subscribe SQS queues to SNS topics for multi-delivery [OK]
Common Mistakes:
  • Using Lambda unnecessarily
  • Trying to poll SNS from SQS
  • Using EC2 for message forwarding

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes