Interview Prep/AWS/Route 53, CloudFront and Messaging

Design an event-driven order pipeline that is resilient to downstream outage.

AdvancedScenarioRoute 53, CloudFront and Messaging
Answer

Situation read → Durable buffering between each stage.

What I'd do →

  1. API Gateway to Lambda writes the order to DynamoDB and emits an event to EventBridge
  2. EventBridge rules route to SQS queues per consumer (billing, inventory, email)
  3. Consumers read with batch size and partial batch failure response
  4. DLQs and alarms on age of oldest message
  5. Use outbox pattern with DynamoDB Streams for exactly-recorded publishing

Why → Queues absorb outages, so a billing downtime delays but never loses orders.

Interview tip → Mention ApproximateAgeOfOldestMessage as the best queue health alarm.

aws All AWS questions Roadmap: AWS core services

More on Route 53, CloudFront and Messaging