Your company has an Azure subscription that contains a virtual network named `VNet1` in the East US region. `VNet1` is configured with the address space of ``. You plan to deploy the following resources to `VNet1`:
- An Azure Bastion host to provide secure administrative access to your virtual machines.
- A web application tier that requires at least `` usable IP addresses.
You need to configure the subnets for these resources while minimizing the allocated address space for each subnet. Which two of the following subnet configurations should you recommend? (Select two.)
- `AzureBastionSubnet` with an address space of ``Answer
- `subnet-web` with an address space of ``Answer
- C`BastionSubnet` with an address space of ``
- D`AzureBastionSubnet` with an address space of ``
- E`subnet-web` with an address space of ``
Answer
To support the requirements while minimizing address space, you must configure `AzureBastionSubnet` with an address space of `` and `subnet-web` with an address space of ``.
The correct configurations are to use the naming convention `AzureBastionSubnet` with a minimum prefix of `` for Azure Bastion, and `subnet-web` with a `` prefix for the web application. A `` subnet allocates `` total addresses, which yields exactly the required `` usable addresses after deducting the `` addresses reserved by Azure. This satisfies the host requirement while minimizing address space waste.
Step-by-Step Solution
Key Concept
Azure-specific subnet constraints require accounting for five reserved IP addresses per subnet and specific naming and minimum size prefixes for platform services like Azure Bastion.