GCP Associate Cloud Engineer Practice Question 55: Regional MIG Zone Outage

Google Cloud Associate Cloud Engineer · Test 6 · question 5 of 10

Compute Engine Deploymenteasy

A team runs a stateless web application on a single Compute Engine VM in one zone. During a recent zonal outage, the application became unavailable until the zone recovered. The team has already created an instance template that captures the VM's machine type, boot disk image, and startup script. They want the application to keep serving traffic even if an entire zone in the region goes down, without managing failover manually.

What should they do?

Select one answer
Show answer and explanation

Answer:

  • A. Create a managed instance group from the instance template and configure it as regional (multi-zone) so instances are spread across the zones of the region.

A regional managed instance group (MIG) built from the instance template distributes its instances across multiple zones in the region and automatically maintains the desired instance count, replacing instances in a healthy zone if a zone becomes unavailable. This gives the stateless application zone-level fault tolerance with no manual failover, using the instance template the team has already prepared.

B is wrong because a zonal MIG is still confined to one zone; running two separate zonal MIGs would require the team to manage distribution and failover between them by hand, which a single regional MIG already does natively. C is wrong because standalone VMs in one zone, even behind a load balancer, all fail together if that zone goes down; they also lack the self-healing and autoscaling that a MIG provides. D is wrong because live migration only helps with host maintenance events on the same physical host, not with an outage of an entire zone, and it does not address the fact that the workload still runs in a single zone.

Reference: About regional MIGs

Practice Test 6 ›

Study guides for Google Cloud Associate Cloud Engineer