Get Your CertGoogle Cloud Associate Cloud EngineerPlayCompete
‹ All Google Cloud Associate Cloud Engineer questions

GCP Associate Cloud Engineer Practice Question 17: Global Load Balancer Multi Region

Google Cloud Associate Cloud Engineer · Test 2 · question 7 of 10

Load Balancingmedium

A public web application runs on managed instance groups in us-central1 and europe-west1. You want one external IP address for the site, and users should be routed to the closest healthy region, with traffic failing over to the other region if one becomes unhealthy.

Which load balancer should you use?

Select one answer
Show answer and explanation

Answer:

  • C. A global external Application Load Balancer with a backend service that includes both instance groups

A global external Application Load Balancer uses a single anycast IP address, is reachable worldwide, and its backend service can contain instance groups from several regions. It sends each request to the closest backend with capacity and health checks ensure that traffic shifts to the healthy region.

Option A is regional, so its backends must be in a single region. Option B is a regional passthrough load balancer, so one address cannot serve two regions. Option D can spread clients between two addresses but cannot detect an unhealthy backend, and clients cache answers, so failover is slow and unreliable.

Reference: Choose a load balancer

Practice Test 2 ›

Study guides for Google Cloud Associate Cloud Engineer