Interview Prep/AWS/Route 53, CloudFront and Messaging

What is the difference between a CNAME and an alias record in Route 53?

BeginnerScenarioRoute 53, CloudFront and Messaging
Answer

Situation read → Alias is a Route 53 extension that works at the zone apex and is free for AWS targets.

What I'd do →

  1. CNAME cannot exist at example.com apex
  2. Alias to ALB, CloudFront, S3 website, API Gateway, with no query charge
  3. Alias records resolve to A or AAAA, so health tracking is built in
  4. Create via aws route53 change-resource-record-sets

Why → Alias gives apex support and removes an extra DNS hop.

Interview tip → Use alias for AWS resources, CNAME for external ones.

aws All AWS questions Roadmap: AWS core services

More on Route 53, CloudFront and Messaging