Your company has an Azure subscription containing a resource group named RG1. You plan to deploy a new virtual network named VNet1 in RG1. VNet1 will use the address space.
You need to configure subnets within VNet1 to support the following requirements:
- Subnet-Web: Must support at least virtual machines.
- Azure Bastion: Must be deployed to secure management access.
- VPN Gateway: Must be deployed to support hybrid connectivity.
To conserve IP addresses for future subnets, you must minimize the address space allocated to each subnet.
Which subnet configuration should you use?
- Subnet-Web: 10.1.0.0/24; AzureBastionSubnet: 10.1.1.0/26; GatewaySubnet: 10.1.1.64/29Answer
- BSubnet-Web: 10.1.0.0/25; AzureBastionSubnet: 10.1.0.128/26; GatewaySubnet: 10.1.0.192/29
- CSubnet-Web: 10.1.0.0/24; AzureBastionSubnet: 10.1.1.0/27; GatewaySubnet: 10.1.1.32/29
- DSubnet-Web: 10.1.0.0/24; AzureBastionSubnet: 10.1.1.0/26; GatewaySubnet: 10.1.1.64/30
Answer
Subnet-Web: 10.1.0.0/24; AzureBastionSubnet: 10.1.1.0/26; GatewaySubnet: 10.1.1.64/29
The subnet configuration with Subnet-Web as 10.1.0.0/24, AzureBastionSubnet as 10.1.1.0/26, and GatewaySubnet as 10.1.1.64/29 is correct because it satisfies all size and host requirements without any overlapping ranges. The Web subnet provides usable IP addresses ( reserved) which meets the host requirement. The Bastion subnet meets the minimum requirement, and the VPN Gateway subnet meets the minimum requirement.
Step-by-Step Solution
Key Concept
Azure Subnet sizing requirements and reserved IP addresses
Estimated Time:2m 0s