Google Cloud Professional Cloud Network Engineer — Question 236
Your company’s web application was just deployed on Compute Engine VMS in multiple Google Cloud regions. You have created multiple instance groups and you need to distribute traffic between these VMs. You want your users to automatically connect to the backend that is located in the closest region while following Google-recommended practices. What should you do?
Answer options
- A. Create one global external Application Load Balancer and multiple backend services. Ensure that each backend service contains one backend. Point each backend to a different instance group.
- B. Create one global external Application Load Balancer and one backend service with multiple backends. Point each backend to a different instance group.
- C. Create two global external Application Load Balancers with one backend service and one backend. Point each back end to a different instance group.
- D. Create two global external Application Load Balancers with multiple backend services. Ensure that each backend service contains one backend. Point each backend to a different instance group.
Correct answer: B
Explanation
The correct answer is B because it allows for a single global load balancer to efficiently distribute traffic to multiple backends, ensuring users connect to the nearest instance group. Option A is less efficient as it requires multiple backend services, while C and D introduce unnecessary complexity with multiple load balancers and backend services, which is not in line with Google-recommended practices.