Google Professional Cloud Network Engineer Question 399
Single answerGoogle Cloud PlatformYou are tasked with deploying a highly available and scalable web application on Google Cloud. The application requires automatic scaling based on CPU utilization and must distribute traffic across multiple instances to ensure reliability. Which type of instance group should you use to meet these requirements?
- A
Managed instance group
- B
Unmanaged instance group
- C
Single virtual machine instance
- D
Stateful instance group
Show answer and explanation
Correct answer: A
Explanation
To deploy a highly available and scalable web application, Managed Instance Groups (MIGs) are the best choice. They provide automatic scaling based on metrics like CPU utilization, support for distributing traffic using load balancers, and ensure high availability by automatically recreating instances if they fail. In contrast, unmanaged instance groups and single virtual machine instances lack these automated features, and stateful instance groups are unsuitable for this stateless web application scenario.
- A. Correct.
Managed instance groups (MIGs) support autoscaling, load balancing, and automated updates, making them ideal for highly available and scalable applications.
- B. Incorrect.
Unmanaged instance groups do not support autoscaling or automated management features. They are typically used for manual configurations and do not meet the requirements for this scenario.
- C. Incorrect.
A single virtual machine instance cannot provide scalability or high availability since it is a single point of failure and lacks the ability to scale automatically.
- D. Incorrect.
Stateful instance groups are designed for workloads that require stateful configurations, such as maintaining persistent disks for each instance, which is not relevant to the scenario.