AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 91
You have a hybrid infrastructure, and you need AWS resources to be able to resolve your on-premises DNS names. You have configured a DNS server on an
EC2 instance in your 10.1.3.0/24 subnet. This subnet resides on the VPC 10.1.0.0/16. What step should you take to accomplish this?
Answer options
- A. Configure your DNS server to forward queries for the private hosted zone to 10.1.3.2.
- B. Configure the DHCP option set in the VPC to point to the EC2 DNS server.
- C. Configure your DNS server to forward queries for the private hosted zone to 10.1.0.2.
- D. Disable the source/destination check flag for the DNS instance.
Correct answer: B
Explanation
The correct answer is B because configuring the DHCP option set to point to the EC2 DNS server allows all instances in the VPC to use this DNS server for name resolution. Options A and C are incorrect as they refer to forwarding queries, which is not necessary for this scenario. Option D is irrelevant since disabling the source/destination check does not facilitate DNS resolution.