Original study notes for cloud certification exams — Google Cloud first, more clouds in build.

Cloud Load Balancing Study Notes

Cloud Load Balancing distributes traffic across backend instances, containers, or network endpoint groups while presenting a single entry point to clients. Google Cloud offers a family of global and regional, external and internal load balancers, and the ACE exam tests whether you can pick the correct type from protocol, scope, and client location clues.

Exam tip: Solve load balancer questions in order: external or internal first, then Layer 7 or Layer 4, then global or regional — that sequence eliminates most wrong options.

Key facts

What the exam expects you to know

Cloud Load Balancing vs DNS Round Robin: when to use which

Use Cloud Load Balancing instead of DNS round robin whenever you need health-aware routing, instant removal of failed backends, session control, or a single stable IP address. DNS round robin distributes names but clients cache records, failed backends keep receiving attempts until TTLs expire, and there is no protocol-aware routing. A global Application Load Balancer solves all of those problems with anycast routing and continuous health checks. For the exam, any mention of unhealthy instances still receiving traffic, global users, or HTTPS termination points firmly to a managed load balancer, not DNS tricks. See also the DNS Round Robin notes.

Useful gcloud commands

gcloud compute health-checks create http my-health-check --port=80
gcloud compute backend-services create my-backend --protocol=HTTP --health-checks=my-health-check --global
gcloud compute url-maps create my-url-map --default-service=my-backend
gcloud compute forwarding-rules list

Common exam traps

Frequently asked questions

When should I choose an Application Load Balancer over a Network Load Balancer?

Choose an Application Load Balancer when traffic is HTTP or HTTPS and you need features such as host and path-based routing, SSL termination, Cloud CDN, or Cloud Armor integration. Choose a Network Load Balancer for non-HTTP TCP or UDP protocols, for preserving client behaviour at Layer 4, or when the application protocol is not understood by a Layer 7 proxy.

Why does my load balancer return 502 errors when VMs are running?

The most common cause is failing health checks. If the health check protocol, port, or path does not match what the application actually serves, or a firewall rule blocks Google's health check probe ranges, backends are marked unhealthy and the load balancer has nowhere healthy to send traffic. Verify the health check configuration and firewall rules before suspecting the instances.

What is an internal load balancer used for?

An internal load balancer distributes traffic over a private IP address inside your VPC, typically between application tiers that should never be exposed to the internet. For example, web servers can call a pool of application servers through one stable internal address with health checking and failover, gaining load balancing benefits while keeping the backend tier completely private.

Study aid disclaimer: Cloud Cert Notes is an independent educational study aid. It is not affiliated with, endorsed by, or sponsored by Google, Microsoft, Amazon, Oracle, or Alibaba. Google Cloud, Associate Cloud Engineer, and Cloud Digital Leader are trademarks of Google LLC; all other certification names and product names are trademarks of their respective owners. Always confirm service details against the official provider documentation before sitting an exam.