Skip to content

AZ-700 · Domain 4: Design and implement private access to Azure services · 13% of the exam

Task 4.1: Design and implement Azure Private Link service and Azure private endpoints

Planning, creating and controlling private endpoints, Private Link services, their DNS integration, and access from on-premises clients.

Study it

Sample questions

Try each one before opening the answer. Every option is explained, with the Microsoft documentation page that proves it.

Question 1 · choose 1

A Bicep file deploys a private endpoint for an Azure SQL logical server (resource pe of type Microsoft.Network/privateEndpoints@2023-11-01) and, as a separate resource of type Microsoft.Network/privateDnsZones/A@2020-06-01 in the zone privatelink.database.windows.net, the record sql-prod with ttl 10 and aRecords [ { ipv4Address: '10.20.1.4' } ]. After the endpoint was deleted and redeployed, it received 10.20.1.7, and clients still resolve sql-prod.database.windows.net to 10.20.1.4. You want the records to follow the endpoint from now on. What should you change?

  1. AReplace the A record resource with a private DNS zone group on the endpoint that references the zone
  2. BEnable autoregistration on the virtual network link of privatelink.database.windows.net so that the record follows the endpoint
  3. CAdd a second DNS zone group to the endpoint for the same zone
  4. DLower the record's TTL to 1 second so clients refresh sooner
Show the answer and why
  • AReplace the A record resource with a private DNS zone group on the endpoint that references the zone

    Correct

    A DNS zone group ties the zone's records to the endpoint, updating them with the endpoint and deleting them when it's deleted.

  • BEnable autoregistration on the virtual network link of privatelink.database.windows.net so that the record follows the endpoint

    Incorrect

    Autoregistration creates records for virtual machines, not for private endpoints.

  • CAdd a second DNS zone group to the endpoint for the same zone

    Incorrect

    An endpoint can't have more than one DNS zone group, and a group holds one zone per zone name.

  • DLower the record's TTL to 1 second so clients refresh sooner

    Incorrect

    A shorter TTL only makes clients fetch the same stale address more often.

When a private endpoint is integrated with a private DNS zone, a private DNS zone group manages the zone's records for that endpoint, so no script or separate record is needed, and deleting the endpoint deletes its records. Hard-coded A records go stale when the endpoint's address changes.

Question 2 · choose 1

VMs in snet-clients of VNet-Hub (10.0.0.0/16) reach a private endpoint at 10.20.1.5 in the peered VNet-Data (10.20.0.0/16). The endpoint's subnet has private endpoint network policies enabled for route tables. This traffic must go through the firewall at 10.0.2.4 in VNet-Hub. Which user-defined route on snet-clients' route table does that?

  1. A0.0.0.0/0, with next hop Virtual appliance 10.0.2.4
  2. B10.0.0.0/8, with next hop Virtual appliance 10.0.2.4
  3. C10.20.0.0/16, with next hop Virtual appliance 10.0.2.4
  4. D10.20.0.0/16, with next hop Virtual network gateway
Show the answer and why
  • A0.0.0.0/0, with next hop Virtual appliance 10.0.2.4

    Incorrect

    A default route covers a broader range than VNet-Data's address space, so it doesn't override the endpoint's route.

  • B10.0.0.0/8, with next hop Virtual appliance 10.0.2.4

    Incorrect

    10.0.0.0/8 is broader than VNet-Data's 10.20.0.0/16, so the endpoint's route still applies.

  • C10.20.0.0/16, with next hop Virtual appliance 10.0.2.4

    Correct

    A route whose prefix is equal to or smaller than the endpoint's virtual network address space overrides the endpoint's /32 route.

  • D10.20.0.0/16, with next hop Virtual network gateway

    Incorrect

    That route would override the endpoint's route but send the traffic to the gateway, not the firewall.

A private endpoint adds a /32 route for its address. To override it, a user-defined route needs a prefix equal to or smaller than the address space of the virtual network where the endpoint is provisioned; a default route doesn't qualify.

Question 3 · choose 1

An application runs in VNet-App, in subscription Sub-App in West Europe. It must reach a storage account in subscription Sub-Data in East US through a private endpoint. Where do you create the private endpoint?

  1. AIn East US, in Sub-Data, next to the storage account
  2. BIn West Europe, in Sub-App, in a subnet of VNet-App
  3. CIn West Europe, in Sub-Data, linked to a subnet of VNet-App
  4. DNowhere; the storage account must first be moved to West Europe
Show the answer and why
  • AIn East US, in Sub-Data, next to the storage account

    Incorrect

    The endpoint must be in the same region and subscription as the virtual network it connects to.

  • BIn West Europe, in Sub-App, in a subnet of VNet-App

    Correct

    A private endpoint goes in the region and subscription of its virtual network, and the resource it connects to may be in another region.

  • CIn West Europe, in Sub-Data, linked to a subnet of VNet-App

    Incorrect

    The endpoint must be in the same subscription as the virtual network, which is Sub-App.

  • DNowhere; the storage account must first be moved to West Europe

    Incorrect

    The private-link resource can be in a different region than the virtual network and the endpoint.

