exam questions

Exam AZ-305 All Questions

View all questions & answers for the AZ-305 exam

Exam AZ-305 topic 4 question 20 discussion

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

HOTSPOT -
Your company has two on-premises sites in New York and Los Angeles and Azure virtual networks in the East US Azure region and the West US Azure region.
Each on-premises site has ExpressRoute Global Reach circuits to both regions.
You need to recommend a solution that meets the following requirements:
✑ Outbound traffic to the internet from workloads hosted on the virtual networks must be routed through the closest available on-premises site.
✑ If an on-premises site fails, traffic from the workloads on the virtual networks to the internet must reroute automatically to the other site.
What should you include in the recommendation? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Border Gateway Protocol (BGP)
An on-premises network gateway can exchange routes with an Azure virtual network gateway using the border gateway protocol (BGP). Using BGP with an Azure virtual network gateway is dependent on the type you selected when you created the gateway. If the type you selected were:
ExpressRoute: You must use BGP to advertise on-premises routes to the Microsoft Edge router. You cannot create user-defined routes to force traffic to the
ExpressRoute virtual network gateway if you deploy a virtual network gateway deployed as type: ExpressRoute. You can use user-defined routes for forcing traffic from the Express Route to, for example, a Network Virtual Appliance.
Box 2: Border Gateway Protocol (BGP)
Incorrect:
Microsoft does not support HSRP or VRRP for high availability configurations.
Reference:
https://docs.microsoft.com/ja-jp/azure/expressroute/designing-for-disaster-recovery-with-expressroute-privatepeering https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing

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
GarryK
Highly Voted 2 years, 2 months ago
Correct. Layer 3 connectivity Microsoft uses BGP, an industry standard dynamic routing protocol, to exchange routes between your on-premises network, your instances in Azure, and Microsoft public addresses. We establish multiple BGP sessions with your network for different traffic profiles. More details can be found in the ExpressRoute circuit and routing domains article. https://docs.microsoft.com/en-us/azure/expressroute/expressroute-introduction
upvoted 18 times
Galron
2 years, 1 month ago
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview Virtual network gateway Prefixes advertised from on-premises via BGP, or configured in the local network gateway Virtual network gateway All
upvoted 1 times
...
...
NotMeAnyWay
Highly Voted 1 year, 7 months ago
1. Routing from the virtual networks to the on-premises location must be configured by using: b. Border Gateway Protocol (BGP) To configure routing between the Azure virtual networks and the on-premises locations, you should use Border Gateway Protocol (BGP). BGP is a dynamic routing protocol that enables automatic route updates between ExpressRoute circuits and the on-premises sites. 2. The automatic routing configuration following a failover must be handled by using: a. Border Gateway Protocol (BGP) BGP can also handle automatic routing configuration in the event of a failover. It can dynamically detect when a site fails and automatically reroute traffic to the other available site. This ensures that traffic from the workloads on the virtual networks to the internet is rerouted to the other on-premises site if one site fails.
upvoted 13 times
...
SeMo0o0o0o
Most Recent 3 weeks ago
CORRECT
upvoted 1 times
...
23169fd
5 months, 1 week ago
BGP: BGP is well-suited for this scenario because it supports dynamic routing and failover. It can automatically reroute traffic if an on-premises site becomes unavailable, ensuring that outbound traffic from the virtual networks is always routed through the closest available site.
upvoted 3 times
...
SDiwan
9 months, 2 weeks ago
The way to remember is if routing involving multiple networks, then BGP . Routing within a n/w => User defined routing
upvoted 8 times
...
Puzzled why you'd want to route your internet bound traffic, from the cloud, via your on-prem, given that it could hop out to the internet directly from data centre. I suppose you might be tracking/logging some aspect of the outbound traffic on-prem for some reason, but the actual use case seems unlikely.
upvoted 2 times
cosmicT73
2 months, 1 week ago
sometimes you need to inspect the traffic before letting it go, and the inspection appliance is on-prem
upvoted 1 times
...
...
randy0077
1 year, 1 month ago
this question should be in CCNA exam not here.
upvoted 11 times
...
King_Laps
1 year, 7 months ago
The given answer is correct. Its BGP for both
upvoted 4 times
...
NinjaDog00
1 year, 8 months ago
Lol why is networking question here
upvoted 4 times
...
VBK8579
1 year, 10 months ago
Routing from the virtual networks to the on-premises locations must be configured by using: b. Border Gateway Protocol (BGP) The automatic routing configuration following a failover must be handled by using: a. Border Gateway Protocol (BGP)
upvoted 2 times
...
Ghoshy
1 year, 11 months ago
Exam Question 12/28/2022.
upvoted 5 times
...
stxc
2 years ago
for the 1st question, I think it should be "User Defined" If multiple routes contain the same address prefix, Azure selects the route type, based on the following priority: 1- User-defined route 2- BGP route 3- System route https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview
upvoted 4 times
...
Snownoodles
2 years, 1 month ago
The given answer is correct. The first question can also be implemented by UDR in a simple environment as given. But in practice, with the consideration of scalability, BGP should be the first choice.
upvoted 6 times
...
Neo2c
2 years, 3 months ago
I think it's User-defined route and BGP https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview#how-azure-selects-a-route
upvoted 2 times
ServerBrain
1 year, 11 months ago
No.. As said, "You cannot create user-defined routes to force traffic to the ExpressRoute virtual network gateway if you deploy a virtual network gateway deployed as type: ExpressRoute."
upvoted 1 times
...
GarryK
2 years, 2 months ago
No. User-Defined route is like static routing so yes it will override BGP for internet but would not fail over so you will lose connectivity to Internet at least. So your 0.0.0.0/0 must also be announced via BGP and will override the default routes per your link.
upvoted 8 times
GarryK
2 years, 2 months ago
To say it otherwise, if you decide to use user defined routing for the first part, then even if you use BGP for the second part, it would not work as user defined routing would override whatever you announce via BGP so your solution would not meet both requirements
upvoted 7 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 ...