What should you do?

You have a single binary application that you want to run on Google Cloud Platform. You decided to automatically scale the application based on underlying infrastructure CPU usage. Your organizational policies require you to use virtual machines directly. You need to ensure that the application scaling is operationally efficient and completed as quickly as possible.

What should you do?
A . Create a Google Kubernetes Engine cluster, and use horizontal pod autoscaling to scale the application.
B . Create an instance template, and use the template in a managed instance group with autoscaling configured.
C . Create an instance template, and use the template in a managed instance group that scales up and down based on the time of day.
D . Use a set of third-party tools to build automation around scaling the application up and down, based on Stackdriver CPU usage monitoring.

Answer: B

Explanation:

Managed instance groups offer autoscaling capabilities that let you automatically add or delete instances from a managed instance group based on increases or decreases in load (CPU Utilization in this case). Autoscaling helps your apps gracefully handle increases in traffic and reduce costs when the need for resources is lower. You define the autoscaling policy and the autoscaler performs automatic scaling based on the measured load (CPU Utilization in this case). Autoscaling works by adding more instances to your instance group when there is more load (upscaling), and deleting instances when the need for instances is lowered (downscaling).

Ref: https://cloud.google.com/compute/docs/autoscaler

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments