Interview Prep/AWS/Route 53, CloudFront and Messaging

One event must fan out to email, an SQS worker and a Lambda. What do you use?

IntermediateScenarioRoute 53, CloudFront and Messaging
Answer

Situation read → SNS topic with multiple subscriptions.

What I'd do →

  1. Create the topic and subscribe email, SQS queue and Lambda
  2. Allow SNS to send to the queue via the queue policy
  3. Add subscription filter policies by message attribute
  4. Enable raw message delivery to SQS
  5. Use FIFO topics if ordering matters

Why → Pub/sub decouples publisher from consumers, so adding one needs no publisher change.

Interview tip → Filter policies cut cost by delivering only relevant messages.

aws All AWS questions Roadmap: AWS core services

More on Route 53, CloudFront and Messaging