exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 5 question 144 discussion

Actual exam question from Microsoft's AZ-104
Question #: 144
Topic #: 5
[All AZ-104 Questions]

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



The subscription contains the virtual machines shown in the following table.



All the virtual machines have only private IP addresses.

You deploy an Azure Bastion host named Bastion1 to VNet1.

To which virtual machines can you connect through Bastion1?

  • A. VM1 only
  • B. VM1 and VM2 only
  • C. VM1 and VM3 only
  • D. VM1, VM2, and VM3
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
gcertq
Highly Voted 1 year, 8 months ago
VM1 and VM2, because they are peered.
upvoted 19 times
...
Basim1291
Highly Voted 1 year, 8 months ago
Selected Answer: B
B is correct because of peering
upvoted 7 times
...
vrm1358
Most Recent 1 month, 3 weeks ago
Selected Answer: D
Answer is D. Bastion can use peering to connect to VM's in other regions as well.
upvoted 1 times
...
Nathan12345
2 months, 2 weeks ago
Selected Answer: B
Az Bistion doesn't support traversing those connections.
upvoted 1 times
...
PMPft17
6 months, 2 weeks ago
B is correct, I had to research this. Vnet1 <---> Vnet2 ----> Vnet3. Because Vnet1 and Vnet2 are peered they can communicate using the Bastion host. Vnet 3 cannot because its not peered to Vnet 1. Azure Bastion does support Global and Regional peering so if Vnet 3 was globally peered to Vnet 1 than the answer would be all 3 VMs however, due to regional peering only, answer B is the correct choice.
upvoted 4 times
...
Dankho
6 months, 3 weeks ago
Selected Answer: B
VM1 and VM2 because they are peered
upvoted 1 times
...
[Removed]
7 months ago
Selected Answer: B
B is correct VM1 and VM2 are peers in the same region.
upvoted 1 times
...
amdxp
8 months, 3 weeks ago
Selected Answer: D
Global virtual network peering: Connecting virtual networks across Azure regions
upvoted 3 times
...
Honey918
9 months ago
Selected Answer: B
vnet1 and vnet2 are peered
upvoted 2 times
...
090200f
10 months, 3 weeks ago
answer B, Vm1 and Vm2 only bcoz vnet1 and vnet2 are peered
upvoted 2 times
...
Mahdib
1 year ago
B. Bastian doesn't support transitive peering https://stackoverflow.com/questions/69749668/is-azure-bastion-able-to-connect-via-transitive-peering
upvoted 2 times
...
Amir1909
1 year, 1 month ago
B is correct
upvoted 1 times
...
01111010
1 year, 6 months ago
Selected Answer: B
Correct answer is B (VM1 and VM2) because Bastion is deployed to VNEt1, which is peered with VNet2. D would be correct answer if Bastion was deployed in VNet2, which is not the case.
upvoted 6 times
...
peterwheat
1 year, 6 months ago
Selected Answer: B
VNet1 and VNet are peered and VNet2 and VNet3 are also peered. However VNet1 and VNet3 are not peered with each other. If gateway transit is not allowed - and it is not stated -, then there is no connection between VNet1 and VNet3. Bastion is deployed in VNet1.
upvoted 6 times
...
Tobi0815MU
1 year, 6 months ago
VM1,VM2 as Bastion does not support chained peered configuration, only HUB-Spoke ones https://learn.microsoft.com/en-us/azure/bastion/vnet-peering
upvoted 3 times
...
Vestibal
1 year, 6 months ago
Selected Answer: D
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. https://learn.microsoft.com/en-us/azure/bastion/vnet-peering
upvoted 2 times
01111010
1 year, 6 months ago
Hmm, using your quote and provided link... it can be use to connect to VMs deployed "IN PEERED VNet"....so, logically non-peered VNets = no Bastion access from VNet1, thus excluding VNet3 (and VM3). Correct answer is B (VM1 & VM2).
upvoted 1 times
...
...
ServerBrain
1 year, 7 months ago
Selected Answer: D
vm1, vm2 and vm3 because of peering
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago