You are planning the deployment of a new virtual network named `vnet-corporate` in an Azure subscription. The virtual network is configured with the address space . You must create subnets within the virtual network to meet the following requirements:
- Deploy Azure Bastion to allow secure administrative access to virtual machines.
- Create a subnet named `snet-web` that supports at least usable host IP addresses.
- Create a subnet named `snet-db` that supports at least usable host IP addresses.
You need to configure the subnet names and IP address prefixes to satisfy these requirements while minimizing address waste. Which subnet configuration should you use?
- AAzureBastionSubnet: ; snet-web: ; snet-db:
- AzureBastionSubnet: ; snet-web: ; snet-db: Cevap
- Csnet-bastion: ; snet-web: ; snet-db:
- DAzureBastionSubnet: ; snet-web: ; snet-db:
Cevap
The configuration allocating AzureBastionSubnet as , snet-web as , and snet-db as is correct because it satisfies the name and size requirements for Azure Bastion, accounts for the reserved IP addresses in Azure subnets, and avoids subnet overlaps.
The correct configuration uses the exact name `AzureBastionSubnet` with a prefix, satisfying Azure Bastion requirements. It allocates a prefix for `snet-web` (providing usable IPs, which is the smallest prefix satisfying the host requirement) and a prefix for `snet-db` (providing usable IPs, which is the smallest prefix satisfying the host requirement) without overlapping any address ranges.
Adım Adım Çözüm
Anahtar Kavram
Azure virtual network subnets require specific planning for reserved addresses (first four and last one) and service-specific subnets (such as Azure Bastion requiring exactly AzureBastionSubnet with a minimum size of /26).
Tahmini Süre:1m 30s