An administrator needs to configure secure administrative access to virtual machines in a virtual network named `VNet-Secure`. The virtual network currently contains a single workload subnet and no other resources. The administrator plans to secure the Bastion subnet with a Network Security Group (NSG).
What is the correct sequence of steps to configure the virtual network environment and establish a secure connection using Azure Bastion?
- 1Create a subnet named `AzureBastionSubnet` with an address space of at least inside the virtual network.
- 2Associate a Network Security Group (NSG) configured with the required inbound and outbound Bastion rules to the `AzureBastionSubnet`.
- 3Deploy the Azure Bastion host resource in the `AzureBastionSubnet` using a Standard SKU public IP address.
- 4Navigate to the target virtual machine in the Azure portal and initiate a secure RDP or SSH connection through the browser.
Answer
To configure and use Azure Bastion, first create the dedicated `AzureBastionSubnet` with a prefix of at least . Next, configure and associate a Network Security Group (NSG) with the required inbound and outbound rules to this subnet. Then, deploy the Azure Bastion host using a Standard SKU public IP address. Finally, connect to the target virtual machine from the Azure portal.
The correct sequence begins with creating the dedicated `AzureBastionSubnet` with a prefix of or larger. Before deploying the Bastion host, any associated Network Security Group (NSG) must be configured with the mandatory rules (such as inbound HTTPS from GatewayManager) and linked to the subnet to pass deployment validation. Once the network infrastructure is ready, the Azure Bastion host is deployed using a Standard SKU public IP. Finally, the administrator can initiate a secure RDP or SSH session to target virtual machines.
Step-by-Step Solution
Key Concept
Deploying Azure Bastion requires a dedicated subnet named exactly `AzureBastionSubnet` with a prefix of or larger. If a Network Security Group (NSG) is associated with this subnet, it must contain specific mandatory rules (such as allowing HTTPS from GatewayManager inbound) to pass deployment validation. The Bastion host also requires a Standard SKU public IP address.
Estimated Time:2m 0s