Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Professional Cloud Developer practice bank has an additional 608 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
You are designing the networking architecture for an internet-facing cloud-native application on Google Cloud with two distinct workloads:
/api/* requests to Compute Engine instance groups and /static/* requests to a Cloud Storage bucket.Which combination of Google Cloud load balancers should you deploy?
This option assigns a Regional external passthrough Network Load Balancer (Layer 4) to the HTTPS web portal and a Regional external Application Load Balancer (Layer 7) to the UDP telemetry collector. This completely inverts the OSI layer capabilities required by each workload.
/api/* and /static/* path routing, and cannot route to Cloud Storage backend buckets.Neither option could be correct as paired here; however, a Regional external Application Load Balancer is ideal for regional HTTPS workloads needing Layer 7 routing and jurisdictional TLS termination, while a Regional external passthrough Network Load Balancer is ideal for UDP workloads needing source IP preservation.
Always match HTTP(S) application-layer features (URL maps, SSL offload, backend buckets) to Application Load Balancers, and non-HTTP transport protocols (UDP, ICMP, raw TCP with DSR) to passthrough Network Load Balancers.
This architecture pairs a Layer 7 proxy-based load balancer with a Layer 4 passthrough load balancer so each workload uses the networking layer suited to its protocol and routing needs. A Global external Application Load Balancer operates at Layer 7 (HTTP/HTTPS) using Google Front Ends (GFEs) and Envoy proxies to inspect application-level attributes. A Regional external passthrough Network Load Balancer operates at Layer 4 using Maglev to forward transport-level packets directly to backend VMs without terminating the connection.
/api/* requests to Compute Engine instance groups and /static/* requests to a Cloud Storage backend bucket.No single Google Cloud load balancer supports both Layer 7 URL path-based routing to Cloud Storage buckets and non-proxied UDP forwarding with source IP preservation. Assigning each workload to its dedicated OSI layer delivers maximum performance, security, and feature compatibility.
A Global external proxy Network Load Balancer is a Layer 4 reverse proxy built on Google Front Ends (GFEs) and Envoy proxies. While pairing a Global external Application Load Balancer for the web portal is correct, using a proxy Network Load Balancer for the UDP telemetry collector misaligns with the workload's transport protocol and packet-handling requirements.
TLSRoute resources on Envoy-based proxy Network Load Balancers, but remains restricted to TCP.The telemetry collector communicated over TCP (with or without TLS), required global multi-region load balancing or SSL offloading at Google's edge, and did not require preserving the original client source IP address in the packet header.
Choosing between a proxy and a passthrough Layer 4 load balancer depends on whether you need proxy features like SSL offload and TCP connection termination at the edge, or raw UDP support and source IP preservation.
A Global external proxy Network Load Balancer distributes Layer 4 TCP traffic across multiple regions using a target TCP proxy or target SSL proxy. Attempting to handle both an HTTPS web application and a UDP telemetry service with this load balancer overlooks critical differences between Layer 7 and Layer 4 capabilities.
/api/* and /static/* traffic.TLSRoute on Envoy-based modes, but cannot parse HTTP URLs.Both workloads used TCP-based protocols (such as custom binary protocols or encrypted non-HTTP databases) that only needed port-based or SNI-based routing without URL path inspection, Cloud Storage backend buckets, or UDP support.
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