Roll out a new version to 5 percent of users using DNS. How?
IntermediateScenarioRoute 53, CloudFront and Messaging
Answer
Situation read → Weighted routing.
What I'd do →
- Create two records with weights 95 and 5 and different
SetIdentifier - Attach health checks
- Increase weight over time
- Monitor errors per version
- Prefer ALB weighted target groups for finer control because DNS caching blurs percentages
Why → DNS weights are probabilities per resolver query, not per user.
Interview tip → Say DNS canaries are coarse; ALB or CloudFront continuous deployment is better.
More on Route 53, CloudFront and Messaging
You want users routed to the nearest healthy region. Which Route 53 policy do you use?BeginnerPrimary 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?BeginnerCloudFront 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