An administrator is planning the deployment of a new Azure virtual network named `VNet-Prod` in an Azure subscription. The address space for `VNet-Prod` is configured as . The virtual network must support the following requirements:
- A subnet named `Subnet-App` that provides a minimum of 12 usable IP addresses for application servers.
- A subnet for secure administrative access to virtual machines using Azure Bastion.
- A subnet for a virtual network gateway to support a hybrid VPN connection.
The administrator wants to minimize address space allocation for each subnet.
Which three of the following subnet allocations should the administrator configure?
- A subnet named `Subnet-App` with an address range of Answer
- A subnet named `AzureBastionSubnet` with an address range of Answer
- A subnet named `GatewaySubnet` with an address range of Answer
- DA subnet named `Subnet-App` with an address range of
- EA subnet named `AzureBastionSubnet` with an address range of
- FA subnet named `GatewaySubnet` with an address range of
Answer
The correct subnet allocations are: the application subnet configured with a prefix of /27, the Azure Bastion subnet configured with a prefix of /26, and the GatewaySubnet configured with a prefix of /29.
The subnet named `Subnet-App` configured as is correct because a /28 subnet provides only 11 usable IP addresses after accounting for the 5 IP addresses reserved by Azure (), which is insufficient for the 12 hosts required. The subnet named `AzureBastionSubnet` configured as is correct because Azure Bastion has a strict requirement of a dedicated subnet named exactly `AzureBastionSubnet` with a minimum subnet prefix length of /26. The subnet named `GatewaySubnet` configured as is correct because a virtual network gateway requires a dedicated subnet named exactly `GatewaySubnet` with a minimum prefix length of /29.
Step-by-Step Solution
Key Concept
Subnet sizing and service-specific naming and prefix constraints in Azure Virtual Networks, including Azure's 5 reserved IP addresses, `AzureBastionSubnet` sizing requirements, and `GatewaySubnet` sizing requirements.