An administrator is planning a new virtual network named `VNet-Prod` with an address space of . The virtual network must support the following requirements:
- A subnet for Azure Bastion named `AzureBastionSubnet`.
- A subnet for a VPN Gateway named `GatewaySubnet`.
- An application subnet named `Subnet-App` that will host 60 virtual machines.
Which of the following subnet allocations satisfies these requirements while minimizing IP address waste?
- AAzureBastionSubnet: ; GatewaySubnet: ; Subnet-App:
- BAzureBastionSubnet: ; GatewaySubnet: ; Subnet-App: , and route traffic to a firewall virtual appliance using a next hop type of Virtual Network Gateway
- AzureBastionSubnet: ; GatewaySubnet: ; Subnet-App: Answer
- DAzureBastionSubnet: ; GatewaySubnet: ; Subnet-App: , and a Private DNS Zone linked directly to Subnet-App
Answer
AzureBastionSubnet: ; GatewaySubnet: ; Subnet-App:
The correct configuration allocates a /26 subnet for Azure Bastion, a /27 subnet for the VPN Gateway, and a /25 subnet for Subnet-App. A /26 prefix is the minimum required size for Azure Bastion. For Subnet-App, hosting 60 virtual machines requires at least 65 IP addresses because Azure reserves 5 IP addresses per subnet (the first four and the last one). A /26 subnet provides 64 total addresses, leaving only 59 usable, which is insufficient. A /25 subnet provides 128 total addresses (123 usable), which meets the requirement of 60 VMs while minimizing waste.
Step-by-Step Solution
Key Concept
Subnet sizing constraints and Azure-specific reserved IP address requirements.