AWS Certified Solutions Architect – Professional (SAP-C02) — Question 315

A solutions architect is determining the DNS strategy for an existing VPC. The VPC is provisioned to use the 10.24.34.0/24 CIDR block. The VPC also uses Amazon Route 53 Resolver for DNS. New requirements mandate that DNS queries must use private hosted zones. Additionally instances that have public IP addresses must receive corresponding public hostnames

Which solution will meet these requirements to ensure that the domain names are correctly resolved within the VPC?

Answer options

Correct answer: B

Explanation

To resolve names in a private hosted zone, both the enableDnsSupport and enableDnsHostnames attributes must be set to true for the VPC, and the zone must be explicitly associated with that VPC. Additionally, public hostnames for instances with public IP addresses require enableDnsHostnames to be enabled. Using AmazonProvidedDNS in the DHCP options set ensures that queries are correctly directed to the Route 53 Resolver.