exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 5 question 97 discussion

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

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

Subscription1 contains a virtual network named VNet1 that has the subnets in the following table:

VM3 has multiple network adapters, including a network adapter named NIC3. IP forwarding is enabled on NIC3. Routing is enabled on VM3.
You create a route table named RT1 that contains the routes in the following table:

You apply RT1 to Subnet1 and Subnet2.
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:
IP forwarding enables the virtual machine a network interface is attached to:
✑ Receive network traffic not destined for one of the IP addresses assigned to any of the IP configurations assigned to the network interface.
Send network traffic with a different source IP address than the one assigned to one of a network interface's IP configurations.

The setting must be enabled for every network interface that is attached to the virtual machine that receives traffic that the virtual machine needs to forward. A virtual machine can forward traffic whether it has multiple network interfaces or a single network interface attached to it.

Box 1: Yes -
The routing table allows connections from VM3 to VM1 and VM2. And as IP forwarding is enabled on VM3, VM3 can connect to VM1.

Box 2: No -
VM3, which has IP forwarding, must be turned on, in order for VM2 to connect to VM1.

Box 3: Yes -
The routing table allows connections from VM1 and VM2 to VM3. IP forwarding on VM3 allows VM1 to connect to VM2 via VM3.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview https://www.quora.com/What-is-IP-forwarding

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
klexams
Highly Voted 2 years, 4 months ago
Y = RT is not applied to VM3. VM3 will have the default route between subnets in a vnet. N = VM2 > Subnet2 has RT applied to it. VM3 is the next hop which is turned off. Y = VM3 has has IP forwarding enabled which can fwd traffic from VM1 to VM2.
upvoted 60 times
...
sjb666
Highly Voted 2 years, 10 months ago
I believe this is correct. Ordinarily all three should be able to speak to each other as they're all subnets within the same VNet. However, the route table directs them to the machine that is switched off, thus breaking contact. Answer is correct
upvoted 22 times
Mev4953
2 years, 5 months ago
Agree.
upvoted 3 times
...
ExamKiller020
1 year, 6 months ago
This is the comment that I was looking for
upvoted 3 times
...
...
adham15
Most Recent 4 months ago
arent they all in same VNET so its by default connection is allowed??
upvoted 1 times
...
[Removed]
5 months, 1 week ago
CORRECT
upvoted 4 times
...
mkhlszf
10 months, 1 week ago
Answers are correct, for the second one: "When you create a route table and associate it to a subnet, the table's routes are combined with the subnet's default routes. If there are conflicting route assignments, user-defined routes override the default routes." https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview
upvoted 1 times
...
tashakori
11 months, 2 weeks ago
Correct
upvoted 1 times
...
zellck
2 years ago
YNY is the answer. https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface?tabs=network-interface-portal#enable-or-disable-ip-forwarding
upvoted 8 times
...
martin_k1
2 years, 5 months ago
Y N Y if UDR was not set, connectivity between three VMs would work by default. 1) With UDR, it still works, but return traffic from VM1 and VM2 to VM3 goes straight to VM3 instead of subnet gateway (which is one of reserverd subnet IPs) 2) and 3) are clear.
upvoted 14 times
...
mbaybarsk
2 years, 10 months ago
N/N/Y VM3 subnet does not have a route for VM1 subnet. The default route drops packets that belong to 10.0.0.0/8 -> No https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview VM2 cannot connect to VM1 because the router (VM3) is offline -> No VM1 can connect to VM2 as there's a routing table -> Yes
upvoted 4 times
pythonier
2 years, 6 months ago
Y/N/Y - VM3 is on the same VNET as VM2 and VM1, therefore, no routes are needed
upvoted 17 times
...
Babushka
2 years, 4 months ago
What pythonier said, because UDR is only applied to subnet 1 & 2.
upvoted 1 times
...
...
WindowAFX
2 years, 10 months ago
Correct I believe this to be correct
upvoted 6 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