Google Professional Cloud Network Engineer Question 398
Single answerGoogle Cloud PlatformYou are tasked with setting up a highly available backend service on Google Cloud. The service must automatically scale based on traffic demand and distribute traffic across multiple instances in different regions. Which configuration should you use to meet these requirements?
- A
Create a single unmanaged instance group and configure it with a load balancer.
- B
Create multiple unmanaged instance groups in different regions and configure them with a global load balancer.
- C
Create a single regional managed instance group and configure it with an HTTP(S) load balancer.
- D
Create multiple regional managed instance groups in different regions and configure them with a global load balancer.
Show answer and explanation
Correct answer: D
Explanation
To achieve high availability and traffic distribution across multiple regions, you need to use multiple regional managed instance groups configured with a global load balancer. Managed instance groups ensure autoscaling and auto-healing, while a global load balancer provides efficient traffic distribution across regions, meeting the requirements of the scenario.
- A. Incorrect.
Unmanaged instance groups do not support autoscaling or auto-healing, making them unsuitable for a highly available service that scales with traffic demand.
- B. Incorrect.
While unmanaged instance groups can be deployed in multiple regions, they lack features like autoscaling and are not recommended for highly dynamic or scalable environments.
- C. Incorrect.
A single regional managed instance group can provide autoscaling and high availability within a single region, but it cannot distribute traffic across multiple regions, which is a requirement in this scenario.
- D. Correct.
Multiple regional managed instance groups in different regions, combined with a global load balancer, enable both autoscaling and traffic distribution across regions, fulfilling the requirements for high availability and scalability.