CLOUD-NETWORK practice question 16 of 30

Your multi-region VPC has had a long-standing HA VPN configured in "region 1" connected to your corporate network. You are planning to add two 10…

Full set: 233 questions
Your multi-region VPC has had a long-standing HA VPN configured in "region 1" connected to your corporate network. You are planning to add two 10 Gbps Dedicated Interconnect connections and VLAN attachments in "region 2" to connect to the same corporate network. You need to plan for connectivity between your VPC and corporate network to ensure that traffic uses the Dedicated Interconnect connections as the primary path and the HA VPN as the secondary path. What should you do?
Answer options
A: Enable regional dynamic routing mode on the VPC. Configure BGP associated with the HA VPN in "region 1" to use a base priority value of 100. Configure BGP associated with the VLAN attachments to use a base priority of 20000. Configure your on-premises routers to use similar multi-exit discriminator (MED) values.
B: Enable global dynamic routing mode on the VPC. Configure BGP associated with the HA VPN in "region 1" to use a base priority value of 100. Configure BGP associated with the VLAN attachments to use a base priority of 20000. Configure your on-premises routers to use similar multi-exit discriminator (MED) values.
C: Enable regional dynamic routing mode on the VPC. Configure BGP associated with the HA VPN in "region 1" to use a base priority value of 20000. Configure BGP associated with the VLAN attachments to use a base priority of 100. Configure your on-premises routers to use similar multi- exit discriminator (MED) values.
D: Enable global dynamic routing mode on the VPC. Configure BGP associated with the HA VPN in "region 1" to use a base priority value of 20000. Configure BGP associated with the VLAN attachments to use a base priority of 100. Configure your on-premises routers to use similar multi- exit discriminator (MED) values. Correct answer
Correct Answer:
D. Enable global dynamic routing mode on the VPC. Configure BGP associated with the HA VPN in "region 1" to use a base priority value of 20000. Configure BGP associated with the VLAN attachments to use a base priority of 100. Configure your on-premises routers to use similar multi- exit discriminator (MED) values.
Explanation

To allow Cloud Routers in different regions to exchange routes, global dynamic routing must be enabled on the VPC. To prioritize the Dedicated Interconnect connections over the HA VPN, you must influence the BGP route selection process. Google Cloud uses the Multi-Exit Discriminator (MED) value (also called base priority) for this purpose, where a lower value is preferred. Therefore, the VLAN attachments for the Dedicated Interconnect should be configured with a lower base priority (e.g., 100) to make them the primary path, and the HA VPN should have a higher base priority (e.g., 20000) to make it the secondary (backup) path.

Why Incorrect

A. Regional dynamic routing would prevent routes learned in region 2 (Interconnect) from being available to resources in region 1, failing the multi-region connectivity goal.
B. This option correctly enables global routing but incorrectly assigns a lower base priority to the HA VPN, which would make it the primary path, contrary to the requirements.
C. Regional dynamic routing is incorrect. Also, it assigns the priorities correctly, but the routing mode makes the solution non-functional across regions.

References

1. Google Cloud Documentation, "Cloud Router overview", Section: "Dynamic routing mode". It explains that "With global dynamic routing, Cloud Routers advertise all subnets in the VPC network... and propagate learned routes to all subnets, regardless of the region."

2. Google Cloud Documentation, "Route selection order". This document details the path selection process, stating that for BGP routes, the one with the lowest MED value is preferred.

3. Google Cloud Documentation, "Establishing 99.99% availability for Dedicated Interconnect", Section: "Active/passive attachments". This guide shows an example of setting a higher MED (base priority) on the backup path (e.g., VPN) and a lower MED on the primary path (Interconnect).

4. Google Cloud Documentation, "Cloud Router BGP sessions", Section: "Advertised prefix priority (MED)". It states, "When your on-premises router receives the advertised prefixes, it uses the MEDs to determine the best path."

Scroll to Top