Google Cloud Professional Cloud Network Engineer · Difficulty

Medium PCNE practice questions

Applied — put a concept to work in a realistic situation. 118 medium questions available — no sign-up, always free.

Question 1 of 25

A retail company started with a single auto-mode VPC that automatically created a /20 subnet in every Google Cloud region. As they expand globally and plan to add many custom subnets, peer with a partner VPC, and tightly control IP address allocation per region, the network team is concerned about the fixed 10.128.0.0/9 range auto mode uses and the risk of overlap with the partner. What is the recommended approach to gain full control of subnet CIDR planning while preserving existing workloads?

Reviewed for accuracy · Report an issue
Question 2 of 25

You are designing a new production VPC for a retail company. The network must connect to two on-premises data centers via HA VPN, and the on-premises teams have already allocated the 10.128.0.0/9 range for their infrastructure. The cloud team wants precise control over which regions have subnets and the exact CIDR ranges used, to avoid any overlap with on-premises addressing. Which VPC design should you choose?

Reviewed for accuracy · Report an issue
Question 3 of 25

You are designing a new production VPC for a company that will initially deploy workloads in us-central1 and europe-west1, with plans to add three more regions over the next two years. The network team requires strict control over which subnet CIDR ranges exist in each region and wants to avoid any automatically created subnets that could later overlap with on-premises ranges reachable over Cloud Interconnect. Which VPC design best meets these requirements?

Reviewed for accuracy · Report an issue
Question 4 of 25

Your company runs a Classic VPN gateway connecting its on-premises data center to a Google Cloud VPC. The Classic VPN uses static routes and a single tunnel. Leadership now requires a 99.99% availability SLA for this hybrid connection. Which approach correctly migrates the connectivity to meet the SLA requirement?

Reviewed for accuracy · Report an issue
Question 5 of 25

A retail company runs a public storefront behind a global external Application Load Balancer with a Cloud Armor security policy attached to the backend service. During a flash sale, the site experiences a sudden surge of HTTP requests that appear to originate from thousands of distinct IP addresses with subtly varied request patterns, overwhelming the backends. The security team cannot manually author rate-limit or IP-deny rules fast enough to keep pace with the shifting attack signatures. Which Cloud Armor capability should they enable to automatically detect and generate a suggested mitigation rule for this Layer 7 volumetric attack?

Reviewed for accuracy · Report an issue
Question 6 of 25

Your company serves static assets from a Cloud Storage backend bucket behind a global external Application Load Balancer with Cloud CDN enabled. Security wants to block requests from a list of known malicious IP ranges as early as possible—ideally at Google's edge and even for cached content served by CDN—before those requests reach the backend bucket or consume cache resources. Which Cloud Armor configuration meets this requirement?

Reviewed for accuracy · Report an issue
Question 7 of 25

Your security team wants to allow a large SaaS partner's published IP ranges to reach your global external Application Load Balancer while blocking all other source IPs. The partner distributes their egress ranges as a curated list that Google maintains and updates automatically. You must implement this in a Cloud Armor security policy with minimal ongoing maintenance and without exceeding rule limits from listing hundreds of individual CIDRs. Which approach should you use?

Reviewed for accuracy · Report an issue
Question 8 of 25

You manage a Google Cloud Armor security policy attached to a global external Application Load Balancer serving a production e-commerce site. Your security team wants to introduce a new WAF rule that blocks requests matching a broad regular expression, but they are concerned it may inadvertently block legitimate customer traffic. They need to evaluate the real-world impact of the rule against live production traffic before it actually starts denying any requests. What should you configure?

Reviewed for accuracy · Report an issue
Question 9 of 25

An e-commerce company runs a public web application behind a global external Application Load Balancer protected by Google Cloud Armor. During flash sales, individual clients sometimes send bursts of requests to the /api/checkout path, degrading the backend for everyone. The security team wants to allow legitimate traffic to continue but automatically throttle any single client IP that exceeds 100 requests per minute to that path, without permanently blocking the client. Which Cloud Armor configuration meets this requirement?

Reviewed for accuracy · Report an issue
Question 10 of 25

A media company serves images through a global external Application Load Balancer with Cloud CDN enabled and cache mode set to CACHE_ALL_STATIC. An editor replaces the file at /assets/hero.jpg with corrected artwork, but users worldwide continue to receive the old image because it is still cached at Google's edge locations with a long TTL. The team needs the corrected image served immediately without waiting for the TTL to expire, and they want to minimize disruption to other cached content. What should they do?

Reviewed for accuracy · Report an issue
Question 11 of 25

A media company hosts static images and CSS/JS bundles on a Cloud Storage bucket fronted by a global external Application Load Balancer with Cloud CDN enabled. The origin responses do NOT include any Cache-Control headers. The team wants Cloud CDN to cache as much of this static content as possible without requiring the developers to modify origin headers, while still respecting any explicit no-cache directives if they are added later. Which Cloud CDN cache mode should they configure?

Reviewed for accuracy · Report an issue
Question 12 of 25

Your company hosts a large library of static marketing assets (images, PDFs, videos) in a Cloud Storage bucket. You want to serve these assets globally with low latency and caching, using a global external Application Load Balancer with Cloud CDN enabled. The team wants the simplest configuration that requires no compute instances and lets Cloud CDN cache directly from the bucket. Which backend configuration should you use?

Reviewed for accuracy · Report an issue
Question 13 of 25

