Question 1
A company needs to architect a hybrid DNS solution. This solution will use an Amazon Route 53 private hosted zone for the domain cloud.example.com for the resources stored within VPCs.
The company has the following DNS resolution requirements:
On-premises systems should be able to resolve and connect to cloud.example.com.
All VPCs should be able to resolve cloud.example.com.
There is already an AWS Direct Connect connection between the on-premises corporate network and AWS Transit Gateway.
Which architecture should the company use to meet these requirements with the HIGHEST performance?
The recommended answer is A. Associate the private hosted zone to all the VPCs. Create a Route 53 inbound resolver in the shared services VPC. Attach all VPCs to the transit gateway and create forwarding rules in the on-premises DNS server for cloud.example.com that point to the inbound resolver.
Reasoning: This architecture provides the highest performance by leveraging Route 53's capabilities. * Association of Private Hosted Zone to All VPCs: This ensures that all VPCs can directly resolve DNS records within the `cloud.example.com` zone without needing to traverse additional hops or resolvers within the VPCs. * Route 53 Inbound Resolver: An inbound resolver in the shared services VPC efficiently handles DNS resolution requests from on-premises systems. These requests are forwarded to Route 53, which then resolves them using the private hosted zone. This setup offers low latency and high availability for DNS resolution. * Transit Gateway and Forwarding Rules: The Transit Gateway enables seamless connectivity between the on-premises network and all VPCs. The forwarding rules on the on-premises DNS server direct queries for `cloud.example.com` to the inbound resolver. Why other options are not chosen: * Option B: Using an EC2 conditional forwarder (B) introduces an extra hop in the DNS resolution path compared to using Route 53 inbound resolver. This can lead to slightly increased latency and is less efficient compared to the optimized Route 53 service. * Options C and D: These options incorrectly associate the private hosted zone with only the shared services VPC, which means that the DNS resolution would not work directly from other VPCs. This configuration will not meet the requirement for all VPCs to be able to resolve `cloud.example.com`. Also, Route 53 outbound resolver is usually used for on-premise systems to resolve AWS resources, not for the hybrid architecture.