Medium1 markMultiple Choice
Domain 4.1: Managing Compute Engine resourcesDomain 4Compute EngineAutoscalingMIG

GCP ACE · Question 33 · Domain 4.1: Managing Compute Engine resources

You are configuring autoscaling for a Managed Instance Group (MIG). You want the group to automatically add instances when the average CPU utilization exceeds 70%.

Which TWO parameters MUST you define when setting up this autoscaler? (Select TWO)

Answer options:

A.

The target CPU utilization percentage (70%)

B.

The minimum and maximum number of instances

C.

The health check port

D.

The instance template name

E.

The load balancing scheme

How to approach this question

Think about the specific inputs an autoscaling algorithm needs: What metric is it watching, and what are its limits?

Full Answer

When configuring an autoscaler for a MIG, you must define the autoscaling signal (in this case, target CPU utilization of 70%). You must also define the minimum and maximum number of instances. The minimum ensures availability during low traffic, and the maximum acts as a cost-control safeguard to prevent infinite scaling.

Common mistakes

Selecting instance template or health checks, which are properties of the Managed Instance Group, but not parameters of the Autoscaler policy itself.

Practice the full GCP Associate Cloud Engineer Practice Exam 5

50 questions · hints · full answers · grading

More questions from this exam