Medium1 markMultiple Choice
Domain 3.1: Deploying and implementing Compute Engine resourcesCompute EngineManaged Instance GroupsAutoscalingInstance Templates

GCP ACE · Question 19 · Domain 3.1: Deploying and implementing Compute Engine resources

You need to deploy a fleet of identical web servers on Compute Engine that will automatically scale up when CPU utilization exceeds 70%.

What is the correct sequence of resources you must create to achieve this?

Answer options:

A.

Create a Managed Instance Group (MIG) -> Create an Instance Template -> Configure Autoscaling.

B.

Create a Custom Image -> Create an Instance Template -> Create a Managed Instance Group (MIG) with autoscaling.

C.

Create an Unmanaged Instance Group -> Add VMs manually -> Enable Autoscaling.

D.

Create an Instance Template -> Create a Target Pool -> Enable Autoscaling.

How to approach this question

Understand the dependency chain for autoscaling in Compute Engine.

Full Answer

B.Create a Custom Image -> Create an Instance Template -> Create a Managed Instance Group (MIG) with autoscaling.✓ Correct
Create a Custom Image -> Create an Instance Template -> Create a Managed Instance Group (MIG) with autoscaling.
To use autoscaling, you must use a Managed Instance Group (MIG). A MIG requires an Instance Template to know what kind of VMs to create. The Instance Template typically references a Custom Image that contains your application code. Therefore, the order is Image -> Template -> MIG (with autoscaling).

Common mistakes

Confusing Managed and Unmanaged Instance Groups. Only Managed Instance Groups support autoscaling and auto-healing.

Practice the full GCP Associate Cloud Engineer Practice Exam 7

50 questions · hints · full answers · grading

More questions from this exam