Question

Difficulty: Very hardCreate and Configure Virtual Networks and Subnets

An administrator is designing a new virtual network named VNet1VNet1 in an Azure subscription. The address space for VNet1VNet1 is configured as 10.12.0.0/2210.12.0.0/22. The administrator must configure the following subnets within VNet1VNet1 to meet specific workload requirements:

* `Subnet-DB` must support at least 124124 database servers.
* `Subnet-App` must support at least 2828 application servers.
* A dedicated subnet for Azure Bastion to enable secure browser-based management.
* A dedicated subnet for an Azure VPN Gateway.

To minimize IP address waste, each subnet must use the smallest possible CIDR block (largest prefix size) that meets its requirements. All subnets must be non-overlapping.

Which subnet configuration meets the requirements?

  1. Subnet-DB: 10.12.0.0/2410.12.0.0/24, Subnet-App: 10.12.1.0/2610.12.1.0/26, AzureBastionSubnet: 10.12.1.64/2610.12.1.64/26, GatewaySubnet: 10.12.1.128/2910.12.1.128/29Answer
  2. B
    Subnet-DB: 10.12.0.0/2510.12.0.0/25, Subnet-App: 10.12.0.128/2610.12.0.128/26, AzureBastionSubnet: 10.12.0.192/2610.12.0.192/26, GatewaySubnet: 10.12.1.0/2910.12.1.0/29
  3. C
    Subnet-DB: 10.12.0.0/2410.12.0.0/24, Subnet-App: 10.12.1.0/2610.12.1.0/26, AzureBastionSubnet: 10.12.1.64/2710.12.1.64/27, GatewaySubnet: 10.12.1.96/2910.12.1.96/29
  4. D
    Subnet-DB: 10.12.0.0/2410.12.0.0/24, Subnet-App: 10.12.1.0/2610.12.1.0/26, BastionSubnet: 10.12.1.64/2610.12.1.64/26, GatewaySubnet: 10.12.1.128/2910.12.1.128/29

Answer

The correct subnet configuration is Subnet-DB: 10.12.0.0/2410.12.0.0/24, Subnet-App: 10.12.1.0/2610.12.1.0/26, AzureBastionSubnet: 10.12.1.64/2610.12.1.64/26, GatewaySubnet: 10.12.1.128/2910.12.1.128/29.
The correct configuration uses Subnet-DB as 10.12.0.0/2410.12.0.0/24, Subnet-App as 10.12.1.0/2610.12.1.0/26, AzureBastionSubnet as 10.12.1.64/2610.12.1.64/26, and GatewaySubnet as 10.12.1.128/2910.12.1.128/29. It satisfies all of Azure's sizing and naming constraints: Subnet-DB requires a /24/24 block to support 124124 database servers (since a /25/25 only has 123123 usable IPs due to the 55 reserved IPs); Subnet-App requires a /26/26 block to support 2828 application servers (since a /27/27 only has 2727 usable IPs); AzureBastionSubnet has the correct name and satisfies the minimum prefix size of /26/26; GatewaySubnet has the correct name and satisfies the minimum prefix size of /29/29; and none of the subnets overlap.

Step-by-Step Solution

1
Calculate the minimum subnet size for Subnet-DB.
To support 124124 database servers, we must add Azure's 55 reserved IP addresses, totaling 129129 IP addresses. A /25/25 subnet (128128 addresses, 123123 usable) is too small, so we must use a /24/24 subnet (256256 addresses, 251251 usable).
Azure reserves the first four and the last IP address in each subnet.
2
Calculate the minimum subnet size for Subnet-App.
To support 2828 application servers, we add the 55 reserved IPs, requiring 3333 IP addresses. A /27/27 subnet (3232 addresses, 2727 usable) is too small, so we must use a /26/26 subnet (6464 addresses, 5959 usable).
Azure reserves the first four and the last IP address in each subnet.
3
Determine Azure Bastion and Gateway subnet requirements.
Azure Bastion requires the subnet name to be exactly 'AzureBastionSubnet' and the prefix size to be at least /26/26. The VPN Gateway subnet must be named 'GatewaySubnet' and must be at least /29/29.
These are Azure service-specific architecture constraints.
4
Arrange the subnets within the VNet address space without overlapping.
Aligning the subnets on valid binary boundaries: Subnet-DB at 10.12.0.0/2410.12.0.0/24, Subnet-App at 10.12.1.0/2610.12.1.0/26, AzureBastionSubnet at 10.12.1.64/2610.12.1.64/26, and GatewaySubnet at 10.12.1.128/2910.12.1.128/29. This fits within the 10.12.0.0/2210.12.0.0/22 range and has no overlaps.
Subnet ranges must be aligned with their prefix sizes and cannot share IP addresses.

Key Concept

Azure Virtual Network subnetting requires accounting for 5 reserved IP addresses per subnet and adhering to system naming and prefix requirements for special subnets such as AzureBastionSubnet (minimum /26) and GatewaySubnet (minimum /29).
Estimated Time:3m 0s
Rate this question