An administrator is configuring a new virtual network named `vnet-prod` in an Azure subscription. The virtual network is assigned the address space . The administrator must create the following subnets:
* A subnet named `Subnet-App` to host up to virtual machines.
* A subnet to support an Azure Bastion host.
* A subnet named `GatewaySubnet` to support a VPN Gateway.
To conserve IP addresses for future expansion, the administrator wants to allocate the minimum required address space to each subnet. Which configuration of subnet prefix lengths should the administrator use?
- Afor `Subnet-App`, for `AzureBastionSubnet`, and for `GatewaySubnet`
- for `Subnet-App`, for `AzureBastionSubnet`, and for `GatewaySubnet`Answer
- Cfor `Subnet-App`, for `AzureBastionSubnet`, and for `GatewaySubnet`
- Dfor `Subnet-App`, for `AzureBastionSubnet`, and for `GatewaySubnet`
Answer
The configuration using for `Subnet-App`, for `AzureBastionSubnet`, and for `GatewaySubnet`.
The correct configuration uses for `Subnet-App` (providing usable addresses, which accommodates the required hosts after subtracting the Azure reserved IP addresses), for `AzureBastionSubnet` (meeting the minimum prefix requirement of for Azure Bastion hosts), and for `GatewaySubnet` (meeting the minimum prefix requirement of for Azure VPN Gateways).
Step-by-Step Solution
Key Concept
Azure Virtual Network subnet sizing constraints, Azure reserved IP addresses, and specific subnet size requirements for Azure Bastion and VPN Gateways.