Medium1 markMultiple Choice
Domain 4.1: Managing Compute Engine resourcesCompute EngineManaged Instance GroupsRolling Updates

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

You have a Managed Instance Group (MIG) running version 1 of your application. You have created a new Instance Template containing version 2 of your application. You want to update the MIG to use the new version without experiencing downtime.

Which TWO actions are part of the process to perform a rolling update? (Select TWO)

Answer options:

A.

Delete the old Instance Template before starting the update.

B.

Use the 'gcloud compute instance-groups managed rolling-action start-update' command.

C.

Specify the new Instance Template in the update configuration.

D.

Manually delete the old VMs one by one.

E.

Stop the load balancer traffic before starting the update.

How to approach this question

Understand how Managed Instance Groups handle updates.

Full Answer

Use the 'gcloud compute instance-groups managed rolling-action start-update' command., Specify the new Instance Template in the update configuration.
To update VMs in a Managed Instance Group without downtime, you perform a rolling update. You initiate this by specifying the new Instance Template you want the group to use. The MIG updater automatically replaces old instances with new ones based on the parameters you set (like max surge and max unavailable), ensuring continuous availability.

Common mistakes

Thinking you have to manually delete VMs. The power of a MIG is that it automates the rolling replacement.

Practice the full GCP Associate Cloud Engineer Practice Exam 7

50 questions · hints · full answers · grading

More questions from this exam