Topic 1 Question 43
You are running an application on multiple virtual machines within a managed instance group and have autoscaling enabled. The autoscaling policy is configured so that additional instances are added to the group if the CPU utilization of instances goes above 80%. VMs are added until the instance group reaches its maximum limit of five VMs or until CPU utilization of instances lowers to 80%. The initial delay for HTTP health checks against the instances is set to 30 seconds. The virtual machine instances take around three minutes to become available for users. You observe that when the instance group autoscales, it adds more instances then necessary to support the levels of end-user traffic. You want to properly maintain instance group sizes when autoscaling. What should you do?
Set the maximum number of instances to 1.
Decrease the maximum number of instances to 3.
Use a TCP health check instead of an HTTP health check.
Increase the initial delay of the HTTP health check to 200 seconds.
ユーザの投票
コメント(17)
D is correct answer.
👍 21berezinsn2020/05/25Ans is D
The virtual machine instances take around three minutes to become available for users.
👍 18professor2020/06/25- 正解だと思う選択肢: D
Answer D is the correct solution to maintain instance group sizes when autoscaling.
When autoscaling is enabled, new instances are added based on a metric or metrics (such as CPU utilization) when certain thresholds are met. When adding new instances, it is important to ensure that only the necessary number of instances are added to the instance group and that the group size is properly maintained to prevent overprovisioning and unnecessary costs.
In this scenario, the instance group is adding more instances than necessary when autoscaling due to the initial delay of HTTP health checks. Increasing the initial delay to 200 seconds will ensure that the health check properly reflects the actual availability of the instances and prevent overprovisioning.
Answers A and B limit the maximum number of instances, which could cause issues when scaling to support higher levels of end-user traffic.
Answer C suggests using a TCP health check instead of an HTTP health check, but it does not address the issue of overprovisioning when autoscaling.
👍 3Buruguduystunstugudunstuy2023/02/19
シャッフルモード