Your team runs a global external Application Load Balancer with Cloud CDN enabled in CACHE_ALL_STATIC mode fronting a backend service. During a recent origin outage, clients received many HTTP 404 and 5xx responses. You notice these error responses are being cached at the edge with default TTLs, and stale 404s continued to be served to users even after the objects were restored on the origin. You want to keep error responses out of the cache (or minimize how long they are cached) while retaining normal caching for successful static content. What should you configure?

Reviewed for accuracy · Report an issue
Question 14 of 25

A media streaming company uses an external Application Load Balancer with Cloud CDN enabled to deliver video content stored in a Cloud Storage backend bucket. Each video is segmented into hundreds of individual files (manifests and chunks) that must all be protected so only paying subscribers can access them. The company wants to authorize access to an entire set of files with a single authorization step per user session, rather than issuing a separate token for every file. Which Cloud CDN access-control mechanism should they use?

Reviewed for accuracy · Report an issue
Question 15 of 25

A media company serves premium video files from a Cloud Storage bucket that is configured as a backend bucket behind a global external Application Load Balancer with Cloud CDN enabled. The company wants to ensure that only paying subscribers can download individual video files, and each access grant must automatically expire after a short time window. They do not want to modify the client application to send custom authentication headers, and access should be enforced at the CDN edge before the origin is contacted. Which approach should they implement?

Reviewed for accuracy · Report an issue
Question 16 of 25

A financial services company hosts its public domain 'example-bank.com' in a Cloud DNS public managed zone. Security auditors require protection against DNS cache poisoning and spoofing so that resolvers can cryptographically validate the authenticity of DNS responses. What should the network engineer do?

Reviewed for accuracy · Report an issue
Question 17 of 25

Your company runs an internal application in a Google Cloud VPC. Applications on Compute Engine instances must resolve hostnames in the internal domain 'corp.example.internal', which is managed by DNS servers running in your on-premises data center reachable over an existing HA VPN connection (private IP 10.20.0.53). Google Cloud must send queries for this domain to the on-premises resolver, but all other queries should continue to use Google's default resolution. What should you configure in Cloud DNS?

Reviewed for accuracy · Report an issue
Question 18 of 25

A retailer runs workloads in a Google Cloud VPC and maintains a large on-premises data center connected via HA VPN. Applications in the VPC must resolve private hostnames hosted by the on-premises Microsoft AD DNS servers, and on-premises clients must resolve records for private Cloud DNS zones used by the cloud workloads. The team wants a fully managed solution without deploying and maintaining DNS proxy VMs in Google Cloud. Which Cloud DNS configuration should they implement?

Reviewed for accuracy · Report an issue
Question 19 of 25

A retail company runs an internal application in a Google Cloud VPC. The same hostname, app.retail.internal, must resolve to a private RFC 1918 address for clients inside the VPC, but to a public-facing external IP for clients querying from the internet. The DNS team wants a Google-managed solution that avoids maintaining separate hostnames and works without deploying custom DNS servers. Which Cloud DNS approach should they implement?

Reviewed for accuracy · Report an issue
Question 20 of 25

A financial services company is designing a Dedicated Interconnect connection between their on-premises data center and Google Cloud. A compliance requirement mandates that all traffic traversing the physical link between their edge router and Google's peering edge must be encrypted at Layer 2. The design must minimize latency overhead and avoid tunnel-based encryption. Which approach should the network engineer choose?

Reviewed for accuracy · Report an issue
Question 21 of 25

You operate a production VPC connected to on-premises via HA VPN. Last week a tunnel went down for 40 minutes before anyone noticed, causing an outage. The network team wants to be paged immediately whenever any VPN tunnel loses its BGP session or drops. Using Google Cloud Observability, what is the most appropriate way to implement this proactive notification?

Reviewed for accuracy · Report an issue
Question 22 of 25

Your company runs a fleet of Compute Engine VMs without external IP addresses in a subnet that uses Cloud NAT for internet egress. A SaaS partner requires that all outbound requests to their API originate from a small, fixed set of source IP addresses that you must provide to them for allowlisting. Currently the Cloud NAT gateway is configured with automatic NAT IP address allocation. What should you do to meet the partner's requirement while continuing to allow egress?

Reviewed for accuracy · Report an issue
Question 23 of 25

You configured an HA VPN tunnel between Google Cloud and an on-premises router. The tunnel status shows 'Established', but the BGP session on the Cloud Router remains in a state where routes are not being exchanged. You verify that the Cloud Router uses Google ASN 65001 and advertises subnet routes correctly. On the on-premises side, the peer is configured with ASN 65001 as its local ASN, and the BGP peer IP addresses fall within the same /30 link-local range you assigned in the BGP session configuration. What is the most likely cause of the BGP session failure?

Reviewed for accuracy · Report an issue
Question 24 of 25

Your company runs an HA VPN connection between an on-premises data center and a Google Cloud VPC named prod-vpc. The Cloud Router uses BGP to exchange routes. The on-premises router currently learns the subnet ranges in prod-vpc. You have now enabled Private Google Access and want the on-premises hosts to also reach Google APIs through the tunnel using the restricted.googleapis.com range (199.36.153.4/30), which is NOT a subnet in your VPC. What is the correct way to make the on-premises router learn this range via BGP?

Reviewed for accuracy · Report an issue
Question 25 of 25

Your company runs an HA VPN connection between an on-premises data center and a Google Cloud VPC, using a Cloud Router with BGP. During periods of transient network latency on the WAN link, the BGP sessions repeatedly drop and re-establish, causing routes to flap and briefly interrupting traffic. The on-premises router administrator asks what BGP timer setting on the Cloud Router side you can adjust to make the session more tolerant of brief connectivity interruptions before it is declared down. What should you do?

Reviewed for accuracy · Report an issue