Learn how to ensure DNS records for virtual machines in Azure VNet2 are available on fabrikam.com by enabling automatic registration in the Azure Private DNS zone. Minimize administrative effort and avoid manual record entry with this efficient solution.
Table of Contents
Question
You have an Azure subscription that contains the following resources:
- Fabrikam.com: Azure Private DNS zone
- VNet1: Virtual network that contains 25 virtual machines
- VNet2: Virtual network that contains 10 virtual machines
- Link1: Virtual network link for fabrikam.com that is connected to VNet1
The fabrikam.com zone currently contains name records for the virtual machines associated with VNet1.
You create a new fabrikam.com virtual network link named Link2 and connect VNet2.
You discover that the name records for the virtual machines connected to VNet2 are missing from fabrikam.com.
You need to ensure that the DNS records for virtual machines that are connected to VNet2 are available on fabrikam.com. The solution must minimize administrative effort.
What should you do?
A. Add a hosts file to each virtual machine on VNet2.
B. Create a second private DNS zone and add Link2.
C. Enable automatic registration to Link2.
D. Manually enter the DNS records for the virtual machines connected to VNet2.
Answer
C. Enable automatic registration to Link2.
Explanation
Automatic registration enables DNS records to be created automatically for each virtual machine created. A specific virtual network can be linked to only one private DNS zone when automatic virtual machine DNS registration is enabled. You can, however, link multiple virtual networks to a single DNS zone. Automatic registration only works with dynamic IP addresses.
Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Designing and Implementing Microsoft Azure Networking Solutions AZ-700 exam and earn Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification.