Soru

Zorluk: OrtaConfigure Azure DNS Private and Public Zones

You manage an Azure subscription that contains a Private DNS zone named corp.contoso.com and two virtual networks named VNet-Prod and VNet-Test. You need to configure Azure DNS to meet the following requirements:

- Virtual machines deployed in VNet-Prod must automatically register their DNS records in corp.contoso.com.
- Virtual machines deployed in VNet-Test must be able to resolve the names of virtual machines in VNet-Prod by using the corp.contoso.com zone.
- Virtual machines deployed in VNet-Test must not automatically register their DNS records in corp.contoso.com.

Which two actions should you perform? (Select two.)

  1. Create a virtual network link from corp.contoso.com to VNet-Prod and select the Enable auto-registration option.Cevap
  2. Create a virtual network link from corp.contoso.com to VNet-Test and clear the Enable auto-registration option.Cevap
  3. C
    Create a virtual network link from corp.contoso.com to VNet-Test and select the Enable auto-registration option.
  4. D
    Configure virtual network peering between VNet-Prod and VNet-Test.

Cevap

Create a virtual network link from corp.contoso.com to VNet-Prod and select the Enable auto-registration option, and create a virtual network link from corp.contoso.com to VNet-Test and clear the Enable auto-registration option.
To satisfy the requirements, two virtual network links must be created. The link to VNet-Prod must have auto-registration enabled so that VMs in VNet-Prod are automatically registered in the DNS zone. The link to VNet-Test must have auto-registration disabled (cleared) so that VMs in VNet-Test can resolve names from the DNS zone (including the registered VMs from VNet-Prod) but do not register their own names.

Adım Adım Çözüm

1
Configure name resolution and auto-registration for the production network.
A virtual network link is created between corp.contoso.com and VNet-Prod with the Enable auto-registration option selected.
This ensures that virtual machines in VNet-Prod are registered in the DNS zone and can resolve records within it.
2
Configure name resolution without auto-registration for the test network.
A virtual network link is created between corp.contoso.com and VNet-Test with the Enable auto-registration option cleared.
This allows virtual machines in VNet-Test to resolve DNS names registered in the zone (such as those from VNet-Prod) without registering their own records.

Anahtar Kavram

Azure Private DNS Zone Virtual Network Links and Auto-Registration
Bu soruyu puanla