Google Cloud Professional Cloud Network Engineer — Question 30
You want to set up two Cloud Routers so that one has an active Border Gateway Protocol (BGP) session, and the other one acts as a standby.
Which BGP attribute should you use on your on-premises router?
Answer options
- A. AS-Path
- B. Community
- C. Local Preference
- D. Multi-exit Discriminator
Correct answer: D
Explanation
The Multi-exit Discriminator (MED) attribute is used to influence the path selection for incoming traffic on BGP, allowing you to designate which router should be preferred as the primary connection. The AS-Path, Community, and Local Preference attributes serve different purposes in BGP routing and do not directly control the active/standby configuration as effectively as the MED does.