Bitzu

Associate Cloud Engineer ยท Connectivity, load balancing and network tiers

Choosing a load balancer

Application vs network vs proxy vs passthrough, external vs internal, global vs regional, backend services, health checks, URL maps, the decision tree.

Key points

  • HTTP(S) with path or host routing: Application Load Balancer (layer 7).
  • Other TCP/SSL proxying: proxy Network Load Balancer.
  • Packets forwarded untouched (client IP kept, TCP/UDP): passthrough Network Load Balancer.
  • Then pick external or internal, global or regional.
  • Application LB flow: forwarding rule, target proxy, URL map, backend service (with a health check), backends.

Source: https://docs.cloud.google.com/network-tiers/docs/overview

Practice questions

Single choice

Which load balancer component maps request hosts and URL paths to backend services?

  1. Forwarding rule
  2. Health check
  3. URL map
  4. Instance group
Show answer

Answer: C. URL map

The URL map holds the host and path rules. The forwarding rule only supplies the IP and port, and the health check only evaluates backends.

Select all that apply

Which statements about an external passthrough Network Load Balancer are true?

  1. Backends can see the original client IP address.
  2. It can balance UDP traffic.
  3. It routes requests by URL path.
  4. It uses health checks to decide which backends get traffic.
  5. It requires a target HTTP proxy.
Show answer

Answer: A. Backends can see the original client IP address., B. It can balance UDP traffic., D. It uses health checks to decide which backends get traffic.

Passthrough balancers forward packets without terminating the connection, so backends see the client IP; they handle UDP as well as TCP and rely on health checks. They do not read URL paths and do not use an HTTP target proxy.

True or false

True or false: an internal Application Load Balancer is reachable by clients on the public internet.

Show answer

Answer: False

False. Internal load balancers use internal addresses and serve clients inside your VPC or connected networks.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More Associate Cloud Engineer topics in this module