Interview Prep/AWS/Route 53, CloudFront and Messaging

Messages keep failing and blocking others in a queue. How do you isolate poison messages?

IntermediateScenarioRoute 53, CloudFront and Messaging
Answer

Situation read → Use a dead-letter queue with a redrive path.

What I'd do →

  1. Set RedrivePolicy with maxReceiveCount 5 to a DLQ
  2. Alarm on ApproximateNumberOfMessagesVisible on the DLQ
  3. Inspect messages, fix the bug, then redrive: aws sqs start-message-move-task --source-arn <dlq-arn>
  4. Keep DLQ retention longer than main (14 days)

Why → DLQ keeps healthy flow moving and preserves bad messages for diagnosis.

Interview tip → Mention FIFO message group blocking.

aws All AWS questions Roadmap: AWS core services

More on Route 53, CloudFront and Messaging