exam questions

Exam AZ-700 All Questions

View all questions & answers for the AZ-700 exam

Exam AZ-700 topic 1 question 11 discussion

Actual exam question from Microsoft's AZ-700
Question #: 11
Topic #: 1
[All AZ-700 Questions]

HOTSPOT -
You have the Azure environment shown in the exhibit.

You have virtual network peering between Vnet1 and Vnet2. You have virtual network peering between Vnet4 and Vnet5. The virtual network peering is configured as shown in the following table.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Yes -
Virtual network peering seamlessly connects two Azure virtual networks, merging the two virtual networks into one for connectivity purposes. Gateway transit is a peering property that lets one virtual network use the VPN gateway in the peered virtual network for cross-premises or VNet-to-VNet connectivity.
The following diagram shows how gateway transit works with virtual network peering.

In the diagram, gateway transit allows the peered virtual networks to use the Azure VPN gateway in Hub-RM. Connectivity available on the VPN gateway, including S2S, P2S, and VNet-to-VNet connections, applies to all three virtual networks.
In hub-and-spoke network architecture, gateway transit allows spoke virtual networks to share the VPN gateway in the hub, instead of deploying VPN gateways in every spoke virtual network.

Box 2: Yes -
VM2 uses the remote gateway GW1 to reach VM4.

