- A
Set the same MED value on both on-premises BGP peers, and ensure the AS path length is identical.
Equal MED and AS path length enables ECMP, balancing traffic across both attachments.
- B
Configure local preference on the Cloud Router to prefer one attachment, and rely on the other for backup.
Why wrong: This only affects outbound traffic from GCP, not inbound.
- C
Configure a single BGP session on one Cloud Router and use static routing for the other attachment.
Why wrong: This reduces redundancy and does not balance traffic.
- D
Set a higher MED value on one on-premises peer to deprefer that attachment.
Why wrong: This would make one path less preferred, not equalize.
How to Achieve ECMP over Dedicated Interconnect Using Same MED
This PCNE practice question tests your understanding of pcne exam topics. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A company is using Dedicated Interconnect to connect their on-premises network to Google Cloud. They have two VLAN attachments configured, each with a separate Cloud Router with active/active BGP. They want to ensure that traffic from their on-premises network to Google Cloud uses both attachments equally. Which configuration should they implement?
Quick Answer
The answer is to set the same MED value on both on-premises BGP peers while ensuring identical AS path length. This configuration works because BGP’s best-path selection algorithm on Google Cloud’s active/active Cloud Routers will view both VLAN attachments as equally preferred when the MED and AS path are identical, enabling ECMP load balancing across the Dedicated Interconnect. On the Google Professional Cloud Network Engineer exam, this scenario tests your understanding of how to force equal-cost multipath over multiple attachments, a common trap being that simply enabling active/active BGP is insufficient without matching these path attributes. A key memory tip is “Same MED, Same AS Path” — think of it as telling the Cloud Router, “These two roads are exactly the same length, so split the traffic evenly.”
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Set the same MED value on both on-premises BGP peers, and ensure the AS path length is identical.
Option A is correct because setting the same MED (Multi-Exit Discriminator) value on both on-premises BGP peers ensures that Google Cloud's Cloud Routers, which are configured with active/active BGP, will see both paths as equally preferred. When the AS path length is also identical, the BGP best-path selection algorithm on the Cloud Routers will load-balance traffic across both VLAN attachments, achieving equal utilization. This is the standard method for enabling equal-cost multipath (ECMP) over Dedicated Interconnect with multiple attachments.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Set the same MED value on both on-premises BGP peers, and ensure the AS path length is identical.
Why this is correct
Equal MED and AS path length enables ECMP, balancing traffic across both attachments.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Configure local preference on the Cloud Router to prefer one attachment, and rely on the other for backup.
Why it's wrong here
This only affects outbound traffic from GCP, not inbound.
- ✗
Configure a single BGP session on one Cloud Router and use static routing for the other attachment.
Why it's wrong here
This reduces redundancy and does not balance traffic.
- ✗
Set a higher MED value on one on-premises peer to deprefer that attachment.
Why it's wrong here
This would make one path less preferred, not equalize.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often assume MED is only for influencing inbound traffic from Google Cloud to on-premises, but in this scenario, the MED values are set on the on-premises peers to influence how Google Cloud selects the return path, and equal MED is required for ECMP to work.
Detailed technical explanation
How to think about this question
Under the hood, BGP ECMP (Equal-Cost Multipath) requires that all path attributes (including MED, AS path length, local preference, and origin code) are identical for the routes to be considered equal. In Google Cloud, Cloud Routers with active/active BGP automatically install multiple paths into the routing table when they meet these criteria, enabling per-packet or per-flow load balancing across VLAN attachments. A real-world scenario where this matters is when an enterprise has two redundant 10 Gbps interconnects and needs to fully utilize both links to avoid underutilization and meet bandwidth demands.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.
Visual reference
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Related practice questions
Related PCNE practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Configuring Network Services practice questions
Practise PCNE questions linked to Configuring Network Services.
Implementing Hybrid Interconnectivity practice questions
Practise PCNE questions linked to Implementing Hybrid Interconnectivity.
Managing, Monitoring, and Optimising Network Operations practice questions
Practise PCNE questions linked to Managing, Monitoring, and Optimising Network Operations.
Designing, Planning, and Prototyping a GCP Network practice questions
Practise PCNE questions linked to Designing, Planning, and Prototyping a GCP Network.
Implementing VPC Instances practice questions
Practise PCNE questions linked to Implementing VPC Instances.
Implementing network security practice questions
Practise PCNE questions linked to Implementing network security.
Implementing a Virtual Private Cloud practice questions
Practise PCNE questions linked to Implementing a Virtual Private Cloud.
PCNE fundamentals practice questions
Practise PCNE questions linked to PCNE fundamentals.
PCNE scenario practice questions
Practise PCNE questions linked to PCNE scenario.
PCNE troubleshooting practice questions
Practise PCNE questions linked to PCNE troubleshooting.
Practice this exam
Start a free PCNE practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this PCNE question test?
Read the scenario before looking for a memorised answer.
What is the correct answer to this question?
The correct answer is: Set the same MED value on both on-premises BGP peers, and ensure the AS path length is identical. — Option A is correct because setting the same MED (Multi-Exit Discriminator) value on both on-premises BGP peers ensures that Google Cloud's Cloud Routers, which are configured with active/active BGP, will see both paths as equally preferred. When the AS path length is also identical, the BGP best-path selection algorithm on the Cloud Routers will load-balance traffic across both VLAN attachments, achieving equal utilization. This is the standard method for enabling equal-cost multipath (ECMP) over Dedicated Interconnect with multiple attachments.
What should I do if I get this PCNE question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Keep practising
More PCNE practice questions
- An organization is migrating to Google Cloud and requires connectivity between their on-premises network and VPC. They p…
- A company is migrating on-premises DNS to Google Cloud. They have a hybrid network using Cloud VPN and want to resolve o…
- A network engineer is configuring a Cloud Router for BGP peering with an on-premises router over a VPN tunnel. The on-pr…
- A company uses Cloud NAT to allow private instances to reach the internet. They notice that egress traffic from Compute…
- You are setting up Partner Interconnect with a service provider that offers both Layer 2 and Layer 3 options. Your on-pr…
- Match each VPC networking concept to its definition.
Last reviewed: Jun 25, 2026
This PCNE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCNE exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.