Configuring managed network services
Drill 20 practice questions focused entirely on Configuring managed network services for the Google Cloud PCNE exam. Tap an answer for instant feedback and a full explanation — no sign-up, always free.
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?
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?
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?
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?
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?
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?
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?
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?
You manage a global external Application Load Balancer serving a stateless web application backed by two managed instance groups (MIGs) in different regions. During a regional traffic spike, one MIG becomes overloaded and returns high latency, even though the second MIG has spare capacity. You want the load balancer to distribute new connections based on backend CPU load and to stop sending new requests to backends that are already near their capacity limit. Which backend service configuration should you apply?
A media company runs a global external Application Load Balancer to serve its website. Static assets (images, CSS, JS) are stored in a Cloud Storage bucket, while dynamic API traffic must be routed to VM-based backends running in a managed instance group in us-central1 and europe-west1. The team wants a single anycast IP and URL map that directs '/static/*' requests to the bucket and all other requests to the VMs, with static assets cached at Google's edge. Which configuration meets these requirements?
You configured an external Application Load Balancer (global) with a backend service pointing to a managed instance group of Compute Engine VMs. The load balancer's HTTP health check is configured correctly to probe port 80 at path /healthz, and the application is confirmed running and responding on the VMs. However, all backends are shown as UNHEALTHY in the console and no traffic is served. Egress rules are set to allow-all. What is the most likely cause?
Your company is migrating a legacy web application to Google Cloud incrementally. During the transition, the application still runs on servers in your on-premises data center, which is reachable via Cloud Interconnect. You need to expose this on-premises application through a global external Application Load Balancer so you can gradually shift traffic to new Compute Engine backends and take advantage of Cloud CDN and Google-managed TLS certificates. Which backend configuration allows the load balancer to route traffic to the on-premises servers?
Your team runs a public marketing site fronted by a global external Application Load Balancer. A new feature requires exposing an HTTP-triggered Cloud Run functions (formerly Cloud Functions 2nd gen) function under the path /api/subscribe on the same domain and certificate as the existing site. You must route requests to the function through the existing load balancer without provisioning any VMs or managing instance groups. What is the correct way to attach the function as a backend?
Your security team requires that a global external Application Load Balancer serving api.example.com only negotiate TLS 1.2 or higher and disable known-weak cipher suites, while still supporting a broad range of modern clients. The load balancer already has a valid Google-managed certificate attached to its target HTTPS proxy. What is the recommended way to enforce these requirements?
Your company runs a single web property behind a global external Application Load Balancer. The frontend serves under one hostname, www.example.com. Requests to paths starting with /api/ must be routed to a backend service backed by a Kubernetes NEG cluster, requests to /static/ must go to a Cloud Storage backend bucket, and all other requests must go to a default backend service running the main web app. All three backends already exist and pass health checks. What is the correct way to implement this routing on the load balancer?
Your company runs a real-time gaming service on Compute Engine instances in a single region. Clients connect over UDP to a public IP. You need a Google Cloud load balancer that preserves client source IP, distributes UDP traffic across a managed instance group, and provides pass-through (non-proxied) delivery so the backends see the original packets unchanged. Which load balancer and health check configuration should you deploy?
Your team runs a UDP-based gaming service on Compute Engine instances in us-central1. You need a regional external passthrough Network Load Balancer that supports weighted distribution across backends, connection draining during instance removal, and non-legacy health checks. You are choosing the backend architecture for the load balancer. Which configuration meets these requirements?
A gaming company runs a stateful multiplayer backend on a managed instance group behind an external passthrough Network Load Balancer (regional). During autoscaling scale-in events and rolling updates, players frequently report abrupt disconnections mid-session because active TCP connections to backends being removed are terminated immediately. The team wants to allow existing TCP connections to complete gracefully (up to 5 minutes) while preventing new connections from reaching instances being removed. Which configuration should they apply?
Your company runs a global external Application Load Balancer serving traffic for three domains: www.example.com, shop.example.com, and api.example.com. Currently you manage separate self-signed certificates that require manual renewal, causing occasional outages when they expire. You want Google to automatically provision and renew certificates for all three domains with the least operational overhead. What should you do?
Your company runs an internal microservices platform. A new Cloud Run service must be reachable only from clients inside the VPC and from on-premises networks connected via HA VPN, using a private RFC 1918 IP address and a friendly internal hostname. You need to route requests to the Cloud Run service through a load balancer. Which configuration meets these requirements?
More PCNE practice
Keep going with the other Google Cloud Professional Cloud Network Engineer domains, or take a full timed mock exam.
← Back to PCNE overview