Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Plan and configure subnet delegation

A worked example

Complete the statement

The virtual network vnet-spoke contains the subnets shown in the exhibit. Each subnet has enough free IP addresses.

You need to create a private endpoint for an Azure Storage account in vnet-spoke. You must not change any existing subnet delegation.

SubnetAddress prefixDelegated to
snet-0110.1.1.0/24Microsoft.Web/serverFarms
snet-0210.1.2.0/24Microsoft.Sql/managedInstances
snet-0310.1.3.0/24None
snet-0410.1.4.0/24Microsoft.ContainerInstance/containerGroups

Which subnet should you use for the private endpoint?

Create the private endpoint in .

  • Blank 1: snet-03 (correct answer)

    snet-03 has no delegation, so it can host the private endpoint. snet-01 is delegated to Microsoft.Web/serverFarms, snet-02 to Microsoft.Sql/managedInstances and snet-04 to Microsoft.ContainerInstance/containerGroups. A delegated subnet can't be used for a private endpoint, and the scenario does not allow removing the delegations.

Why

Subnet delegation allows an Azure service to inject its instances into the subnet. A delegated subnet can't be used for a private endpoint. Because the existing delegations must stay as they are, the only subnet that can host the storage private endpoint is snet-03, which has no delegation.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free