GCP ACE · Question 20 · Domain 3.1: Deploying and implementing Compute Engine resources
You have deployed a web application on a Managed Instance Group (MIG). You want the group to automatically add more instances when the average CPU utilization across the group exceeds 70%, and remove instances when it drops below that threshold.
How should you configure the MIG?
You have deployed a web application on a Managed Instance Group (MIG). You want the group to automatically add more instances when the average CPU utilization across the group exceeds 70%, and remove instances when it drops below that threshold.
How should you configure the MIG?
Answer options:
Create a Cloud Monitoring alert that triggers a Cloud Function to resize the MIG when CPU exceeds 70%.
Enable autoscaling and set the autoscaling metric to CPU utilization with a target of 70%.
Configure a Load Balancer to distribute traffic only to instances with less than 70% CPU.
Set the MIG's autohealing health check to fail if CPU exceeds 70%.
How to approach this question
Full Answer
Common mistakes
Practice the full GCP Associate Cloud Engineer Practice Exam 3
50 questions · hints · full answers · grading
Expert