Question 116 of 500
Ensuring successful operation of a cloud solutionmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is a canary update, which is the correct MIG update type because it allows you to specify a target size—such as a single VM—to receive the new instance template first, enabling you to validate the configuration change on that one VM before rolling it out to the remaining 19. This directly matches the requirement to test on one VM before a full rollout, as a canary update lets you promote the change to all instances only after verification. On the Google Associate Cloud Engineer exam, this concept tests your understanding of MIG update strategies, often appearing in scenario-based questions where you must choose between canary, rolling, or blue/green deployments; a common trap is selecting a rolling update, which updates all VMs gradually but without a dedicated validation step. Remember the mnemonic “Canary in the coal mine”—test one, then promote the rest.

Google ACE Practice Question: Ensuring successful operation of a cloud solution

This ACE practice question tests your understanding of ensuring successful operation of a cloud solution. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A team needs to roll out a configuration change to a MIG (Managed Instance Group) — updating the instance template to set a new environment variable. They want to validate the change on 1 VM before rolling it out to all 20 VMs. Which MIG update type supports this?

Question 1mediummultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Canary update — update 1 VM to the new template, verify, then roll out to all

A canary update in a Managed Instance Group (MIG) allows you to specify a target size (e.g., 1 VM) to update to the new instance template first. After validating the change on that single VM, you can then promote the canary to roll out the new template to the remaining 19 VMs. This matches the requirement to test on 1 VM before full rollout.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Canary update — update 1 VM to the new template, verify, then roll out to all

    Why this is correct

    MIG supports canary updates where a targetSize partition runs the new template while the rest run the old template. The team validates the canary VM before proceeding with full rollout.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Opportunistic update — the new template applies only when VMs are naturally replaced

    Why it's wrong here

    Opportunistic updates apply only when new VMs are created (autoscaling out) — they don't proactively update existing VMs on a schedule, which is needed for a canary test.

  • Recreate update — terminate all 20 VMs and recreate with the new template simultaneously

    Why it's wrong here

    Recreate update terminates all instances at once — this causes complete outage, which is the opposite of a canary validation.

  • Snapshot the existing VMs and restore 1 with the new environment variable to test

    Why it's wrong here

    Snapshotting and restoring VMs is not the MIG update mechanism. MIG's built-in canary update manages template versioning and partial rollout.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the distinction between 'canary' and 'opportunistic' updates, where candidates mistakenly think opportunistic allows manual selection of a single VM to update, but it only applies changes during natural instance replacement.

Detailed technical explanation

How to think about this question

Under the hood, a canary update uses a 'maxSurge' and 'maxUnavailable' setting to control the rollout, but the key is the 'canary' target size parameter in the `compute.instanceGroupManagers.patch` API. When you set a canary target of 1, the MIG creates a new VM with the new template while keeping the old VMs running; if validation fails, you can roll back by setting the canary target to 0. This is commonly used in CI/CD pipelines where you want to test a new configuration (e.g., environment variables for a database connection string) before exposing it to all instances.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related ACE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free ACE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this ACE question test?

Ensuring successful operation of a cloud solution — This question tests Ensuring successful operation of a cloud solution — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Canary update — update 1 VM to the new template, verify, then roll out to all — A canary update in a Managed Instance Group (MIG) allows you to specify a target size (e.g., 1 VM) to update to the new instance template first. After validating the change on that single VM, you can then promote the canary to roll out the new template to the remaining 19 VMs. This matches the requirement to test on 1 VM before full rollout.

What should I do if I get this ACE question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More ACE practice questions

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This ACE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ACE exam.