exam questions

Exam AZ-303 All Questions

View all questions & answers for the AZ-303 exam

Exam AZ-303 topic 5 question 7 discussion

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

HOTSPOT -
You have an Azure subscription named Subscription1. Subscription1 contains the virtual networks in the following table:

Subscription1 contains the virtual machines in the following table:

The firewalls on all the virtual machines are configured to allow all ICMP traffic.
You add the peerings in the following table:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
VM1 on VNet1 can ping VM3 on VNet3 as VNet1 and VNet3 are peered.
VM2 onVNet2 can ping VM3 on VNet3 as VNet2 and VNet3 are peered.
VM2 cannot ping VM1 as there is not peering between VNet2 and VNet1.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/tutorial-connect-virtual-networks-portal

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
rekamoments
Highly Voted 4 years, 7 months ago
Answer should be yes, no, no. To be able to ping machines, the peering should be 2 way and not 1 way, so between vm1 and vm2 the peering is 2 way, but between vm2 and vm3 the peering is one way only.
upvoted 75 times
QiangQiang
4 years, 3 months ago
Agreed, it should be Yes, No, NO. the peering between vnet2 and vent3 doesn't work as only one peering link created.
upvoted 5 times
...
Lbaz
4 years, 6 months ago
you are confusing me Dx , i suppose when you are creating a peering is mandatory to create the back peering from the secondary VNET https://docs.microsoft.com/en-us/azure/virtual-network/tutorial-connect-virtual-networks-portal
upvoted 3 times
securitynija
4 years, 5 months ago
I think the given answer is correct, Yes Yes No
upvoted 5 times
...
...
arpitmehra0
4 years, 5 months ago
It's not possible to create vnet peering one way.
upvoted 8 times
leeuw86
4 years, 5 months ago
With Powershell, it is possible: https://docs.microsoft.com/en-us/powershell/module/az.network/add-azvirtualnetworkpeering?view=azps-5.5.0#example-1--create-a-peering-between-two-virtual-networks-in-the-same-region
upvoted 4 times
...
...
a_r_c
4 years, 3 months ago
Given answer should be correct as VNET1 & 2 doesn't have any peering and nothing works in transitive manner!
upvoted 3 times
...
...
dtodorov
Highly Voted 4 years, 3 months ago
Just tested it answer is correct! Yes, Yes, No.
upvoted 66 times
gssd4scoder
4 years, 2 months ago
hundred percent agree
upvoted 6 times
...
shaktiprasad88
3 years, 5 months ago
It's wrong. As per MSDOC - "A bidirectional link must be created in order to establish a successful connection. For example, to peer VNet A to VNet B, a link must be created from VNetA to VNetB and from VNetB to VNetA. Creating both links will change the state to Connected." https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq
upvoted 1 times
...
...
[Removed]
Most Recent 3 years, 5 months ago
Given answer is correct Y Y N
upvoted 1 times
...
ERROR505
3 years, 6 months ago
It is YNN. As stated in QA here https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq If your peering connection is in an Initiated state, this means you have created only one link. A bidirectional link must be created in order to establish a successful connection. For example, to peer VNet A to VNet B, a link must be created from VNetA to VNetB and from VNetB to VNetA. Creating both links will change the state to Connected.
upvoted 1 times
...
MayilKannan
3 years, 6 months ago
It must be Y-N-N. The VNET2 is connected only one-way to VNET3, hence it will not be 'Connected', but just 'Initiated'. To highlight this 2 way connection, VNET1 and VNET3 connections are shown in the table. https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#my-vnet-peering-connection-is-in-initiated-state-why-cant-i-connect
upvoted 3 times
...
banto
3 years, 6 months ago
there is No one-way peering as such. It is connected or not. Question is bit ambiguous. as long as it is connected then it is bidirectional. So assuming VM2 and VM3 are connected then answer is YYN.
upvoted 2 times
Richard_M
3 years, 4 months ago
The prompt clearly indicates that VNET2 and VNET3 are only peered one way. Since there is no VNET3 VNET2 peering, answer is Y-N-N. You can't assume what is not provided in the question prompt.
upvoted 2 times
...
...
Whitesec
3 years, 7 months ago
Yes, no, no - tested in lab. @ rekamoments is correct
upvoted 2 times
...
Vighnu
3 years, 7 months ago
YES NO NO Tested in Lab https://docs.microsoft.com/en-us/azure/virtual-network/tutorial-connect-virtual-networks-powershell Follow the steps in the link "...In the output returned after the previous command executes, you see that the PeeringState is Initiated." ... Resources in one virtual network CANNOT communicate with resources in the other virtual network until the PeeringState for the peerings in both virtual networks is Connected.
upvoted 4 times
...
Noexperience
3 years, 7 months ago
The given answer is correct and don't confuse others.
upvoted 2 times
...
donathon
3 years, 8 months ago
vNET peering is not transitive. https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#if-i-peer-vneta-to-vnetb-and-i-peer-vnetb-to-vnetc-does-that-mean-vneta-and-vnetc-are-peered
upvoted 1 times
...
poplovic
3 years, 9 months ago
I am horrified to know someone claimed they did the test but with the wrong answer. REALLY? COME ON! YES NO NO. SEE https://azure.microsoft.com/en-au/updates/cross-aad-vnet-peering/ In the output returned after the previous command executes, you see that the PeeringState is Initiated. The peering remains in the Initiated state until you create the peering from myVirtualNetwork2 to myVirtualNetwork1. Create a peering from myVirtualNetwork2 to myVirtualNetwork1. In the output returned after the previous command executes, you see that the PeeringState is Connected. Azure also changed the peering state of the myVirtualNetwork1-myVirtualNetwork2 peering to Connected. Confirm that the peering state for the myVirtualNetwork1-myVirtualNetwork2 peering changed to Connected with Get-AzVirtualNetworkPeering.
upvoted 5 times
...
JeremyRui
3 years, 9 months ago
I think it should be YYN. ICMP is enabled. Unlike the Internet Protocol (IP), ICMP is not associated with a transport layer protocol such as TCP or UDP. This makes ICMP a connectionless protocol: one device does not need to open a connection with another device before sending an ICMP message.
upvoted 2 times
...
waqas
3 years, 10 months ago
YYN. Second option can be No only in case of Vnet-Vnet peering. Now a days Vnet peering is used instead of Vnet-Vnet peering, hence we will go for Yes in 2nd option as well. So answer is YYN.
upvoted 2 times
...
tteesstt
3 years, 11 months ago
> VM1 -> VM3 > VM2 -> VM3 > VM3 -> VM1 VM1 and VM3 has two way peering. VM2 and VM3 has one way peering. Y/N/N. Of course, you have to use Powershell or CLI to establish 1 way peering - not possible via Azure Portal.
upvoted 4 times
...
syu31svc
3 years, 11 months ago
Yes Yes No is correct You just need to set up peering in either VNet and the connection will be established; no need to duplicate the effort for the other VNet https://docs.microsoft.com/en-us/azure/virtual-network/tutorial-connect-virtual-networks-portal
upvoted 5 times
...
prophaner
4 years ago
YYN https://docs.microsoft.com/en-us/azure/virtual-network/tutorial-connect-virtual-networks-portal
upvoted 1 times
...
battleneter
4 years ago
Its YNN and here is why, but probably old question It "specifically" lists 1& 3 in both directions. If all peers were "assumed" to be bi directional there would be no need to list 1-3 and then 3-1, thus bi directional is not assumed here, what you see is what you get.
upvoted 8 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 ...