You are migrating a legacy web service from a single VM to a managed instance group (MIG). The service must always have capacity for at least two concurrent instances, but to control costs it must never exceed ten instances. The operations team wants the group to expand quickly when its average CPU utilization rises above 70 percent for one minute and shrink again when the load falls below that level. Which autoscaling policy configuration for the MIG best satisfies these requirements?
Configure minNumReplicas = 0, maxNumReplicas = 10, and a CPU utilization target of 0.4 with a 60-second cool-down period.
Configure minNumReplicas = 2, maxNumReplicas = 10, a CPU utilization target of 0.55, and separate cool-down periods of 60 seconds for scale-out and 120 seconds for scale-in.
Configure minNumReplicas = 2, maxNumReplicas = 10, and a CPU utilization target of 0.7 with a 60-second cool-down period.
Configure minNumReplicas = 2, maxNumReplicas = 10, and add a schedule-based autoscaling policy that starts new VMs when CPU exceeds 70 percent.
A Compute Engine autoscaler maintains the average utilization of the instances close to the single target value you configure. If utilization rises above the target, it adds VMs; if it falls below the target, it removes them, so separate scale-out and scale-in thresholds are not required. Setting a target CPU utilization of 0.7 (70 percent), a cool-down period of 60 seconds, and min/max replica limits of 2 and 10 enforces every stated requirement. Policies that omit the minimum size, use a lower target value, or try to define separate thresholds will either waste capacity or cannot be interpreted by the autoscaler.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a Managed Instance Group (MIG) in GCP?
Open an interactive chat with Bash
What is cool-down period in autoscaling in GCP?
Open an interactive chat with Bash
How does the average CPU utilization trigger autoscaling in GCP?
Open an interactive chat with Bash
What is a Managed Instance Group (MIG)?
Open an interactive chat with Bash
What does 'average CPU utilization' mean in autoscaling?
Open an interactive chat with Bash
What is a cool-down period in autoscaling?
Open an interactive chat with Bash
GCP Associate Cloud Engineer
Planning and implementing a cloud solution
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .