Primary region fails; how do you fail over DNS in a controlled way?
IntermediateScenarioRoute 53, CloudFront and Messaging
Answer
Situation read → Failover routing with a primary and secondary record.
What I'd do →
- Primary record with a health check on a deep endpoint
/healthz - Secondary record pointing to the DR region
- Alias with evaluate target health
- For explicit control use Application Recovery Controller routing controls
- Remember clients cache DNS beyond TTL
Why → Health-checked failover is automatic; ARC gives a manual, safe switch that avoids flapping.
Interview tip → DNS failover is never instant; mention TTL and resolver caching.
More on Route 53, CloudFront and Messaging
You want users routed to the nearest healthy region. Which Route 53 policy do you use?BeginnerWhat 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