Soru

Zorluk: OrtaConfigure Storage Account Network Access

An administrator configures secure network access to an Azure Storage account named stcorpdata. The administrator disables public network access to the storage account and deploys a Private Endpoint in Subnet-App within a virtual network named VNet-Core. A private DNS zone named privatelink.blob.core.windows.net is created and linked to VNet-Core, containing a DNS A record pointing stcorpdata.blob.core.windows.net to the private IP address of the Private Endpoint.

An Azure Virtual Machine named VM-App is deployed in a peered virtual network named VNet-Spoke. Although the virtual network peering between VNet-Core and VNet-Spoke is successfully established, applications on VM-App cannot connect to the storage account because they resolve stcorpdata.blob.core.windows.net to its public IP address instead of its private IP address.

What should the administrator do to resolve the DNS resolution issue from VM-App?

  1. Link the private DNS zone privatelink.blob.core.windows.net to the VNet-Spoke virtual network.Cevap
  2. B
    Configure gateway transit on the virtual network peering connection between VNet-Core and VNet-Spoke.
  3. C
    Assign the Private DNS Zone Contributor role on the private DNS zone to the managed identity of VM-App.
  4. D
    Create an inbound Network Security Group (NSG) rule in Subnet-App that allows DNS queries (UDP port 53) from VNet-Spoke.

Cevap

Link the private DNS zone privatelink.blob.core.windows.net to the VNet-Spoke virtual network.
Linking the private DNS zone to VNet-Spoke is the correct action. When a Private Endpoint is configured, the public FQDN of the storage account (stcorpdata.blob.core.windows.net) is updated to point to a CNAME alias (stcorpdata.privatelink.blob.core.windows.net). By linking the private DNS zone privatelink.blob.core.windows.net to VNet-Spoke, the DNS service in VNet-Spoke is able to resolve the private IP address of the Private Endpoint. Otherwise, the name resolution falls back to the public DNS system, returning the public IP address.

Adım Adım Çözüm

1
Analyze the DNS resolution pathway in the peered virtual networks.
Identify that VM-App in VNet-Spoke is receiving the public IP address of the storage account because VNet-Spoke's DNS resolver does not have access to the private DNS zone.
By default, a private DNS zone is only queryable by virtual networks that are explicitly linked to it.
2
Identify the configuration required to share private DNS resolution with peered virtual networks.
Determine that linking the private DNS zone to the spoke VNet is necessary.
Establishing a virtual network link between privatelink.blob.core.windows.net and VNet-Spoke enables VMs in the spoke VNet to resolve records within that private zone.

Anahtar Kavram

Private Endpoint DNS Integration with Peered Virtual Networks
Tahmini Süre:1m 30s
Bu soruyu puanla