Google Professional Cloud Network Engineer Question 396
Single answerGoogle Cloud PlatformYou are designing a scalable and highly available web application on Google Cloud. The application must automatically scale based on CPU utilization and distribute traffic across multiple instances. Which type of instance group should you use to meet these requirements?
- A
Managed instance group with auto-scaling enabled
- B
Unmanaged instance group with load balancing enabled
- C
Single VM instance with a static IP address
- D
Managed instance group without auto-scaling
Show answer and explanation
Correct answer: A
Explanation
To meet the requirements of scalability and high availability, a managed instance group (MIG) with auto-scaling enabled is the best choice. MIGs automatically adjust the number of instances in response to demand and can be integrated with load balancers to distribute traffic efficiently.
- A. Correct.
This is the correct option. Managed instance groups (MIGs) support features like auto-scaling and load balancing, making them ideal for scalable and highly available applications.
- B. Incorrect.
Unmanaged instance groups do not support auto-scaling. They are manually managed and are not suitable for applications requiring dynamic scaling.
- C. Incorrect.
A single VM instance cannot meet the requirements for scalability and high availability, as it lacks redundancy and auto-scaling capabilities.
- D. Incorrect.
While a managed instance group without auto-scaling can offer some benefits, it does not meet the requirement for automatic scaling based on CPU utilization.