Google Professional Cloud Network Engineer Question 397
Single answerGoogle Cloud PlatformYou are tasked with deploying a scalable, highly available web application on Google Cloud. The application requires traffic to be distributed across multiple virtual machine instances running in multiple regions. Which type of instance group and additional configuration would you use to meet these requirements?
- A
Managed instance group with auto-scaling and a global load balancer
- B
Unmanaged instance group with a regional load balancer
- C
Managed instance group without auto-scaling and a regional load balancer
- D
Unmanaged instance group with manual instance scaling and a global load balancer
Show answer and explanation
Correct answer: A
Explanation
To deploy a scalable, highly available web application, a managed instance group (MIG) is the best choice as it offers auto-scaling, auto-healing, and seamless integration with load balancers. A global load balancer is required to distribute traffic across multiple regions, ensuring high availability and performance for users worldwide.
- A. Correct.
Correct. Managed instance groups (MIGs) with auto-scaling allow for dynamic scaling of instances based on demand, and a global load balancer ensures distribution of traffic across multiple regions.
- B. Incorrect.
Incorrect. Unmanaged instance groups do not support auto-healing or auto-scaling, making them unsuitable for a scalable and highly available application.
- C. Incorrect.
Incorrect. While managed instance groups do support load balancing, omitting auto-scaling would limit the scalability of the application. Additionally, a regional load balancer would not distribute traffic across multiple regions.
- D. Incorrect.
Incorrect. Unmanaged instance groups require manual management of instances, which is not ideal for scalability. A global load balancer would be underutilized without the benefits of a managed instance group.