Question

Difficulty: EasyConfigure Azure DNS Private and Public Zones

An organization is setting up a private name resolution system in Azure. A Private DNS zone named corp.internal has been created. The IT team wants virtual machines in a virtual network named VNet-Core to automatically register their hostname and private IP addresses in this DNS zone.

Which setting must be configured to achieve this?

  1. A virtual network link from the corp.internal zone to VNet-Core with the auto-registration option enabledAnswer
  2. B
    A virtual network link from the corp.internal zone to VNet-Core with the auto-registration option disabled
  3. C
    A custom DNS server IP address configured on the properties of VNet-Core that points to Azure DNS
  4. D
    A DNS forwarding rule on a virtual network gateway that is associated with VNet-Core

Answer

A virtual network link from the corp.internal zone to VNet-Core with the auto-registration option enabled must be created.
To achieve both name resolution and automatic registration of virtual machines, a virtual network link must be created between the Private DNS zone and the virtual network with the auto-registration setting enabled. This configuration automatically creates A records for the virtual machines in the private zone when they are deployed.

Step-by-Step Solution

1
Identify the requirement for automatic hostname registration in the Private DNS zone.
Realize that Azure Private DNS requires a virtual network link with the auto-registration option active to perform this action.
Without a virtual network link, the virtual network has no association with the Private DNS zone.
2
Differentiate between name resolution and auto-registration.
Conclude that enabling auto-registration is specifically required to dynamically register VM hostnames, whereas a basic link only provides resolution.
Ensures that new VM deployments are dynamically updated in the zone without manual record creation.

Key Concept

Azure Private DNS Zone virtual network links and auto-registration
Estimated Time:1m 0s
Rate this question