AZ-500 · Question #621
AZ-500 Question #621: Real Exam Question with Answer & Explanation
The correct answer is E: Route1 and Route3 only. The prefix can't be duplicated in more than one route within the route table, though the prefix can be within another prefix. For example, if you defined 10.0.0.0/16 as a prefix in one route, you can still define another route with the 10.0.0.0/22 address prefix. An Azure route t
Question
You have an Azure subscription that contains a route table named RT1. RT1 includes a route that has the following configurations: - Name: RouteA - IP address prefix: 192.168.0.0/24 - Next hop IP address: 172.16.10.10 You are evaluating whether to add the routes shown in the following table. Which routes can you add to RT1?
Options
- ARoute1 only
- BRoute2 only
- CRoute3 only
- DRoute1 and Route2 only
- ERoute1 and Route3 only
- FRoute2 and Route3 only
Explanation
The prefix can't be duplicated in more than one route within the route table, though the prefix can be within another prefix. For example, if you defined 10.0.0.0/16 as a prefix in one route, you can still define another route with the 10.0.0.0/22 address prefix. An Azure route table cannot include two routes with the exact same IP address prefix. Azure uses the longest prefix match algorithm to determine which route to use when multiple routes have overlapping address prefixes. If there are multiple routes with the same prefix, Azure will select the route with the most specific prefix (the longest prefix). https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview
Community Discussion
No community discussion yet for this question.