An organization is designing a new Azure Virtual Network named `vnet-shared` with an address space of to support their multi-tier applications and secure administrative access. The virtual network must contain the following:
- A subnet named `Subnet-App` to host exactly 12 virtual machines.
- A subnet to host an Azure Bastion deployment to allow secure management of the virtual machines.
- A subnet to host a VPN gateway for hybrid connectivity.
You need to select the subnet configuration that minimizes wasted IP addresses while meeting all deployment requirements.
Which configuration should you choose?
- AzureBastionSubnet: 10.150.0.0/26, GatewaySubnet: 10.150.0.64/27, and Subnet-App: 10.150.0.96/27Cevap
- BAzureBastionSubnet: 10.150.0.0/27, GatewaySubnet: 10.150.0.32/27, and Subnet-App: 10.150.0.64/27
- CAzureBastionSubnet: 10.150.0.0/26, GatewaySubnet: 10.150.0.64/27, and Subnet-App: 10.150.0.96/28
- DBastionSubnet: 10.150.0.0/26, GatewaySubnet: 10.150.0.64/27, and Subnet-App: 10.150.0.96/27
Cevap
The subnet configuration with AzureBastionSubnet configured as 10.150.0.0/26, GatewaySubnet configured as 10.150.0.64/27, and Subnet-App configured as 10.150.0.96/27.
The correct configuration uses the required name and meets the minimum /26 prefix size for AzureBastionSubnet. For Subnet-App, a /27 prefix provides 32 IP addresses. After subtracting the 5 IP addresses reserved by Azure (the first four and the last one), it provides 27 usable IP addresses, which is sufficient to host 12 virtual machines. GatewaySubnet is configured with a valid /27 prefix.
Adım Adım Çözüm
Anahtar Kavram
Azure Virtual Network subnet sizing constraints, Azure's 5 reserved IP addresses per subnet, and dedicated subnet requirements for Azure Bastion and GatewaySubnet.