AZ-104 Exam QuestionsBrowse all questions from this exam

AZ-104 Exam - Question 472


You have an Azure subscription that contains the virtual networks shown in the following table.

All the virtual networks are peered. Each virtual network contains nine virtual machines.

You need to configure secure RDP connections to the virtual machines by using Azure Bastion.

What is the minimum number of Bastion hosts required?

Show Answer
Correct Answer: AB

Azure Bastion can be used with Virtual Network peering, and it supports both Virtual Network peering which connects virtual networks within the same Azure region and Global Virtual Network peering which connects virtual networks across different regions. With VM peering configured, a single Bastion host can manage secure RDP or SSH connections to all virtual machines within the peered virtual networks, regardless of the region. Thus, only one Bastion host is required to securely connect to all the virtual machines across the peered virtual networks in the Azure subscription.

Discussion

17 comments
Sign in to comment
hfk2020Option: A
Sep 1, 2023

Azure Bastion and VNet peering can be used together. When VNet peering is configured, you don't have to deploy Azure Bastion in each peered VNet. This means if you have an Azure Bastion host configured in one virtual network (VNet), it can be used to connect to VMs deployed in a peered VNet without deploying an additional bastion host. For more information about VNet peering, see About virtual network peering. Azure Bastion works with the following types of peering: Virtual network peering: Connect virtual networks within the same Azure region. Global virtual network peering: Connecting virtual networks across Azure regions. Answer is A

KMOption: A
Sep 1, 2023

Answer is A. We required only one Bastion. https://learn.microsoft.com/en-us/azure/bastion/vnet-peering Azure Bastion works with the following types of peering: Virtual network peering: Connect virtual networks within the same Azure region. Global virtual network peering: Connecting virtual networks across Azure regions.

MentalTreeOption: B
Dec 8, 2023

B. 3 Explanation: Azure Bastion and VNet peering can be used together. When VNet peering is configured, you don't have to deploy Azure Bastion in each peered VNet. This means if you have an Azure Bastion host configured in one virtual network (VNet), it can be used to connect to VMs deployed in a peered VNet without deploying an additional bastion host. For more information about VNet peering, see About virtual network peering. Azure Bastion works with the following types of peering: Virtual network peering: Connect virtual networks within the same Azure region. Global virtual network peering: Connecting virtual networks across Azure regions. The question states that VNET peering is enabled, NOT Global VNET peering, thus you need a bastion host in each region.

MentalTree
Dec 8, 2023

Source: https://learn.microsoft.com/en-us/azure/bastion/vnet-peering

ValB
Dec 27, 2023

Doesn't the very fact that a vnet in one region is peered to vnets in ither regions mean that global peering is effectively used? Otherwise you could not pair vnets in different regions!

amsioso
Dec 29, 2023

YES "All the virtual networks are peered." So we have Global virtual network peering-> Answer A-> 1 Bastion

BluAlienOption: B
Mar 12, 2024

This is a tricky question because the answer depends also from the bastion capacity/sky and concurrent connection. When you configure Azure Bastion using the Basic SKU, two instances are created. If you use the Standard SKU, you can specify the number of instances (with a minimum of two instances). This is called host scaling. Each instance can support 20 concurrent RDP connections and 40 concurrent SSH connections for medium workloads. So... 10Vnet x 9VM = 90/20 concurrent sessions = 4,5/2 bastion instances = 2,25 = 3 this should be the minimum number. https://learn.microsoft.com/en-us/azure/bastion/configuration-settings#instance

BluAlien
Mar 12, 2024

Peering is a tricky, it's correct choosing A because all the Vnet are peared but it would be the correct answer only if bastion capacity was minimum 90 session per host.

metzger
Apr 1, 2024

Who said we need concurrent connections to all VMs? There may be just 1 user for all these 90 VMs, e.g. when they host some web app, and we may only need a single connection at the time e.g. when some troubleshooting is needed and the admin needs to connect to one of the VMs.

murtazad52Option: A
Dec 26, 2023

Only below region Azure Bastion is allowed Azure Bastion is available in any of these regions via the Azure portal: West US East US West Europe South Central US Australia East Japan East

