Bird
0
0

You have set up an SQS queue with a Dead Letter Queue, but messages are not being moved to the DLQ after multiple processing failures. What is the most probable cause?

medium📝 Debug Q6 of 15
AWS - SNS and SQS
You have set up an SQS queue with a Dead Letter Queue, but messages are not being moved to the DLQ after multiple processing failures. What is the most probable cause?
AThe main queue is encrypted
BThe DLQ ARN is incorrect but messages still move
CmaxReceiveCount is not set or is set too high
DThe messages are too large to be moved
Step-by-Step Solution
Solution:
  1. Step 1: Check maxReceiveCount setting

    If maxReceiveCount is missing or set to a very high number, messages won't move to DLQ as expected.
  2. Step 2: Validate DLQ ARN and other settings

    Incorrect ARN usually prevents DLQ creation, but messages won't move silently; encryption or size issues don't prevent DLQ movement.
  3. Final Answer:

    maxReceiveCount is not set or is set too high -> Option C
  4. Quick Check:

    maxReceiveCount must be set correctly for DLQ to work [OK]
Quick Trick: Check maxReceiveCount setting first if DLQ not working [OK]
Common Mistakes:
  • Ignoring maxReceiveCount configuration
  • Assuming encryption blocks DLQ movement
  • Blaming message size for DLQ issues

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes