An Azure subscription contains a virtual network named that has an address space of . You are configuring the subnets for this virtual network to support hybrid connectivity and a new application workload. The configuration must meet the following requirements:
- Create a subnet named to support a VPN gateway.
- Create a subnet named to host 28 virtual machines.
- Minimize the address space allocated to each subnet.
Which two subnets should you create to meet the requirements? Select two.
- with the address range Cevap
- Bwith the address range
- with the address range Cevap
- Dwith the address range
- Ewith the address range
Cevap
The correct subnets to create are GatewaySubnet with the address range 10.80.0.0/29 and snet-app with the address range 10.80.1.0/26.
The GatewaySubnet must be at least /29 to support Azure VPN Gateway. A /29 subnet is the smallest valid subnet size that meets this requirement. For the snet-app subnet, hosting 28 virtual machines requires a total of 33 IP addresses () due to the 5 IP addresses reserved by Azure in each subnet. A /27 subnet provides 32 addresses (27 usable), which is not enough. A /26 subnet provides 64 addresses (59 usable), which is the smallest subnet size that can support the workload.
Adım Adım Çözüm
Anahtar Kavram
Azure subnet sizing and IP address reservation rules, including the minimum size requirement for a GatewaySubnet and the 5 reserved IP addresses per subnet.