23169fdOption: B
Jun 6, 2024

Azure Bastion is a regional service, meaning it needs to be deployed in each Azure region where you want to use it. VNet peering across regions does not extend Bastion access to other regions.

op22233Option: A
Apr 26, 2024

Azure Bastion and VNet peering can be used together. When VNet peering is configured, you don't have to deploy Azure Bastion in each peered VNet. This means if you have an Azure Bastion host configured in one virtual network (VNet), it can be used to connect to VMs deployed in a peered VNet without deploying an additional bastion host. For more information about VNet peering,

op22233
Apr 26, 2024

https://learn.microsoft.com/en-us/azure/bastion/vnet-peering

WeepingMaplteOption: A
May 22, 2024

Azure Bastion and Virtual Network peering can be used together. Reference: https://learn.microsoft.com/en-us/azure/bastion/vnet-peering

MrTheoDaProphetOption: A
Dec 11, 2023

I think its A. Explanation: Azure Bastion and VNet peering can be used together. When VNet peering is configured, you don't have to deploy Azure Bastion in each peered VNet. This means if you have an Azure Bastion host configured in one virtual network (VNet), it can be used to connect to VMs deployed in a peered VNet without deploying an additional bastion host. Reference: https://learn.microsoft.com/en-us/azure/bastion/vnet-peering

Jacky_examOption: D
Dec 21, 2023

When VNet peering is configured, Azure Bastion can be deployed in hub-and-spoke or full-mesh topologies. Azure Bastion deployment is per virtual network, not per subscription/account or virtual machine. As its a full mesh connection. And there are 10 VNet. It should have 10.

MatAlvesOption: A
Feb 7, 2024

Answer is either 1 or 3 (if we consider it's NOT Global Network Peering): "Azure Bastion works with the following types of peering: Virtual network peering: Connect virtual networks within the same Azure region. Global virtual network peering: Connecting virtual networks across Azure regions." https://learn.microsoft.com/en-us/azure/bastion/vnet-peering

TSKARANOption: A
Mar 3, 2024

Does Azure Bastion support Virtual WAN? Yes, you can use Azure Bastion for Virtual WAN deployments. However, deploying Azure Bastion within a Virtual WAN hub isn't supported. You can deploy Azure Bastion in a spoke virtual network and use the IP-based connection feature to connect to virtual machines deployed across a different virtual network via the Virtual WAN hub. If the Azure Virtual WAN hub will be integrated with Azure Firewall as a Secured Virtual Hub, the AzureBastionSubnet must reside within a Virtual Network where the default 0.0.0.0/0 route propagation is disabled at the virtual network connection level.

TSKARAN
Mar 3, 2024

When VNet peering is configured, Azure Bastion can be deployed in hub-and-spoke or full-mesh topologies. Azure Bastion deployment is per virtual network, not per subscription/account or virtual machine. Once you provision the Azure Bastion service in your virtual network, the RDP/SSH experience is available to all your VMs in the same VNet and peered VNets. This means you can consolidate Bastion deployment to single VNet and still reach VMs deployed in a peered VNet, centralizing the overall deployment.

Amir1909Option: A
Mar 21, 2024

A is correct

090200fOption: A
Jun 14, 2024

answer is A: 1, key point is all the vnets are peered and bastion works as Virtual network peering: Connect virtual networks within the same Azure region. Global virtual network peering: Connecting virtual networks across Azure regions.

SofiaLoreanOption: A
Jun 17, 2024

Answer - 1 · Azure Bastion and VNet peering can be used together. · When VNet peering is configured, you don’t have to deploy Azure Bastion in each peered VNet. This means if you have an Azure Bastion host configured in one virtual network (VNet), it can be used to connect to VMs deployed in a peered VNet without deploying an additional bastion host.

HabumaizerOption: A
Jun 18, 2024

If you have multiple VNets within the same region, use VNet peering to allow a single Bastion instance in that region to access VMs across those peered VNets.

blejzer2Option: A
Jul 17, 2024

On the exam on 17.07.2024, Selected Answer: A; thanks to hfk2020