exam questions

Exam Professional Cloud Network Engineer All Questions

View all questions & answers for the Professional Cloud Network Engineer exam

Exam Professional Cloud Network Engineer topic 1 question 20 discussion

Actual exam question from Google's Professional Cloud Network Engineer
Question #: 20
Topic #: 1
[All Professional Cloud Network Engineer Questions]

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?

  • A. AS-Path
  • B. Community
  • C. Local Preference
  • D. Multi-exit Discriminator
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
bgillman
1 month, 3 weeks ago
Selected Answer: D
D is the correct answer. The question is position from a Cloud Router's perspective. That said, Cloud Routers do not support Local Preference. Google Cloud Router's Perspective (Outbound from GCP to On-prem): To make Google Cloud prefer one Cloud Router over another for traffic from GCP to on-prem, Google Cloud Router uses the Advertised Route Priority, which is implemented as the Multi-Exit Discriminator (MED) BGP attribute. You configure a "base priority" (which translates to the MED value) on the BGP session of your Cloud Router. A lower MED value indicates a higher priority. So, for the active Cloud Router, you'd set a lower MED (higher priority), and for the standby, a higher MED (lower priority).
upvoted 1 times
...
saraali
6 months, 1 week ago
Selected Answer: D
The correct answer is D. Multi-exit Discriminator (MED). MED helps control which Cloud Router is preferred for outbound traffic, making one router active and the other standby.
upvoted 1 times
...
f36bdb5
6 months, 1 week ago
Selected Answer: C
MED is sent in the advertisements from an external AS (GCP here) to suggest to the neighbour what path the external AS prefers. Local preference is used to set from your own perspective (here on-prem) which path to prefer to a destination. Therefore, local preference is correct here.
upvoted 1 times
...
desertlotus1211
1 year ago
The answer is C... They are asking for on-premise routers TO the Cloud Routers. MED is used, more exactly - for inbound to on-premise, not to the the cloud...
upvoted 3 times
...
xhilmi
1 year, 2 months ago
Selected Answer: D
Choose D. Explanation: Multi-exit Discriminator (MED): The Multi-exit Discriminator is a BGP attribute that is used to influence the path selection process when there are multiple exit points from an autonomous system. In the context of high availability and failover scenarios, you can set different MED values for the two Cloud Routers, with the lower MED value indicating the preferred route. When the primary Cloud Router has a lower MED value, it will be preferred by the on-premises router. If the primary router fails or the BGP session goes down, the standby Cloud Router, with a higher MED value, becomes the preferred route.
upvoted 3 times
...
Wasamela
2 years, 1 month ago
Selected Answer: D
The right answer is D, MED, if you think about it, Local Preference directs the outgoing traffic, while MED Directs the incoming traffic. If the question WAS for the On-prem router, then yes, Local Preference.
upvoted 2 times
Kyle1776
1 year, 2 months ago
the question states "Which BGP attribute should you use on your on-premises router?" so it should be local preference. MED is for the GCP side.
upvoted 2 times
...
...
pk349
2 years, 1 month ago
D: How BGP Routers Use the Multi-Exit Discriminator for Best Path Selection This document demonstrates the use of the bgp deterministic-med command and explains how it can affect multi-exit discriminator (MED)-based path selection. • MED is propagated to all routers within the neighbor AS but not passed along any other autonomous systems.
upvoted 1 times
...
AzureDP900
2 years, 2 months ago
D. Multi-exit Discriminator
upvoted 1 times
...
DA_007
2 years, 3 months ago
The question is confusion - should explicitly ask whether for the ingress or egress decision. For Ingress to on-prem traffic should use MED; for Egress traffic out of on-prem should use LP
upvoted 3 times
...
GCP72
2 years, 6 months ago
Selected Answer: D
Correct Answer is D
upvoted 4 times
...
ivanrias
2 years, 6 months ago
It´s D
upvoted 2 times
...
Dineshsinghbhriguvanshi
2 years, 9 months ago
Selected Answer: B
Its D -MED . Its define the router priority to decide a path in multi-path GCP setup
upvoted 2 times
GCP72
2 years, 6 months ago
is it D or B, seems you selected wrong answer in voting comment.
upvoted 2 times
...
...
Taliesyn
2 years, 9 months ago
D works. However C seems a valid answer either (just not in the GCP recommended setups).
upvoted 1 times
desertlotus1211
2 years, 4 months ago
that may be true.. but look at it from a SP perspective. Local preference is used more so for internal BGP to exit out of an AS. MED is used to 'tell' SP which you prefer.
upvoted 2 times
...
...
kumarp6
3 years, 1 month ago
Answer is : D
upvoted 1 times
...
Vidyasagar
3 years, 10 months ago
D is correct
upvoted 4 times
...
BobBui
3 years, 11 months ago
The right answer is D, https://cloud.google.com/network-connectivity/docs/router/concepts/overview#route-metric-examples
upvoted 2 times
...
densnoigaskogen
4 years, 1 month ago
Answer is D. You can configure 2 different MED values for each BGP neighbor in your single on-prem router , to influence ISP(GCP)'s 2 separate routers to select which path they send traffic towards you. The lower MED value is preferred. Ref: https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13759-37.html
upvoted 4 times
densnoigaskogen
4 years, 1 month ago
I was struggling with choosing between A and D. Because BGP selects shortest AS path first when sending traffic. In our On-prem router, we can actually prepend AS path for the standby BGP session. However, after learning from GCP's documentations(as referenced below) that GCP uses MED to set base priority. I decided to choose D. Additional ref: https://cloud.google.com/network-connectivity/docs/router/concepts/overview#route-metrics https://cloud.google.com/network-connectivity/docs/router/concepts/overview#suggested_base_priority_values
upvoted 4 times
Laryoul
1 year, 5 months ago
You right, for something that i don't know i could validate you that as path is not take to account. But med yes. A is wrong in GCP BGP implementation.
upvoted 1 times
...
...
AzureDP900
2 years, 2 months ago
Yes, you are right
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 ...