Bird
0
0

You have subscribed two SQS queues to an SNS topic, but one queue is not receiving messages. Which of the following is the most probable cause?

medium📝 Debug Q6 of 15
AWS - SNS and SQS
You have subscribed two SQS queues to an SNS topic, but one queue is not receiving messages. Which of the following is the most probable cause?
AThe SNS topic is configured to send messages only to one queue at a time.
BThe SQS queue's access policy does not allow SNS to send messages to it.
CThe message size exceeds the maximum allowed by SNS.
DThe SQS queue is configured with a dead-letter queue.
Step-by-Step Solution
Solution:
  1. Step 1: Check access policies

    For SNS to deliver messages to an SQS queue, the queue's access policy must explicitly allow the SNS topic to send messages.
  2. Step 2: Evaluate other options

    The SNS topic is configured to send messages only to one queue at a time. is incorrect because SNS sends messages to all subscribed queues simultaneously. The message size exceeds the maximum allowed by SNS. is unrelated to delivery failure to one queue. The SQS queue is configured with a dead-letter queue. does not prevent message delivery.
  3. Final Answer:

    The SQS queue's access policy does not allow SNS to send messages to it. -> Option B
  4. Quick Check:

    Access policy must permit SNS delivery [OK]
Quick Trick: SQS queue policy must allow SNS topic to send messages [OK]
Common Mistakes:
  • Assuming SNS limits delivery to one queue
  • Blaming message size for delivery failure to one queue
  • Confusing dead-letter queue with delivery permissions

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes