An administrator is setting up `vnet-retail-prod` within an Azure subscription using the address space . The design requires two subnets: one named `snet-app` to accommodate at least virtual machines, and one named `AzureBastionSubnet` for an Azure Bastion deployment. Which CIDR block prefix sizes represent the minimum requirements for both subnets?
- AA prefix of for `snet-app` and for `AzureBastionSubnet`
- BA prefix of for `snet-app` and for `AzureBastionSubnet`
- A prefix of for `snet-app` and for `AzureBastionSubnet`Cevap
- DA prefix of for `snet-app` and for `AzureBastionSubnet`
Cevap
A prefix of for `snet-app` and for `AzureBastionSubnet`
The correct configuration uses a prefix of for the application subnet and for the Azure Bastion subnet. The application subnet needs to support at least virtual machines. Since Azure reserves IP addresses in every subnet (the first four and the last one), the subnet must have a total size of at least IP addresses. A prefix provides only total IP addresses (leaving usable), which is not enough. A prefix provides total IP addresses (leaving usable), making it the smallest valid prefix. Additionally, Azure Bastion requires a dedicated subnet named `AzureBastionSubnet` with a prefix of or larger.
Adım Adım Çözüm
Anahtar Kavram
Azure Virtual Network subnet sizing rules, specifically the 5 reserved IP addresses per subnet and the minimum /26 prefix size constraint for Azure Bastion subnets.