
Answer-first summary for fast verification
Answer: Turn on DNS hostnames for the VPC. Configure a new outbound endpoint with Amazon Route 53 Resolver. Create a Resolver rule to forward requests for company.example to the on-premises name servers.
The correct answer is B. In this scenario, the company needs to ensure that the new private intranet service can resolve DNS queries for hostnames in the company.example domain, which are hosted on-premises. By turning on DNS hostnames for the VPC and configuring a new outbound endpoint with Amazon Route 53 Resolver, it is possible to forward DNS requests for company.example to the on-premises name servers. This setup ensures that the EC2 instances in the VPC can resolve and communicate with the on-premises services using the hostnames in the company.example domain.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company is deploying a new private intranet service on Amazon EC2 instances within a VPC, which is connected to their on-premises network via an AWS Site-to-Site VPN. The new service needs to communicate with existing on-premises services that are accessible via hostnames in the company.example DNS zone. This DNS zone is hosted entirely on-premises and is only available within the company's private network. A solutions architect is tasked with ensuring that the new service can resolve hostnames in the company.example domain to integrate with these existing services. What solution should the solutions architect implement to achieve this?
A
Create an empty private zone in Amazon Route 53 for company.example. Add an additional NS record to the company's on-premises company.example zone that points to the authoritative name servers for the new private zone in Route 53.
B
Turn on DNS hostnames for the VPC. Configure a new outbound endpoint with Amazon Route 53 Resolver. Create a Resolver rule to forward requests for company.example to the on-premises name servers.
C
Turn on DNS hostnames for the VPC. Configure a new inbound resolver endpoint with Amazon Route 53 Resolver. Configure the on-premises DNS server to forward requests for company.example to the new resolver.
D
Use AWS Systems Manager to configure a run document that will install a hosts file that contains any required hostnames. Use an Amazon EventBridge rule to run the document when an instance is entering the running state.