You want users routed to the nearest healthy region. Which Route 53 policy do you use?
BeginnerScenarioRoute 53, CloudFront and Messaging
Answer
Situation read → Latency routing with health checks.
What I'd do →
- Create latency records for
api.example.comin eu-west-1 and us-east-1 - Attach Route 53 health checks to each
- Use alias records to the regional ALBs with
EvaluateTargetHealthtrue - Test:
dig api.example.comfrom different locations - Keep TTL low, 60 seconds
Why → Latency routing picks the lowest-latency region, health checks remove failed ones.
Interview tip → Latency is measured to AWS regions, not to the user's exact location.
More on Route 53, CloudFront and Messaging
Primary region fails; how do you fail over DNS in a controlled way?IntermediateWhat is the difference between a CNAME and an alias record in Route 53?BeginnerRoll out a new version to 5 percent of users using DNS. How?IntermediateCloudFront serves stale content after you deployed a new JS bundle. How do you handle cache correctly?IntermediateCloudFront returns 403 from an S3 origin. List the checks.IntermediateProtect an origin so that only CloudFront can reach your ALB.Advanced