Soru

Zorluk: OrtaCreate and Configure Virtual Networks and Subnets

You are planning the IP addressing scheme for a new Azure virtual network named `vnet-logistics` that has an address space of 172.20.0.0/21172.20.0.0/21. You need to create two subnets to meet the following requirements:

- A subnet for Azure Bastion that supports the minimum required subnet prefix size.
- A subnet named `snet-db` that must support at least 1111 database servers.

You must minimize the number of IP addresses allocated to both subnets to conserve the address space for future expansion.

Which two of the following subnet configurations should you implement? (Select two.)

  1. A subnet named `AzureBastionSubnet` with an address space of 172.20.1.0/26172.20.1.0/26Cevap
  2. A subnet named `snet-db` with an address space of 172.20.2.0/28172.20.2.0/28Cevap
  3. C
    A subnet named `snet-bastion` with an address space of 172.20.1.0/26172.20.1.0/26
  4. D
    A subnet named `AzureBastionSubnet` with an address space of 172.20.1.0/27172.20.1.0/27
  5. E
    A subnet named `snet-db` with an address space of 172.20.2.0/29172.20.2.0/29

Cevap

The correct configurations are a subnet named `AzureBastionSubnet` with an address space of 172.20.1.0/26172.20.1.0/26, and a subnet named `snet-db` with an address space of 172.20.2.0/28172.20.2.0/28.
The correct subnet configurations are the subnet named `AzureBastionSubnet` with a /26/26 prefix and the subnet named `snet-db` with a /28/28 prefix. Azure Bastion enforces a strict naming requirement of `AzureBastionSubnet` and a minimum prefix size of `/26`. For the database subnet, hosting 1111 servers requires at least 1616 total IP addresses because Azure reserves 5 IP addresses in every subnet. A /28/28 prefix provides exactly 1616 addresses, leaving 1111 usable, which satisfies the host requirement while minimizing address space consumption.

Adım Adım Çözüm

1
Determine the naming and sizing requirements for the Azure Bastion subnet.
Azure Bastion requires a dedicated subnet named exactly `AzureBastionSubnet` with a minimum prefix size of `/26` (6464 IP addresses). Therefore, `AzureBastionSubnet` with a /26/26 prefix is required.
Azure enforces strict naming and a minimum prefix size of `/26` for Bastion deployments.
2
Calculate the required number of IP addresses for the database subnet.
To support 1111 database servers, we must account for the 5 IP addresses reserved by Azure in every subnet. The total required IP addresses is 11+5=1611 + 5 = 16.
Azure reserves the first four IP addresses and the last IP address (broadcast) in every subnet.
3
Determine the smallest subnet prefix that can accommodate at least 1616 total IP addresses.
A /28/28 prefix provides exactly 1616 IP addresses (23228=162^{32-28} = 16), which results in 165=1116 - 5 = 11 usable IP addresses. A /29/29 prefix only provides 88 total IP addresses (33 usable). Therefore, `snet-db` must use a /28/28 prefix.
Using a /28/28 prefix minimizes the allocated address space while still satisfying the requirement for 1111 usable host addresses.

Anahtar Kavram

Subnet sizing and naming requirements in Azure, including reserved IP addresses and service-specific subnet constraints.
Bu soruyu puanla