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.
| Subnet | Address prefix | Delegated to |
|---|---|---|
| snet-01 | 10.1.1.0/24 | Microsoft.Web/serverFarms |
| snet-02 | 10.1.2.0/24 | Microsoft.Sql/managedInstances |
| snet-03 | 10.1.3.0/24 | None |
| snet-04 | 10.1.4.0/24 | Microsoft.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.
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.
- Subnet Delegation in Azure Virtual NetworkMicrosoft Learn