A private endpoint is deployed in the same region and subscription as the virtual network whose subnet it uses. The private-link resource it connects to can be in another region.

Question 4 · choose 2

You'll create private endpoints for the blob service of two storage accounts in subnet snet-pe of VNet-App, which is in subscription Sub-App. One account is in subscription Sub-Data. Which two statements are true? (Choose TWO.)

  1. AEach endpoint needs a subnet of its own
  2. BEach endpoint gets a public IP address that only VNet-App can reach
  3. COne endpoint can serve both storage accounts, because both of them use the same blob service type
  4. DSub-App and Sub-Data must both be registered with the Microsoft network resource provider
  5. EEach endpoint gets a read-only network interface with an address from snet-pe
Show the answer and why
  • AEach endpoint needs a subnet of its own

    Incorrect

    Several private endpoints can be created in the same subnet.

  • BEach endpoint gets a public IP address that only VNet-App can reach

    Incorrect

    A private endpoint uses a private IP address from the virtual network, not a public one.

  • COne endpoint can serve both storage accounts, because both of them use the same blob service type

    Incorrect

    An endpoint connects to one private-link resource; each account needs its own.

  • DSub-App and Sub-Data must both be registered with the Microsoft network resource provider

    Correct

    The subscription of the private-link resource and the subscription of the endpoint must both be registered.

  • EEach endpoint gets a read-only network interface with an address from snet-pe

    Correct

    A read-only network interface is created for the endpoint's lifecycle and takes a private IP address from the subnet.

A private endpoint is a read-only network interface with a private IP address from its subnet. Several endpoints can share a subnet, and both the endpoint's subscription and the resource's subscription must be registered with the Microsoft network resource provider.

Question 5 · choose 1

While troubleshooting, an engineer opens the network interface of a private endpoint to check its effective routes and effective security rules. What will the engineer find?

  1. ABoth views, once the endpoint's connection is fully provisioned
  2. BEffective routes only, because NSGs never apply to private endpoints
  3. CBoth views, opened from the subnet's NSG page instead
  4. DNeither view; they're unavailable for a private endpoint's network interface
Show the answer and why
  • ABoth views, once the endpoint's connection is fully provisioned

    Incorrect

    Effective routes and security rules are unavailable for a private endpoint's network interface, whatever the connection's state.

  • BEffective routes only, because NSGs never apply to private endpoints

    Incorrect

    Neither view is available for the endpoint's interface.

  • CBoth views, opened from the subnet's NSG page instead

    Incorrect

    The views stay unavailable for the endpoint's interface wherever you open them.

  • DNeither view; they're unavailable for a private endpoint's network interface

    Correct

    The private endpoint documentation lists effective routes and security rules as unavailable for its network interface.

Effective routes and effective security rules aren't displayed in the Azure portal for a private endpoint's network interface.

Question 6 · choose 1

A provider publishes a service through Azure Private Link service with one NAT IP configuration. As consumer connections grow, the provider needs more ports for the TCP connections. What should the provider add?

  1. APublic IP addresses on the Private Link service
  2. BMore NAT IP configurations, up to eight per Private Link service
  3. CA second load balancer frontend in the NAT IP configuration
  4. DRemoval of the existing NAT IP configuration before new ones are added
Show the answer and why
  • APublic IP addresses on the Private Link service

    Incorrect

    A Private Link service's NAT IP addresses come from a subnet of the provider's virtual network; public IPs don't give it more ports.

  • BMore NAT IP configurations, up to eight per Private Link service

    Correct

    Each extra NAT IP address adds ports for TCP connections, and a Private Link service can have up to eight.

  • CA second load balancer frontend in the NAT IP configuration

    Incorrect

    Load balancer frontend IP configurations are different from NAT IP configurations.

  • DRemoval of the existing NAT IP configuration before new ones are added

    Incorrect

    A Private Link service must keep at least one NAT IP address once it's configured.

Each NAT IP address on a Private Link service gives more ports for TCP connections. A service can have up to eight NAT IP addresses and must keep at least one once configured.

Question 7 · choose 1

You create a private endpoint for an Azure Key Vault and want its name to resolve to the private IP address. Which private DNS zone should hold the endpoint's record?

  1. Aprivatelink.vaultcore.azure.net
  2. Bvaultcore.azure.net
  3. Cprivatelink.blob.core.windows.net
  4. Dprivatelink.vault.internal
Show the answer and why
  • Aprivatelink.vaultcore.azure.net

    Correct

    That's the private DNS zone name listed for Key Vault private endpoints.

  • Bvaultcore.azure.net

    Incorrect

    That's the public DNS zone forwarder; the private records go in the privatelink zone.

  • Cprivatelink.blob.core.windows.net

    Incorrect

    That zone is for the blob service of storage accounts.

  • Dprivatelink.vault.internal

    Incorrect

    Private endpoints use the documented privatelink zone names, not a custom one.

Each private-link resource type has a documented private DNS zone. For Key Vault, the zone is privatelink.vaultcore.azure.net, and the public name resolves to the private IP through it.

Practice domain 4 →Practice all domains →