How do you make a Route 53 private hosted zone resolve names inside two VPCs?
BeginnerScenarioRoute 53, CloudFront and Messaging
Answer
Situation read → Associate the zone with each VPC.
What I'd do →
aws route53 associate-vpc-with-hosted-zone --hosted-zone-id Z123 --vpc VPCRegion=eu-west-1,VPCId=vpc-0abc- For cross-account use
create-vpc-association-authorizationfirst - Enable
enableDnsSupportandenableDnsHostnameson the VPC - Test with
digfrom an instance
Why → PHZ answers only for associated VPCs, so scope is controlled.
Interview tip → Mention split-horizon DNS using the same zone name public and private.
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?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.Intermediate