
Answer-first summary for fast verification
Answer: Establish peering among VNET1, VNET2, and VNET3
The correct answer is D. Virtual network peering is required to connect virtual networks in Azure, allowing seamless connectivity between VMs across different virtual networks. This connectivity ensures that all VMs can use the DNS service on VM1. Peering makes the virtual networks appear as a single network for connectivity purposes, leveraging the Microsoft backbone infrastructure for traffic between machines. Options B and C, which involve setting up service endpoints, are not applicable here as they are meant for secure and optimized routes to Azure services. Option A, setting up a conditional forwarder on VM1, is used to forward queries to an external DNS, which is not required in this scenario as VM1 is intended to serve as the internal DNS resolver.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
In a setup with Azure virtual machines and a DNS service on VM1, how can you ensure DNS name resolution across all VMs when configured with specific virtual network DNS settings?
A
Set up a conditional forwarder on VM1
B
Implement service endpoints for VNET1
C
Apply service endpoints to both VNET2 and VNET3
D
Establish peering among VNET1, VNET2, and VNET3