Medium1 markMultiple Choice

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

You want to deploy a fleet of identical web servers that automatically scale up when CPU utilization exceeds 70%. If a server crashes, it should be automatically recreated.

What is the correct sequence of steps to configure this in Compute Engine?

Answer options:

A.

Create a Managed Instance Group (MIG), then create an Instance Template, and attach it to the MIG.

B.

Create an Unmanaged Instance Group, add existing VMs to it, and configure an autoscaler.

C.

Create an Instance Template, then create a Managed Instance Group (MIG) using that template, and configure autoscaling based on CPU utilization.

D.

Create a snapshot of an existing VM, create a MIG from the snapshot, and enable autohealing.

How to approach this question

Understand the dependency chain for Managed Instance Groups.

Full Answer

C.Create an Instance Template, then create a Managed Instance Group (MIG) using that template, and configure autoscaling based on CPU utilization.✓ Correct
Create an Instance Template, then create a Managed Instance Group (MIG) using that template, and configure autoscaling based on CPU utilization.
To create an autoscaled, self-healing fleet of VMs, you must first create an Instance Template (the blueprint). Then, you create a Managed Instance Group (MIG) that uses that template to stamp out identical VMs. Finally, you configure autoscaling policies (like CPU > 70%) on the MIG.

Common mistakes

Thinking you can create a MIG without an Instance Template, or confusing Managed with Unmanaged instance groups.

Practice the full GCP Associate Cloud Engineer Practice Exam 4

50 questions · hints · full answers · grading

More questions from this exam