Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Professional Cloud Network Engineer practice bank has an additional 2,437 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
Your organization uses Network Connectivity Center (NCC) to connect a central transit VPC (network-a) in us-west1 to another VPC spoke (vpc-spoke-2, using 10.50.0.0/16) and two remote sites via third-party router appliance VMs (router-app-a and router-app-b) deployed in network-a. You need cloud-router-a to manage dynamic BGP routing with the following requirements:
network-a subnets and 10.50.0.0/16 to both appliances, despite an existing session-level custom route configured on router-app-b's BGP session.router-app-a over router-app-b without asymmetric routing.Which configuration should you implement?
siteToSiteDataTransfer to true on the Router appliance spokes, keep cloud-router-a in DEFAULT advertisement mode so NCC automatically advertises 10.50.0.0/16 alongside network-a subnets, and configure a MED of 100 for router-app-a and a MED of 200 for router-app-b exclusively on cloud-router-a.Default advertisement mode on a Cloud Router automatically advertises subnets belonging directly to the Cloud Router's own VPC network based on the VPC's dynamic routing mode. Meanwhile, configuring MED values exclusively on Cloud Router only influences how the Cloud Router advertises routes outbound to peer routers or evaluates incoming priorities without coordinating return path metrics from the remote appliances.
vpc-spoke-2 (10.50.0.0/16): In DEFAULT advertisement mode, Cloud Router only advertises subnets of its local VPC (network-a) and explicitly excludes static routes as well as routes learned dynamically from other VPC networks, including VPC spokes in NCC.200) for router-app-b solely on cloud-router-a does not guarantee symmetric forwarding. To achieve active/passive forwarding without asymmetric routing, higher MED values must be applied on both the Cloud Router side and the peer router appliance side.DEFAULT mode is strictly scoped to local VPC subnets (regional or global depending on VPC dynamic routing mode).CUSTOM advertisement mode with explicit custom IP ranges.router-app-b would still override router-level settings if left unaddressed.Remote sites only needed reachability to network-a subnets (with no other NCC VPC spokes), and the remote router appliances were independently configured with matching higher MED values for router-app-b.
A common misconception is that enabling siteToSiteDataTransfer automatically causes Cloud Router to re-advertise NCC VPC spoke routes via BGP. While NCC handles internal VPC-to-VPC data plane connectivity across spokes, BGP advertisement of those remote VPC prefixes to external appliances still requires explicit custom advertised routes.
cloud-router-a, set cloud-router-a to CUSTOM advertisement mode with only 10.50.0.0/16, and assign different customLearnedRoutePriority MED values to individual prefixes within the same BGP session to prefer router-app-a over router-app-b.Custom learned routes allow a Cloud Router to behave as if it learned specific static IP prefixes from a BGP peer without the peer dynamically advertising them, using customLearnedRoutePriority to set a MED value. Meanwhile, redundant Cloud Router designs pair two interfaces in the same subnet with corresponding BGP sessions for resilience.
CUSTOM advertisement mode with only 10.50.0.0/16 and omitting the ALL_SUBNETS group prevents cloud-router-a from advertising network-a's own subnets to the appliances.customLearnedRoutePriority applies a single MED value uniformly to all custom learned routes configured on that peer; you cannot assign different MED values to individual IP prefixes within the same BGP session.ALL_SUBNETS in CUSTOM mode stops automatic advertisement of local VPC subnets.customLearnedRoutePriority defaults to 100 if unspecified and applies identically to every prefix in customLearnedIpRanges.Two BGP sessions were configured per appliance, ALL_SUBNETS was included alongside 10.50.0.0/16, and distinct MED values were applied across different BGP peers rather than per prefix within one session.
When dynamic BGP route exchange is active with a router appliance, relying on standard BGP advertisements with per-session MEDs (or advertisedRoutePriority) across two redundant interfaces per appliance provides dynamic failover without static custom learned route workarounds.
siteToSiteDataTransfer to true on the Router appliance spokes, configure cloud-router-a in CUSTOM advertisement mode with ALL_SUBNETS and 10.50.0.0/16 while clearing or updating the session-level custom route on router-app-b, and configure two BGP sessions per appliance using a lower MED (100) for router-app-a and a higher MED (200) for router-app-b on both the Cloud Router and appliance sides.In a Network Connectivity Center (NCC) transit architecture, Router appliance spokes integrate third-party virtual routers with Cloud Router to exchange Border Gateway Protocol (BGP) routes dynamically across VPC networks and remote sites. Combining custom advertisement mode, session-level advertisement alignment, and coordinated Multi-Exit Discriminator (MED) values provides deterministic control over route propagation and bidirectional path selection.
siteToSiteDataTransfer to true on the Router appliance spokes enables full-mesh transit routing across the NCC hub so remote sites behind router-app-a and router-app-b can exchange traffic across the Google global backbone.cloud-router-a to CUSTOM mode with the ALL_SUBNETS advertisement group and the custom range 10.50.0.0/16 ensures both network-a subnets and the vpc-spoke-2 range are advertised. Clearing or updating the BGP-session-level custom route on router-app-b is essential because any custom route defined on an individual BGP session completely overrides router-level advertisements for that session.100) on router-app-a sessions and a higher MED (200) on router-app-b sessions—on both cloud-router-a and the appliances—forces inbound and outbound traffic through router-app-a unless a failure occurs.router-app-a and returning via router-app-b.Unlike DEFAULT advertisement mode, which drops routes learned from other VPC spokes, or single-sided MED tuning, which introduces asymmetric routing, this approach enforces complete reachability, session-level consistency, and symmetric active/passive failover.
siteToSiteDataTransfer to true on the Router appliance spokes, configure cloud-router-a in CUSTOM advertisement mode with ALL_SUBNETS and 10.50.0.0/16 while retaining the existing session-level custom route on router-app-b, and configure a MED of 200 for router-app-a and a MED of 100 for router-app-b on both the Cloud Router and appliance sides.Cloud Router supports defining custom advertised routes either at the router level (affecting all BGP sessions) or at the individual BGP session level (scoped to a single peer). MED is a BGP path attribute used to signal route preference among multiple paths to the same destination, where numerical values range from 0 to 65535.
router-app-b's BGP session causes all router-level advertised routes (ALL_SUBNETS and 10.50.0.0/16) to be ignored and overridden for router-app-b. If router-app-a fails, router-app-b will lack routes to network-a and vpc-spoke-2.200 to router-app-a and 100 to router-app-b makes router-app-b the active primary path and relegates router-app-a to passive backup, directly violating the traffic steering requirement.100) always beats a higher MED (such as 200) during best-path selection.The MED values were swapped (100 for router-app-a and 200 for router-app-b), and the session-level custom route on router-app-b was either removed or updated to also include ALL_SUBNETS and 10.50.0.0/16.
Network engineers often assume session-level custom advertised routes append to router-level routes, or confuse BGP MED (where lower is preferred) with weights or local preference in other protocols where higher values are preferred.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated