Google Associate Cloud Engineer Question 99
Select 3Google Cloud PlatformYou are tasked with deploying a web application on Google Cloud Platform utilizing a managed instance group that automatically scales based on CPU usage. You have already created an instance template. What are the necessary steps you should take to set up this autoscaled managed instance group?
- A
Create a managed instance group using the instance template.
- B
Configure an autoscaler for the managed instance group with a target CPU utilization.
- C
Manually add instances to the managed instance group to ensure it scales.
- D
Set up a health check to ensure instances are automatically replaced when they fail.
- E
Configure a firewall rule to allow traffic to the instances.
Show answer and explanation
Correct answers: A, B, D
Explanation
To create an autoscaled managed instance group on Google Cloud Platform, you need to create the instance group using an instance template, configure an autoscaler for dynamic scaling based on metrics such as CPU usage, and set up a health check to automatically replace unhealthy instances. Manually adding instances is not required as the autoscaler handles scaling. Although configuring a firewall rule is important for network traffic, it is not directly related to the autoscaling setup.
- A. Correct.
Creating a managed instance group using the instance template is the first step to deploy your application.
- B. Correct.
Configuring an autoscaler is necessary to ensure the group scales based on CPU usage.
- C. Incorrect.
Instances in managed instance groups are automatically managed by Google Cloud; manual scaling is not required.
- D. Correct.
A health check is necessary for the autoscaler to determine when instances should be replaced.
- E. Incorrect.
While configuring a firewall rule is important for connectivity, it is not directly related to setting up autoscaling.