An administrator is designing a virtual network named `vnet-prod` in an Azure subscription. The virtual network is assigned the address space . The administrator needs to configure subnets to support the following requirements:
* A subnet named `subnet-app` to host at least virtual machines.
* A subnet named `AzureBastionSubnet` to enable secure administrative access.
* A subnet named `GatewaySubnet` to support a VPN gateway.
The administrator proposes the following subnet allocations:
* `subnet-app`:
* `AzureBastionSubnet`:
* `GatewaySubnet`:
Which subnet in the proposed configuration will cause a deployment or configuration failure due to Azure subnet size constraints?
- AzureBastionSubnet onlyCevap
- Bsubnet-app only
- CGatewaySubnet only
- DAll subnets are valid because they meet host count requirements and do not overlap.
Cevap
AzureBastionSubnet only
The subnet named AzureBastionSubnet is assigned the CIDR block . The Azure Bastion service requires its subnet to be named exactly AzureBastionSubnet and to have a prefix size of or larger (e.g., , , ). A subnet is too small, which will cause the deployment of the Azure Bastion host to fail. The subnet-app is valid because a subnet offers IPs, and subtracting the reserved IPs leaves exactly usable IPs for the virtual machines. The GatewaySubnet is valid because Azure supports a GatewaySubnet prefix size as small as .
Adım Adım Çözüm
Anahtar Kavram
Azure subnets reserve IP addresses for internal management (the first four and the last one). Additionally, certain Azure resources require dedicated subnets with minimum size constraints. For example, Azure Bastion requires a subnet named exactly `AzureBastionSubnet` with a minimum prefix size of , whereas a `GatewaySubnet` requires a minimum prefix size of .
Tahmini Süre:1m 30s