Box 3: No -
VM2 can reach VM4 through GW1, but not VM5 as VNEt1 does not use remote Gateways.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-peering-gateway-transit https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-troubleshoot-peering-issues

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
[Removed]
Highly Voted 2 years, 2 months ago
YYY / tested in lab VM1 and VM5 can communicate. 'Traffic to remove virtual network : Block' setting in Vnet5 does not block communication between VM5 and GW4, while it blocks communication between VM5 and VM4.
upvoted 29 times
Aiwa23
2 years, 2 months ago
it blocks communication from VNET5 to VNET4 but allows VNET4 to VNET5
upvoted 7 times
[Removed]
2 years, 2 months ago
That's not true. 'Block' option is about NSG's VirtualNetwork tag whether it contains network address of Vnet4 or not. When you choose 'block' and create security rules on VM5's NSG, VM5 still can communicate with resources in Vnet4.
upvoted 2 times
A_way
2 years, 2 months ago
Could you pls clarify? This is referring the vnet peering settings not NSG
upvoted 6 times
dani999
1 year, 10 months ago
Microsoft: NOTE: Selecting the Block all traffic to remote virtual network setting only changes the definition of the VirtualNetwork service tag. It doesn't fully prevent traffic flow across the peer connection, as explained in this setting description.
upvoted 3 times
...
...
...
Pratheeshp
1 year, 6 months ago
How about the the return traffic VNET5 to VNET4 ?
upvoted 2 times
...
...
...
Alessandro365
Highly Voted 2 years, 2 months ago
YYY, tested in lab. vnet5 peering is disabled, but remote gateway is enabled, allowing the vm5 to be accessed from other vnets. Only VM4 cannot access VM5 (peering blocked). Note that BGP needs to be configured, user routes does not work.
upvoted 11 times
...
Hullstar
Most Recent 7 months, 1 week ago
there isn't a peering configuration for VNet3 and the default is not to allow. Wouldn't the answer be NYN
upvoted 1 times
...
sam881989
10 months, 3 weeks ago
The answer is correct it is YYN tested in lab! The remote gateway and allow gateway transit only applies to Vnet peering in this case between Vnet 2 and Vnet 1, and another is between Vnet 4 and Vnet 5. Because the connection between the Vnet 1, 3, and 4 is using BGP no option to set remote gateway and transit gateway. All the routes are forwarded to Vnet 2 and Vnet 5 but because Vnet 5 is blocking the traffic to Vnet 4 VM1 can't reach VM5 but rest all can reach each other.
upvoted 6 times
...
Opala79
11 months, 3 weeks ago
I think it would be NNN because the option "Use remote gateway" of VNET 1 is disabled, someone disagrees ?
upvoted 3 times
Aydin
7 months, 1 week ago
I think so
upvoted 1 times
...
lvz
8 months, 2 weeks ago
I think this should be the answer. Someone need to confirm.
upvoted 1 times
...
...
Verytutos
1 year, 2 months ago
Appeared on Exam 05 Sep 2023
upvoted 3 times
...
Oklama
1 year, 6 months ago
YYY is correct
upvoted 1 times
...
arnaudhelin
1 year, 8 months ago
Hi everyone, I tried a lot of configuration to test the last point. With wireshark on both sides, and traffic flow always on (ping and http request), the result is quite clear even if it is not logical at the first look. When you choose the option BLOCK on one side, the entire communication is blocked. If you want to have the "expected" behavior (vm4 to vm5 ok but not the other way), you must set a NSG with an explicit rule wich allows the traffic.
upvoted 7 times
lvz
8 months, 2 weeks ago
so what is your find man?
upvoted 2 times
...
...
mm2
1 year, 10 months ago
YYY: for 3rd: - Select Block all traffic to the remote virtual network if you don't want traffic to flow to the peered virtual network by default. You can select this setting if you have peering between two virtual networks but occasionally want to disable default traffic flow between the two. You may find enabling/disabling is more convenient than deleting and re-creating peerings. When this setting is selected, traffic doesn't flow between the peered virtual networks by default; however, traffic may still flow if explicitly allowed through a network security group rule that includes the appropriate IP addresses or application security groups.
upvoted 2 times
[Removed]
1 year, 7 months ago
When this setting is selected, traffic doesn't flow between the peered virtual networks by default; however, traffic may still flow if explicitly allowed through a network security group rule that includes the appropriate IP addresses or application security groups. There is no point to NSG so i think 3rd is NO
upvoted 3 times
...
...
tester2023
1 year, 10 months ago
YYN To test the 'block' on the peering between vNet4 and vNet5 I did the following: Deployed two vNets. On the second vNet, I selected the "Block all traffic to the remote virtual network" and the Portal displays "Resources in vnet-2 cannot communicate to resources in the vnet-1" When I do a Connection Troubleshoot test, it fails with "Traffic blocked due to the following network security group rule: DefaultRule_DenyAllInBound". When I set the peering setting to "Allow (default)", the Connection Troubleshoot is successful.
upvoted 6 times
asdasd123123iu
1 year, 4 months ago
Agree. We don't have an information that traffic between vm5 and remote networks has been allowed on NSG so by default it will be blocked.
upvoted 1 times
...
...
mauchi
1 year, 10 months ago
To me YYN seems correct. I think the last option is a NO, bc the statement says "VM1 and VM5 can communicate" to me it implies a bidirectional communication. And the table states that Vnet 5 blocks traffic going to a differnt vnet, such as vnet1, thus (bidirectional) communication between them its not possible.
upvoted 6 times
...
TJ001
1 year, 10 months ago
YYY seems right
upvoted 1 times
...
MyPractice
1 year, 11 months ago
This came in Dec 2022
upvoted 1 times
...
geuser
1 year, 12 months ago
I say YYN No becuase: Select Block all traffic to the remote virtual network if you don't want traffic to flow to the peered virtual network by default. You can select this setting if you have peering between two virtual networks but occasionally want to disable default traffic flow between the two. You may find enabling/disabling is more convenient than deleting and re-creating peerings.
upvoted 4 times
...
Takloy
2 years ago
YYY For the 3rd question, if you read carefully and look closely to the chart, it means Traffic to remote network from VNET5. Meaning, From VNET5 to any of the remote networks will be blocked but not inbound. This is why the answer is Yes.
upvoted 2 times
...
GokuSS
2 years, 1 month ago
YYN, for 3rd questions, does this explanation makes sense? "VM1 can reach VM4 through GW1, but not VM5 as VNEt1 does not use remote Gateways."
upvoted 1 times
...
ACSlearning1
2 years, 1 month ago
How can "VM1 and VM5 can communicate" be yes if "use remote gateway" is set to none on vnet1?
upvoted 1 times
TJ001
1 year, 10 months ago
that is only for peering not for BGP
upvoted 1 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 ...