exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 4 question 89 discussion

Actual exam question from Microsoft's AZ-500
Question #: 89
Topic #: 4
[All AZ-500 Questions]

HOTSPOT
-

You have an Azure subscription that contains the following Azure firewall:

• Name: Fw1
• Azure region: UK West
• Private IP address: 10.1.3.4
• Public IP address: 23.236.62.147

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



The subscription contains the subnets shown in the following table.



The subscription contains the routes shown 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.

Show Suggested Answer Hide Answer
Suggested Answer:

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
juandmi
Highly Voted 2 years, 3 months ago
Yes: Rt1 will route from Subnet1-1 to any IP (0.0.0.0/0) including Subnet2-1 to the FW (10.1.3.4) Yes: Rt3 will route from Subnet2-1 to Subnet1-1 (10.1.1.0/24) to the FW (10.1.3.4) No: There is no configured route from Subnet3-1 to the internet via FW, thus it will go directly to the internet bypassing the FW
upvoted 56 times
certma2023
1 year ago
For the first one it's NO. The default route to the FW/NVA is not used because there is a more precise route inside the vnet (with a next hop type of "Virtual Newtork") with a longer prefix (for ex. /16 ou /24). Therefore the trafic from subnet1-1 to subnet1-2 inside the vnet will bypass the FW/NVA. This can be displayed when you look at the "effective routes" inside a Network Interface. When you want the subnet 1-1 to subnet 1-2 to be routed through the firewall you must add a route for the vnet adress space that send the traffic to the firewall. With this configuration the default route to the vnet is overwrited. It's something that I've experimented multiple times when deploying NVA to Azure (Palo Alto or Fortigate). You should have the same behaviour with Azure Firewall.
upvoted 4 times
Pamban
1 year ago
Agree with you my man(@certma2023)!!! I have done the same deployment with Palo Alto and faced this issue. without directing vnet address space to NVA, effective routes won;t be overwritten!! so 1st one is NO. THIS IS VERY SPECIFIC REAL-TIME CASE AND ONLY AZURE NETWORK ENGINEERS KNOWS EXACTLY :D :D
upvoted 3 times
...
...
heatfan900
1 year, 9 months ago
EXACTLY.
upvoted 1 times
...
...
Ajdlfasudfo0
Highly Voted 2 years, 3 months ago
it's YYN
upvoted 10 times
...
datz
Most Recent 11 months ago
NYN 1st inter VNET Connection will take priority over default route. 2 nd yes, as there is /24 route to the subnet forwarding to NVA(Firewall) 3rd there is no default route looking towards NVA (Firewall)
upvoted 5 times
...
Pamban
1 year ago
First one should be NO Link: https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview
upvoted 2 times
...
wardy1983
1 year, 5 months ago
Explanation: Yes: Rt1 will route from Subnet1-1 to any IP (0.0.0.0/0) including Subnet2-1 to the FW (10.1.3.4) Yes: Rt3 will route from Subnet2-1 to Subnet1-1 (10.1.1.0/24) to the FW (10.1.3.4) No: There is no configured route from Subnet3-1 to the internet via FW, thus it will go directly to the internet bypassing the FW
upvoted 1 times
...
[Removed]
1 year, 6 months ago
NYN When determining which route to choose, Azure, or any router using the longest prefix match algorithm, will select the route that provides the "longest" match with the destination IP address.
upvoted 7 times
rosef
1 year, 5 months ago
You are right. I guess there is no network engineer here 1st must be No as routing logic.
upvoted 3 times
...
...
_punky_
1 year, 7 months ago
Answer: YYN Explanation of 1st question only(cuz here is many confussion): Routing VM1 -> Subnet1 -> Vnet -> Subnet2 -> VM2 In Azure, route tables are managed by Azure itself, and you typically don't interact directly with the underlying routing tables. Azure handles the routing between subnets within a VNet based on the VNet's configuration. Routing VM1 -> Subnet1 -> RT1 -> FW1 -> ... Where in Azure, routing tables are applied to subnets within a virtual network.
upvoted 1 times
...
heatfan900
1 year, 7 months ago
Y, Y, N ALL TRAFFIC FOR 1-1 GOES THROUGH THE FIREWALL VIA 0.0.0.0/0 SO THAT IS A NO BRAINER. TRAFFIC FROM 2-1 TO 1-1 IS ROUTED TO GO THROUGH THE FW AS PER THE NEXT HOP LISTED. TRAFFIC FROM 3-1 TO THE INTERNET IS NOT AS THE ONLY TRAFFIC ROUTED TO THE FW AS A NEXT FROM 3-1 TRAFFIC GOING TO 10.2.1/24 SUBNET.
upvoted 1 times
pentium75
9 months ago
No, default route will take precedence
upvoted 1 times
...
...
_fvt
1 year, 8 months ago
Firewall is in VNet1. Peerings are like: • VNET1 (10.1.0.0/16) <=> VNET2(10.2.0.0/16) <=> VNET3(10.3.0.0/16) So, 1. NO, traffic from Subnet1-1 to Subnet2-1 will not go through FW1. The IP address prefix is too low. VNET1 is 10.1.0.0/16 so it will have systemroute of 10.1.0.0/16 => LOCAL applied to all it's subnets. Routing table priority in such topologies is from smallest to highest prefixes ranges, leading to traffic between the subnets1-* in same VNet1 not going through FW1, except if a UDR higher than /16 is created. 2. YES, traffic from Subnet2-1 to Subnet1-1 is routed through FW1: Subnet2-1 well have the Subnet1-1 (10.1.1.0/24) included in it's UDR prefix with the FW as next hop. Even the answer from Subnet1-1 would be OK as Subnet2-1 is not in VNet1 so the UDR applied on Subnet1-1 would make it's job and route traffic to FW1. 3. NO, traffic from Subnet3-1 to internet is not routed through FW1: It's UDR prefix is wrong (must've been 0.0.0.0/16); And even with this, VNet3 is not directly peered with VNet1. As peerings are not transitive, the routed traffic from subnets in VNet3 to the FW1 in VNet1 would never reach FW1.
upvoted 5 times
_fvt
1 year, 8 months ago
Correction of typo issue, 0.0.0.0/0 instead of 0.0.0.0/16 for last question: 3. NO, traffic from Subnet3-1 to internet is not routed through FW1: It's UDR prefix is wrong (must've been 0.0.0.0/0);
upvoted 1 times
...
...
Crazysaffer
1 year, 10 months ago
NYN RT1 has 0.0.0.0/0 to Firewall.Which means any traffic to internet or peered Vnets will go over firewall.Subnet1-1 and Subnet1-2 are on the same Vnet.So subnet to subnet will not go over the firewall unless you specify in RT1 Subnet1-2(10.1.2.0.24) to firewall RT3 has Subnet1-1(10.1.1.0/24) to firewall. This means traffic from subnet2-1 to subnet1-1 will go over the firewall RT4 has Subnet2-1(10.2.1.0/24) to firewall.This means traffic from Subnet3-1 to Subnet2-1 will go over the firewall. It does not have 0.0.0.0/0 to firewall, therefor internet will not go over the firewall.
upvoted 6 times
_punky_
1 year, 7 months ago
yes, I agree with this solution. Basic routing (PS: my previous ans was bad if it's still here)
upvoted 1 times
...
...
billo79152718
1 year, 11 months ago
I would say Yes, Yes, Yes Box 3: virtual machines created in a virtual network without explicit outbound connectivity defined are assigned a default outbound public IP address.
upvoted 1 times
...
ITTesters
1 year, 11 months ago
Y,N,N; Y; traffic matches Rt1 N; Rt3, IP address prefix does not match subnet IP range. N; Rt4, IP address prefix does not match subnet IP range.
upvoted 1 times
...
zellck
2 years ago
YYN is the answer. https://learn.microsoft.com/en-us/azure/firewall/tutorial-firewall-deploy-portal-policy
upvoted 4 times
...
saturation97
2 years ago
Great, it seems we are all on the same page...LOL!
upvoted 8 times
...
Cristoicach91
2 years, 1 month ago
it's NYN N. this is a system route, subnet to subnet, there is no specific user RT applied here to override the system default Y. there is a specific user RT to override the system default N. there is no peering between VNET1 and VNET3 to allow subnet 3-1 to reach the firewall as a a NH -> firewall -> to the internet. + there is no user RT applied to the subnet 3-1
upvoted 2 times
...
majstor86
2 years, 2 months ago
YES YES YES
upvoted 4 times
...
slayer78
2 years, 2 months ago
N. VNET1 has two networks in the 10.1.0.0/16 range, no routing through the firewall should be needed on the same subnet. Y, routed through FW1 (different subnet) Y, internet 0/0.0.0.0 (any host/any network) through FW1
upvoted 1 times
thirdtimethecharm
2 years, 2 months ago
on the first one, the route table RT2 specify that for subnet1-2 to reach the address space of subnet1-1 the next hop is the private IP of the firewall
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago