ASSOCIATE-CLOUD-ENGINEER · Question #40
ASSOCIATE-CLOUD-ENGINEER Question #40: Real Exam Question with Answer & Explanation
The correct answer is D: Increase the cool down period.. To prevent rapid, frequent scaling of a managed instance group, increasing the cool-down period allows instances to initialize and stabilize before the autoscaler makes new decisions.
Question
You work for a retail company that has a busy online store. As you are approaching New Year, you find that your e-store is getting more and more traffic. You ensure that your web servers are behind a managed instance group. However, you notice that the web tier is frequently scaling, sometimes multiple times in an hour. You need to keep instance group from scaling up and down so rapidly. Which of the following options would help you to achieve this?
Options
- AChange the auto scaling metric to use multiple metrics instead of just one metric.
- BReduce the number of maximum instance count.
- CAssociate a health check with instance group.
- DIncrease the cool down period.
Explanation
To prevent rapid, frequent scaling of a managed instance group, increasing the cool-down period allows instances to initialize and stabilize before the autoscaler makes new decisions.
Common mistakes.
- A. While using multiple autoscaling metrics can provide a more robust scaling strategy, it does not directly prevent rapid scaling up and down if the metrics fluctuate frequently and the cool-down period is short.
- B. Reducing the maximum instance count limits the total number of instances the group can scale up to, but it does not prevent the instance group from rapidly scaling up and down within that limit if the autoscaling conditions are met.
- C. Associating a health check ensures that unhealthy instances are removed and replaced, improving reliability, but it does not directly control the frequency of scaling decisions based on load metrics.
Concept tested. Managed Instance Group autoscaling cooldown
Reference. https://cloud.google.com/compute/docs/autoscaler/configure-autoscaler#cool-down_period
Community Discussion
No community discussion yet for this question.