Soru

Zorluk: ZorCreate and Configure Virtual Networks and Subnets

An administrator is configuring a new virtual network named `vnet-prod` in an Azure subscription. The virtual network is assigned the address space 10.15.4.0/2210.15.4.0/22. The administrator must create the following subnets:

* A subnet named `Subnet-App` to host up to 125125 virtual machines.
* A subnet to support an Azure Bastion host.
* A subnet named `GatewaySubnet` to support a VPN Gateway.

To conserve IP addresses for future expansion, the administrator wants to allocate the minimum required address space to each subnet. Which configuration of subnet prefix lengths should the administrator use?

  1. A
    /25/25 for `Subnet-App`, /26/26 for `AzureBastionSubnet`, and /29/29 for `GatewaySubnet`
  2. /24/24 for `Subnet-App`, /26/26 for `AzureBastionSubnet`, and /29/29 for `GatewaySubnet`Cevap
  3. C
    /24/24 for `Subnet-App`, /27/27 for `AzureBastionSubnet`, and /29/29 for `GatewaySubnet`
  4. D
    /24/24 for `Subnet-App`, /26/26 for `AzureBastionSubnet`, and /30/30 for `GatewaySubnet`

Cevap

The configuration using /24/24 for `Subnet-App`, /26/26 for `AzureBastionSubnet`, and /29/29 for `GatewaySubnet`.
The correct configuration uses /24/24 for `Subnet-App` (providing 251251 usable addresses, which accommodates the required 125125 hosts after subtracting the 55 Azure reserved IP addresses), /26/26 for `AzureBastionSubnet` (meeting the minimum prefix requirement of /26/26 for Azure Bastion hosts), and /29/29 for `GatewaySubnet` (meeting the minimum prefix requirement of /29/29 for Azure VPN Gateways).

Adım Adım Çözüm

1
Calculate the size required for `Subnet-App`.
/24/24 subnet prefix.
To host 125125 virtual machines, the subnet must also accommodate the 55 IP addresses reserved by Azure (the first 44 and the last 11 address of the subnet). This requires a total of 125+5=130125 + 5 = 130 IP addresses. A /25/25 subnet provides 128128 IP addresses (123123 usable), which is insufficient. A /24/24 subnet provides 256256 IP addresses (251251 usable), which is the minimum sufficient size.
2
Determine the size requirement for the Azure Bastion subnet.
/26/26 subnet prefix.
Azure Bastion must be deployed in a subnet named exactly `AzureBastionSubnet` and configured with a prefix length of /26/26 or larger (e.g., /26/26, /25/25, /24/24). A /27/27 subnet is too small and is not supported.
3
Determine the size requirement for `GatewaySubnet`.
/29/29 subnet prefix.
The subnet used for an Azure Virtual Network Gateway must be named `GatewaySubnet`. It must have a minimum prefix length of /29/29 to accommodate the gateway instances and Azure's 55 reserved IPs. A /30/30 subnet is invalid as it only contains 44 total IP addresses.

Anahtar Kavram

Azure Virtual Network subnet sizing constraints, Azure reserved IP addresses, and specific subnet size requirements for Azure Bastion and VPN Gateways.
Bu soruyu puanla