ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 43 - Associate Cloud Engineer discussion

Report
Export

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?

A.
Set the maximum number of instances to 1.
Answers
A.
Set the maximum number of instances to 1.
B.
Decrease the maximum number of instances to 3.
Answers
B.
Decrease the maximum number of instances to 3.
C.
Use a TCP health check instead of an HTTP health check.
Answers
C.
Use a TCP health check instead of an HTTP health check.
D.
Increase the initial delay of the HTTP health check to 200 seconds.
Answers
D.
Increase the initial delay of the HTTP health check to 200 seconds.
Suggested answer: D

Explanation:

So setting this to 200 ensures that it waits until the instance is up (around 180-second mark) and then starts forwarding traffic to this instance. Even after a cool out period, if the CPU utilization is still high, the autoscaler can again scale up but this scale-up is genuine and is based on the actual load.

Initial Delay Seconds This setting delays autohealing from potentially prematurely recreating the instance if the instance is in the process of starting up. The initial delay timer starts when the currentAction of the instance is VERIFYING. Ref:https://cloud.google.com/compute/docs/instance-groups/autohealing-instances-in-migs

asked 18/09/2024
Tyler Andringa
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first