Professional Cloud DevOps Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Your enterprise runs a critical web application on regional Compute Engine Managed Instance Groups (MIGs) across staging and production environments. You are tasked with implementing an automated patching and lifecycle promotion pipeline that strictly adheres to immutable infrastructure principles and minimizes the blast radius of potential regressions.
The deployment strategy must satisfy the following requirements:
Which strategy should you implement?
This solution implements an immutable infrastructure pattern combined with canary deployments in Compute Engine Managed Instance Groups (MIGs) and automated remediation triggered by Cloud Monitoring alerts.
rolling-action start-update command with --version=template=CURRENT_INSTANCE_TEMPLATE and --canary-version=template=NEW_TEMPLATE,target-size=10%, the production MIG shifts only 10% of its capacity to the new template while keeping 90% on the baseline version.This approach aligns with Google Cloud site reliability engineering and DevOps best practices by separating artifact creation from environment promotion, employing progressive rollouts, and using metric thresholds for automated rollback decisions.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.