Your organization runs a web application on Compute Engine instances within a Managed Instance Group (MIG). You need to deploy an updated version of your software to all instances in the group while maintaining zero downtime. Which TWO actions should you perform?
- Create a new instance template that specifies the updated application configuration.Cevap
- Start a rolling update on the Managed Instance Group using the newly created instance template.Cevap
- CAssign the primitive Owner role to the Managed Instance Group service account to bypass deployment constraints.
- DReconfigure the Managed Instance Group to use Spot VMs to guarantee zero downtime during updates.
- ESubmit a GCP quota increase request for Compute Engine CPU cores before modifying instance configurations.
Cevap
The two correct actions are creating a new instance template containing the updated configuration and initiating a rolling update on the Managed Instance Group with that new template.
Because Compute Engine instance templates are immutable, updating a Managed Instance Group requires creating a new instance template with the updated configuration, followed by a rolling update on the group to replace instances gradually without downtime.
Adım Adım Çözüm
Anahtar Kavram
Updating Managed Instance Groups via new instance templates and rolling updates