Question

Difficulty: EasyRelease Management and Deployment Strategies

An operations team plans to perform a rolling update on a Compute Engine Managed Instance Group (MIG) serving a critical production application. The deployment configuration relies on creating additional temporary VM instances to maintain full service capacity during the rollout. Which pre-deployment step is essential to ensure the rolling update completes successfully without provisioning failures?

  1. Verify and request sufficient regional Compute Engine resource quotas in advance to handle the temporary surge in VM instances during the update.Answer
  2. B
    Assign the primitive Owner IAM role to the deployment pipeline service account to override project-level resource quotas during rollout.
  3. C
    Configure the load balancer health checks to query backend database endpoints directly to validate instance deployment readiness.
  4. D
    Migrate the entire application architecture to Google Kubernetes Engine (GKE) before initiating the release update.

Answer

Verify and request sufficient regional Compute Engine resource quotas in advance to handle the temporary surge in VM instances during the update.
Verifying and requesting sufficient regional Compute Engine resource quotas ensures that the extra VM instances required for max surge capacity during a rolling update can be provisioned without hitting project quota caps.

Step-by-Step Solution

1
Analyze the deployment strategy requirements.
Rolling updates in Compute Engine MIGs configured with max surge temporarily increase the total number of running VM instances beyond normal operating capacity.
Temporary replacement instances are created before old instances are taken offline to guarantee zero downtime.
2
Identify potential operational bottlenecks prior to execution.
If the required temporary instances exceed the project's regional CPU or instance quotas, GCP will fail to provision the new VMs.
Resource quotas are enforced at the GCP infrastructure layer and must be increased proactively.
3
Select the correct preventative strategy.
Checking and requesting regional quota increases prior to starting the release avoids deployment failure.
Quota limits cannot be bypassed dynamically by IAM permissions or pipeline automation.

Key Concept

Pre-deployment Quota Verification for Rolling Updates
Rate this question