
Answer-first summary for fast verification
Answer: 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.
The question requires ensuring Dedicated Interconnect (region 2) is the primary path and HA VPN (region 1) is secondary. To achieve this: 1. **Dynamic Routing Mode**: Since the VPC spans multiple regions, **global dynamic routing mode** is necessary to share routes across all regions. Regional mode restricts routes to their region, which would prevent cross-region path selection. 2. **BGP Base Priority**: Google Cloud uses the BGP `local_preference` (derived from the base priority) to prefer paths. A **higher base priority** (e.g., 20000 for Dedicated Interconnect) ensures Google routes traffic via the VLAN attachments. The HA VPN should have a lower priority (e.g., 100). 3. **On-Premises MED Configuration**: Configuring similar MED values on the on-premises routers ensures MED does not influence path selection, leaving BGP attributes like `local_preference` (determined by base priority) as the deciding factor. Option D correctly enables global dynamic routing, assigns higher priority to VLAN attachments (20000), and lower priority to HA VPN (100), ensuring traffic prefers Dedicated Interconnect.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You have an existing multi-region VPC with an HA VPN configured in "region 1" connected to your corporate network. You plan to add two 10 Gbps Dedicated Interconnect connections with VLAN attachments in "region 2" to connect to the same corporate network. How should you configure connectivity between your VPC and corporate network to prioritize traffic through the Dedicated Interconnect as the primary path and the HA VPN as the backup path?
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 VAN attachments to use a base priority of 20000. Configure your on-premises routers to use similar multi exit discriminator (MED) values.
B
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.
C
Enable global dynamic routing mode on the VPConfigure 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 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.