Your company has an Azure environment with a virtual network named `vnet-hybrid-prod` that has an address space of . The virtual network contains an existing subnet named `snet-db` with an address range of .
You plan to deploy a VPN Gateway and a new application cluster to `vnet-hybrid-prod`. You must satisfy the following requirements:
- The VPN Gateway must be deployed to a subnet named `GatewaySubnet`.
- The application cluster will consist of 27 virtual machines that require individual private IP addresses.
- You must minimize IP address waste.
Which two subnets should you create to meet the requirements? (Choose two.)
- snet-application with the address range Answer
- GatewaySubnet with the address range Answer
- Csnet-application with the address range
- Dsnet-application with the address range
- EGatewaySubnet with the address range
Answer
The correct subnets are 'snet-application with the address range ' and 'GatewaySubnet with the address range '.
To host 27 virtual machines, a subnet must support at least 27 usable IP addresses. Since Azure reserves 5 IP addresses per subnet, the total addresses needed is , which corresponds to a /27 prefix. The option with 'snet-application with the address range ' satisfies this without overlapping with the existing subnet. Furthermore, the option with 'GatewaySubnet with the address range ' is correct because Azure requires the GatewaySubnet to use a prefix size of /29 or larger, and it does not overlap with the other subnets.
Step-by-Step Solution
Key Concept
Determining Azure subnet sizes based on usable host requirements (accounting for the 5 reserved IP addresses) and satisfying specialized subnet constraints (such as GatewaySubnet size limits) without IP overlaps.