You are designing the IP addressing scheme for a new Azure virtual network named `vnet-retail-prod` that has an address space of .
You must configure the following subnets:
- A subnet named `AzureBastionSubnet` to deploy an Azure Bastion host.
- A subnet named `snet-app` to deploy exactly virtual machines.
You need to minimize the address space allocated to each subnet.
Which subnet mask sizes should you assign to `AzureBastionSubnet` and `snet-app`?
- `AzureBastionSubnet` with a prefix; `snet-app` with a prefixCevap
- B`AzureBastionSubnet` with a prefix; `snet-app` with a prefix
- C`AzureBastionSubnet` with a prefix; `snet-app` with a prefix
- D`AzureBastionSubnet` with a prefix; `snet-app` with a prefix
Cevap
Assign a prefix to `AzureBastionSubnet` and a prefix to `snet-app`.
The correct answer assigns a prefix to both `AzureBastionSubnet` and `snet-app`. Azure Bastion requires a dedicated subnet named `AzureBastionSubnet` with a minimum prefix size of . For the application subnet, since we need to support VMs, we must account for the reserved IP addresses that Azure allocates in every subnet. This brings the total minimum IP requirement to . A subnet provides only IP addresses, yielding usable host IPs. Therefore, a subnet (which provides total IPs and usable host IPs) is the smallest subnet size that can support virtual machines.
Adım Adım Çözüm
Anahtar Kavram
Azure subnet IP reservation rules and Azure Bastion subnet sizing requirements.
Tahmini Süre:1m 30s