
This post walks through 10 realistic Professional Cloud Network Engineer exam questions. After each question we go through every option in turn, saying what it would do and whether it meets the scenario's requirements, and only then name the best answer. Try to pick your own answer before reading on, so you can test your reasoning against ours. The set leans toward hybrid connectivity (Cloud Interconnect, Cloud VPN and Cloud Router). The rest covers load balancer selection, Cloud DNS with Shared VPC, firewall logging and routing through network virtual appliances, all of which are in scope for the Professional Cloud Network Engineer exam.
If you want more practice like this, take a look at our Professional Cloud Network Engineer practice exams.
A media streaming company has ordered a Partner Interconnect connection from a supported service provider to link its on-premises encoding cluster to a VPC network. The provider's interconnect location serves us-east4, so the VLAN attachment will be created in us-east4. Before creating the VLAN attachment, the network team must create the Cloud Router that the attachment will use, in the same VPC network and in us-east4, the region of the VLAN attachment. After the attachment exists, the team will send the pairing key to the provider, who will finish the BGP setup. Which ASN must the team configure on this Cloud Router?
Choose only ONE best answer.
A) Set the Cloud Router ASN to 16550, reserved by Google
B) Assign a private 4-byte ASN picked from 4200000000 through 4294967294
C) Set the Cloud Router ASN to 15169, Google's public internet ASN
D) Assign a private 2-byte ASN picked from 64512 through 65534
This question is about one specific rule for a Cloud Router that serves a Partner Interconnect VLAN attachment. Several of the options are valid ASNs in other hybrid setups, so what decides it is the value that Partner Interconnect itself requires on the Google side of the BGP session.
Option A sets the Cloud Router ASN to 16550. Google reserves this number for Cloud Routers that attach to Partner Interconnect VLAN attachments, so that service providers can set up BGP toward Google in the same way for every customer. Any Cloud Router used with a Partner Interconnect attachment must use it, so this option meets the requirement.
Option B picks a private 4-byte ASN from 4200000000 through 4294967294. That range is accepted on a Cloud Router used with Dedicated Interconnect or Cloud VPN, so the value is not invalid for Cloud Router in general. Partner Interconnect, however, will not let you use it on the Cloud Router, so this option fails the scenario.
Option C uses 15169, which is the public ASN Google uses to peer on the internet. It is never assigned to a customer's Cloud Router, so it cannot be the answer for any hybrid connection, Partner Interconnect included.
Option D picks a private 2-byte ASN from 64512 through 65534. Like the 4-byte private range, this works for Dedicated Interconnect and Cloud VPN. It is also rejected when the Cloud Router serves a Partner Interconnect attachment, so it does not meet the requirement.
The best answer is Option A. The private ranges in Options B and D are the closest alternatives because they are normal, valid choices for other hybrid connections. Partner Interconnect is the exception, and its Cloud Router must use 16550. With that router in place in us-east4, the team creates the VLAN attachment and shares the pairing key with the provider, who completes the BGP setup.
For more on how Cloud Router uses ASNs and sets up BGP sessions, see our article on Cloud Router and BGP in Google Cloud.
A media studio renders video on Compute Engine VMs in us-east4. Every night it copies the finished files back to an archive in its on-premises data center. The studio reaches Google Cloud through a Dedicated Interconnect connection that bundles two 10 Gbps circuits. The connection currently has one VLAN attachment in us-east4, provisioned at 10 Gbps, and its Cloud Router is in the same region. During the nightly copy window, monitoring shows that the VLAN attachment is saturated in the Google Cloud to on-premises direction, while the physical circuits still have spare capacity. The render VMs have plenty of egress bandwidth, and the copy jobs run many parallel TCP flows. The attachment is the only bottleneck. The network team wants to raise the VLAN attachment capacity available toward on-premises to an aggregate 20 Gbps as quickly as possible. The team cannot order any new physical circuits. Which two approaches would each, used on its own, meet this goal? (Choose two.)
Choose TWO answers.
A) Add a 10 Gbps VLAN attachment on the connection in a different region and advertise on-premises prefixes over it with a higher MED value
B) Add a second 10 Gbps VLAN attachment in us-east4 on the same connection and advertise on-premises prefixes over both with equal MED
C) Turn on LACP on the on-premises router ports so that the second 10 Gbps circuit in the bundle begins carrying the existing attachment traffic
D) In the Google Cloud console, change the capacity of the existing VLAN attachment from 10 Gbps to 20 Gbps
E) Order a second 20 Gbps Dedicated Interconnect connection in the same metro and give it a single 10 Gbps VLAN attachment
The monitoring data rules out the circuits, the VMs and the flows, which leaves the 10 Gbps provisioned on the single VLAN attachment as the only limit. So the question is which changes raise attachment capacity toward on-premises to 20 Gbps, quickly and without new circuits, and each correct option has to work as a standalone fix.
Option A adds a 10 Gbps attachment in a different region and has the on-premises router advertise its prefixes over it with a higher MED. A higher MED makes a route less preferred, so Google Cloud keeps sending traffic over the original attachment. The new attachment sits idle as a backup while the original one stays saturated, and usable capacity toward on-premises does not grow.
Option B adds a second 10 Gbps attachment in us-east4 on the same connection, with its own BGP session to Cloud Router. When the on-premises router advertises the same prefixes with equal MED values over both sessions, Cloud Router installs them as equal-cost routes, and Google Cloud spreads flows across both attachments with ECMP. The many parallel copy flows let the load divide across both, for 20 Gbps of attachment capacity on a bundle that can carry it. This meets the goal.
Option C turns on LACP on the on-premises router ports. LACP is already required on every Dedicated Interconnect bundle, so it is already running here. Turning it on changes nothing, and the 10 Gbps cap on the attachment still applies.
Option D changes the existing attachment's capacity from 10 Gbps to 20 Gbps. Dedicated Interconnect lets you edit an attachment's capacity in place, and raising it to match the 20 Gbps bundle removes the cap directly, with no new hardware. This meets the goal on its own.
Option E orders a second Dedicated Interconnect connection. That breaks the rule against new physical circuits, and a new connection takes weeks to provision, which does not fit "as quickly as possible". Even once it arrived, it would only add one more 10 Gbps attachment on new hardware, which is a slower and costlier way to reach the same capacity that Options B and D reach on the existing bundle.
The correct answers are Options B and D. Both act on the real bottleneck, which is the attachment's provisioned capacity. Option D raises that capacity in place, and Option B adds a parallel attachment in the same region that shares the load through ECMP. Option A is the closest alternative because it also adds a second attachment, but the higher MED makes it a standby path rather than an active one, so it never carries any of the extra traffic.
For more on choosing the region and capacity of attachments, see our article on how to place and size Cloud Interconnect VLAN attachments.
A logistics company runs a fleet-tracking service on Compute Engine VMs in us-east4. Tracking devices across the internet open raw TCP connections on port 6100, and the protocol is not HTTP. The VMs run a vendor appliance that checks the source IP address in each arriving packet against an allowlist of registered devices. The appliance cannot be changed to read client details from added headers. All traffic is served from this one region. Which load balancer should the network team deploy?
Choose only ONE best answer.
A) External proxy Network Load Balancer with PROXY protocol enabled on its backend service
B) Internal passthrough Network Load Balancer with a regional backend service in us-east4
C) Global external Application Load Balancer with a backend service in us-east4
D) External passthrough Network Load Balancer with a regional backend service in us-east4
Three facts decide the load balancer here. The clients are on the public internet, the protocol is raw TCP on port 6100 rather than HTTP, and the appliance must see each device's real address in the source IP of every packet, with no way to read it from an added header. Everything is served from one region, so a regional load balancer is enough.
Option A is an external proxy Network Load Balancer with PROXY protocol. It accepts internet traffic and handles TCP, but as a proxy it ends the client's TCP session and opens a new one to the backend, so the packet source the VM sees is not the device. PROXY protocol passes the original client address along in an extra header, and the stem says the appliance cannot read added headers. The allowlist check would still fail.
Option B is an internal passthrough Network Load Balancer. A passthrough load balancer does keep the client IP, but this one only gets an internal address. Tracking devices on the public internet cannot reach it, so it fails the most basic requirement.
Option C is a global external Application Load Balancer. It only accepts HTTP and HTTPS traffic, so a non-HTTP protocol on port 6100 is out. It also ends the client connection at a Google Front End, which means the backends see a Google proxy address as the packet source. It fails on both counts.
Option D is an external passthrough Network Load Balancer with a regional backend service in us-east4. It forwards packets straight to the backends without ending the TCP connection, so the source IP the VM sees is the device's own public address. It handles any TCP port, so a custom protocol on port 6100 is fine, and being regional is no drawback because all traffic is served from us-east4. It meets every requirement.
The best answer is Option D. Option A is the closest alternative, since it is also an external load balancer for TCP and PROXY protocol is the usual way to pass client details through a proxy. That only helps when the backend can parse the PROXY protocol header, and this appliance can only check the address in the IP header itself. Of the external options, only the passthrough load balancer leaves that address untouched.
For more on how the two families of Network Load Balancers handle client connections, see our article on proxy vs passthrough Network Load Balancers.
A logistics company runs its workloads on a Shared VPC network that is owned by a central networking host project. Four application teams each have their own service project, and their VMs use subnets of the Shared VPC. Each team wants to create and maintain the Cloud DNS private zones for its own internal hostnames inside its own service project, without asking the networking team to make changes in the host project. VMs in any of the service projects must be able to resolve the records in every team's private zones. What should you do?
Choose only ONE best answer.
A) Create Cloud DNS private zones in each service project and add Cloud DNS forwarding zones that send queries to an inbound server policy on the host project's Shared VPC
B) Create Cloud DNS private zones in each service project and attach them to the host project's Shared VPC network by using cross-project binding
C) Create Cloud DNS response policy zones in each service project and add Cloud DNS peering zones that target the host project's Shared VPC network
D) Create Cloud DNS private zones in each service project and add Cloud DNS peering zones in each service project that target the host project's Shared VPC network
This question combines Shared VPC with Cloud DNS and sets two goals that must both hold. Each team must own and manage its private zones in its own service project, and VMs in every service project must be able to resolve every team's records. The deciding issue is how a private zone that lives in one project becomes visible to a VPC network that lives in another.
Option A creates private zones in each service project, then adds forwarding zones that send queries to an inbound server policy on the Shared VPC. The private zones are still not attached to the Shared VPC network, so the forwarded queries have nothing to answer with. The design also adds forwarding hops that serve no purpose.
Option B creates private zones in each service project and attaches them to the host project's Shared VPC network with cross-project binding. Cross-project binding lets a zone be owned in one project and authorized on a VPC network that belongs to another. Each zone stays in its team's service project, so the team keeps control of its own records. Binding does need one setup step on the host side: each team must be granted permission, on the host project, to bind zones to the Shared VPC network. That is a one-time IAM grant. After it, creating zones, editing records and binding new zones all happen in the service projects, with no further changes in the host project. Because every zone is bound to the same Shared VPC network, any VM that uses that network can resolve names from all of them. Both goals are met, with no extra resolvers to run.
Option C uses response policy zones together with peering zones. Response policy zones are meant to override or block specific DNS answers, not to host a team's normal internal namespace. Pairing them with peering zones does not fix visibility either, because nothing here attaches the teams' records to the Shared VPC network.
Option D creates private zones plus peering zones in each service project that target the Shared VPC network. Peering zones only help when the zone is visible to the network the peering targets. A private zone in a service project is not attached to the Shared VPC unless it is bound, so peering to the Shared VPC would not expose those records to anyone.
The best answer is Option B. Option D is the closest alternative, since it also keeps private zones in the service projects and points toward the Shared VPC. Peering only works when the target network can already see the zone, though, and nothing in Option D makes the zones visible to that network. Cross-project binding is the step that does, and once it is in place no peering or forwarding is needed.
A logistics company runs a fleet tracking service in a custom mode VPC network named ops-vpc with one subnet in europe-west3. The only firewall rule the team created allows ingress on TCP 443 from 203.0.113.0/24, and Firewall Rules Logging is enabled on that rule. An auditor tries to reach a VM in the subnet on TCP port 22 from an external address, and the connection times out. The security team checks Cloud Logging and finds no firewall log entries for the rejected connection attempts. They want denied connection attempts to appear in Cloud Logging, and they must not open any additional ports. What should they do?
Choose only ONE best answer.
A) Edit the implied deny ingress rule in the ops-vpc network settings and switch on Firewall Rules Logging for that rule
B) Enable VPC Flow Logs on the europe-west3 subnet and filter the log entries in Cloud Logging by the internal IP of the VM
C) Add an ingress rule that allows TCP 22 from the auditor's address at priority 1000 with Firewall Rules Logging turned on
D) Add an ingress rule that denies all protocols from 0.0.0.0/0 at priority 65534 and turn on Firewall Rules Logging for it
The only rule the team created allows TCP 443 from one range, so the SSH attempt falls through to the implied deny ingress rule at priority 65535 that every VPC network has. The team has two requirements: denied attempts must show up in Cloud Logging, and no new ports may be opened. To answer it, we need to know whether the rule doing the blocking can be logged, and if not, what can stand in for it.
Option A tries to edit the implied deny ingress rule and switch on logging for it. Implied rules are fixed, and you cannot change their settings, so there is no way to turn on Firewall Rules Logging for them. That is exactly why no log entries appeared in the first place. This option cannot be carried out.
Option B enables VPC Flow Logs on the subnet. Flow logs record samples of traffic that a VM actually sends or receives. They are a separate feature from firewall logging and will not show which firewall rule rejected a connection, so they do not give the team the denied-connection records it wants.
Option C adds an allow rule for TCP 22 from the auditor's address. That would let the auditor connect, which breaks the requirement not to open new ports. It would also only log allowed traffic, so the denied attempts the team wants to see would still go unrecorded.
Option D adds an ingress rule that denies all protocols from 0.0.0.0/0 at priority 65534, with logging turned on. Lower numbers mean higher priority, so this rule is evaluated after the existing HTTPS allow rule but before the implied deny at 65535. HTTPS from 203.0.113.0/24 still matches the allow rule first, nothing new is opened, and other TCP and UDP connection attempts, such as the auditor's SSH attempts, now hit a rule that is logged. This meets both requirements.
The best answer is Option D. Option A has the right idea, logging the rule that does the blocking, but the implied rule cannot be edited or logged. The way around that is to place your own catch-all deny rule just ahead of the implied one and log that rule instead. Because it blocks the same traffic the implied rule would have blocked, what the network allows does not change. Only its visibility does.
For more on rule priorities and how implied rules behave, see our article on VPC firewall rules in Google Cloud.
A retail analytics firm is linking its Frankfurt colocation facility to a VPC network in europe-west3 by using HA VPN. The network team has already provisioned the HA VPN gateway and an external VPN gateway resource that represents the on-premises VPN device. New subnets are added often on both sides, so prefixes must be learned automatically without anyone editing routes by hand. What should the team do next?
Choose only ONE best answer.
A) Deploy a second HA VPN gateway, build tunnels between the two gateways, and switch the VPC dynamic routing mode to global
B) Deploy a second HA VPN gateway, build tunnels between the two gateways, and add VPC firewall rules permitting TCP port 179
C) Create a Cloud Router, attach the HA VPN tunnels to it, and establish BGP sessions with the on-premises peer
D) Create a Cloud Router, attach the HA VPN tunnels to it, and add custom static routes that point to the on-premises prefixes
Both gateway resources already exist, so this question is about the next step. The deciding requirement is that new subnets on either side must be learned automatically, with no one editing routes by hand. Any option has to set up a way for the two sides to exchange prefixes on their own, toward the on-premises device that the external VPN gateway resource represents.
Option A deploys a second HA VPN gateway, builds tunnels between the two gateways and switches the VPC to global dynamic routing. Tunnels between two HA VPN gateways are how you connect two Google Cloud VPC networks to each other. Here the peer is an on-premises device that is already represented by the external VPN gateway resource. Global dynamic routing only controls which regions learn the routes, and it does nothing to set up route exchange in the first place.
Option B adds the same unneeded second gateway and then opens TCP port 179 in VPC firewall rules. BGP sessions run between the Cloud Router and the peer over the tunnel, not to VM instances, so those firewall rules are unnecessary. This option neither connects to the on-premises device nor sets up route exchange.
Option C creates a Cloud Router in the same region and network as the gateway, associates the HA VPN tunnels with it and establishes BGP sessions with the on-premises peer. Each tunnel gets a BGP session, with link-local addresses and ASNs on both sides, and the on-premises device and Google Cloud advertise their prefixes to each other. When a new subnet appears on either side, BGP carries it across without manual route edits. This meets the requirement.
Option D creates the Cloud Router and attaches the tunnels, but then adds custom static routes to the on-premises prefixes. Every new on-premises subnet would force someone to add another route by hand, which is exactly what the firm wants to avoid. HA VPN is meant to use BGP through Cloud Router anyway.
The best answer is Option C. Option D is the closest alternative because it also creates the Cloud Router and attaches the tunnels. It then falls back to static routes, which gives up the automatic learning the scenario asks for. With BGP sessions in place, prefixes flow in both directions as subnets are added on either side, which is the reason HA VPN is paired with Cloud Router.
A media analytics firm connects its VPC network in europe-west3 to a partner data center using Classic VPN. The tunnel was built with policy-based routing, and its remote traffic selector is 172.20.40.0/22. The engineer created the gateway and tunnel with the gcloud CLI, so Google Cloud did not add the matching static route automatically. The engineer now needs to run gcloud compute routes create to send traffic for 172.20.40.0/22 through the VPN. What should the engineer specify as the next hop?
Choose only ONE best answer.
A) The public IP address of the partner's on-premises VPN peer device in the data center
B) The default internet gateway, with a network tag that limits the route to VPN-bound hosts
C) The regional external IP address reserved for the Classic VPN gateway in europe-west3
D) The name of the Classic VPN tunnel and the region it belongs to
The tunnel already exists and uses policy-based routing with a remote traffic selector of 172.20.40.0/22. When you build such a tunnel in the Google Cloud console, the console creates the static routes for you. With gcloud, you have to create them yourself. The question is what a static route uses as its next hop when the goal is to send traffic into a Classic VPN tunnel.
Option A points the route at the partner's VPN peer device address. That address is the far end of the tunnel and is not reachable as a next hop inside the VPC network. A route that pointed there would not send traffic through the VPN.
Option B uses the default internet gateway with a network tag. The default internet gateway sends traffic out to the public internet without encryption. Adding a network tag only limits which instances use the route, and the private 172.20.40.0/22 range still would not be reachable that way.
Option C points the route at the Classic VPN gateway's regional external IP address. That address is only the local endpoint of the IPsec session, and a route cannot point to it as a next hop.
Option D names the Classic VPN tunnel and its region. A static route that sends traffic into a VPN uses the tunnel itself as the next hop. In gcloud compute routes create, you give the tunnel name with the --next-hop-vpn-tunnel flag and the tunnel's region with the --next-hop-vpn-tunnel-region flag. Traffic for 172.20.40.0/22 then enters the tunnel and is encrypted on its way to the partner network.
The best answer is Option D. Options A and C are the closest alternatives because they name the two endpoints of the IPsec session, so routing toward one of them can look reasonable. Neither is a valid next hop. The tunnel is the object that carries and encrypts the traffic, so it is what the route has to point to. The console would have created this same kind of route automatically, and with gcloud the engineer creates it by hand.
For more on how policy-based tunnels and traffic selectors work, see our article on Classic VPN route-based vs policy-based tunnels.
A media streaming company runs its HTTPS web front end on a managed instance group in us-east4. The instances sit in an IPv4-only subnet, and the security team has frozen that subnet's configuration for the rest of the year. Viewers in several countries use mobile carriers that give their devices only IPv6 connectivity, and these viewers cannot reach the site today. The company wants to serve these viewers from a single anycast IPv6 address without changing the backend instances or their subnet. What should the network engineer do?
Choose only ONE best answer.
A) Change the existing subnet to dual-stack and assign an external IPv6 address to the network interface of every instance in the managed instance group
B) Turn on NAT64 in a Cloud NAT gateway for the us-east4 region and publish a DNS64 record that maps the site's IPv4 address into an IPv6 prefix
C) Reserve a global external IPv6 address and attach it to the forwarding rule of a global external Application Load Balancer that uses the existing instance group
D) Create an external passthrough Network Load Balancer with an IPv6 forwarding rule in us-east4 and add the existing managed instance group as its backend
The requirements here are tightly fenced. IPv6-only viewers need to reach an HTTPS site, the site must be served from a single anycast IPv6 address, and neither the instances nor their IPv4-only subnet can change. The deciding question is which option can accept IPv6 from clients while still talking to backends that only have IPv4.
Option A converts the subnet to dual-stack and gives every instance an external IPv6 address. This would work technically, but converting the subnet is exactly what the security team has frozen. It would also give each VM its own address instead of one anycast address.
Option B turns on NAT64 in Cloud NAT and publishes a DNS64 record. NAT64 in Cloud NAT lets IPv6-only VMs start outbound connections to IPv4 destinations. That is the opposite direction from what is needed here, so it does not let outside IPv6 clients reach IPv4 servers.
Option C reserves a global external IPv6 address and attaches it to the forwarding rule of a global external Application Load Balancer that uses the existing instance group. This load balancer is a proxy, so it can accept the client connection on an IPv6 address and open a separate connection to the backend over IPv4. The global external IPv6 address is announced from Google's edge as an anycast address, which meets the single-address requirement. The load balancer also handles HTTPS termination, which fits a web front end, and nothing on the instances or the subnet has to change.
Option D uses an external passthrough Network Load Balancer with an IPv6 forwarding rule in us-east4. A passthrough load balancer does not proxy traffic, so an IPv6 forwarding rule needs backends that have IPv6 addresses, and these instances only have IPv4. It is also regional, so it does not provide a global anycast address.
The best answer is Option C. Option D is the closest alternative because it also puts a load balancer with an IPv6 frontend in front of the existing group. The difference is that a passthrough load balancer does not end the client connection, so the backends themselves need IPv6. A proxy ends the IPv6 connection itself and uses IPv4 toward the backends, which is what lets the frozen subnet stay exactly as it is.
A media streaming company runs Compute Engine backends in asia-northeast1, asia-northeast2, and asia-northeast3, all in one VPC network. On-premises systems reach Google Cloud over a single Dedicated Interconnect connection in a Tokyo colocation facility. Today that connection carries one VLAN attachment, paired with one Cloud Router, in asia-northeast1. The colocation facility supports VLAN attachments to all three of these regions, and the physical connection does not share a failure domain with any single Google Cloud region. The network team must make sure that if any one Google Cloud region fails completely, on-premises hosts can still reach every subnet in the surviving regions. Hybrid traffic is light, so data transfer charges can be ignored. Cost is judged only by the number of additional VLAN attachments and Cloud Routers that must be deployed. What should the team do?
Choose only ONE best answer.
A) Leave the VPC dynamic routing mode regional and add a second VLAN attachment and Cloud Router in asia-northeast1
B) Switch the VPC dynamic routing mode to global and add a second VLAN attachment and Cloud Router in asia-northeast2
C) Leave the VPC dynamic routing mode regional and add a VLAN attachment and Cloud Router in each of asia-northeast2 and asia-northeast3
D) Switch the VPC dynamic routing mode to global and add a second VLAN attachment and Cloud Router in asia-northeast1
This question has two parts. The design must keep on-premises hosts connected to every surviving region if any single Google Cloud region fails, and among the designs that do that, the cheapest wins, where cost means the number of new VLAN attachments and Cloud Routers. The stem has already settled the physical side, since the Tokyo facility can serve all three regions and the connection does not share a failure domain with any one region. What remains is where to place the hybrid paths and how their routes reach each region.
Option A keeps regional dynamic routing and adds a second attachment and Cloud Router in asia-northeast1. With regional routing, each Cloud Router exchanges routes only for its own region, so asia-northeast2 and asia-northeast3 would never have a hybrid path. And if asia-northeast1 goes down, both paths go down with it.
Option B switches to global dynamic routing and adds a second attachment and Cloud Router in asia-northeast2. With global routing, a Cloud Router applies the on-premises routes it learns to every region in the VPC network and advertises subnets from all regions to the on-premises router. The network now has hybrid paths in two regions, and each one can serve the whole network. If asia-northeast1 fails, the asia-northeast2 path still reaches asia-northeast2 and asia-northeast3. If asia-northeast2 fails, the original path still reaches asia-northeast1 and asia-northeast3. It adds one attachment and one router.
Option C keeps regional routing and adds an attachment and Cloud Router in each of asia-northeast2 and asia-northeast3. Every region then has its own hybrid path, so losing any one region leaves the other two connected. This does meet the availability goal, but it needs two new attachments and two new routers.
Option D switches to global routing but adds the second attachment and Cloud Router in asia-northeast1. Global routing lets either router serve all three regions, and the second pair protects against a single attachment or router failing. Both paths still live in asia-northeast1, though. If that region goes down, both hybrid paths go down with it, and on-premises hosts lose their way into asia-northeast2 and asia-northeast3.
The best answer is Option B. Option C is the closest alternative because it also survives the loss of any one region. Under the stated cost measure, though, it adds two attachments and two routers where Option B adds one of each. Global dynamic routing is what makes a single extra pair enough, because it lets one Cloud Router carry hybrid routes for regions other than its own.
For more on how the two modes decide which regions learn hybrid routes, see our article on regional vs global dynamic routing mode.
A logistics company has deployed three firewall virtual appliances in europe-west3. The appliances connect the company's VPC network to its data centers, which use the 172.16.0.0/12 range. The security team requires that every packet sent from the VPC to 172.16.0.0/12 is inspected by one of the appliances. The design must be active-active, which means new connections are distributed across all healthy appliances instead of one appliance handling everything while the others wait on standby. Connectivity to the data centers must also continue if any one appliance goes down. How should you configure routing in the VPC?
Choose only ONE best answer.
A) Create three static routes for 172.16.0.0/12 with priorities 100, 200, and 300, each one naming a different appliance VM instance as its next hop
B) Put the appliances behind an internal passthrough Network Load Balancer and create a 172.16.0.0/12 static route whose next hop is its forwarding rule
C) Put the appliances behind an internal Application Load Balancer and create a 172.16.0.0/12 static route whose next hop is its forwarding rule
D) Put the appliances behind an external passthrough Network Load Balancer and create a 172.16.0.0/12 static route whose next hop is its forwarding rule
The security team sets three conditions. All traffic from the VPC to 172.16.0.0/12 must pass through an appliance, new connections must be spread across every healthy appliance at the same time, and losing one appliance must not cut off the data centers. The question is which routing setup delivers all three, and the active-active condition is the one that separates the options most clearly.
Option A creates three static routes with priorities 100, 200 and 300, each pointing at a different appliance. Routes with different priorities only send traffic to the appliance on the lowest-numbered route. The other two appliances sit idle until that route stops being usable, for example because the first appliance's VM is stopped. That gives some failover, but it is an active-passive design, not active-active.
Option B puts the appliances behind an internal passthrough Network Load Balancer and creates a static route for 172.16.0.0/12 with the load balancer's forwarding rule as its next hop. Google Cloud supports this load balancer as the next hop of a custom static route. New connections to the range are hashed across all healthy appliances, and the health check removes a failed appliance from rotation while the others keep carrying traffic. Because the route sends everything for the range to the load balancer, no traffic can reach on premises without passing through an appliance. This meets all three conditions.
Option C uses an internal Application Load Balancer as the next hop. That load balancer is a proxy that only handles HTTP and HTTPS traffic, and it cannot be used as the next hop of a static route.
Option D uses an external passthrough Network Load Balancer as the next hop. That load balancer is built for traffic arriving from outside Google Cloud, and only internal passthrough Network Load Balancers are supported as route next hops, so this design is not available.
The best answer is Option B. Option A is the closest alternative because it does route the range through appliances and can fall back to the next route when the first one stops being usable. Its fixed priorities send all traffic to one appliance at a time, though, while the internal passthrough Network Load Balancer spreads new connections across every healthy appliance. That distribution is exactly what the active-active requirement asks for, and the health check covers the failure requirement at the same time.
Questions on the real Professional Cloud Network Engineer exam are scenario based like these. Each stem sets out requirements and constraints, such as a frozen subnet, a fixed cost measure or an appliance that cannot read headers, and the best answer is the one that satisfies all of them, not only the most obvious one. Working through every option, including the ones you rule out quickly, is good preparation for that style of question.
There are many more questions like these, each with a full explanation, in our Professional Cloud Network Engineer practice exams.