easyMultiple ChoiceObjective-mapped
Google ACE Practice Question: A team wants to create a consistent backup of a…
A team wants to create a consistent backup of a Compute Engine VM's boot disk before applying a major OS patch. The backup should be usable to restore the disk to a new VM if the patch fails. What is the recommended approach?
⚠ Common exam trap
Watch out — candidates often confuse VM images (used for creating identical instances) with disk snapshots (used for backups), leading them to choose Option A, even though images require the VM to be stopped for consistency and are not designed for point-in-time recovery of a single disk.
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
✓
Create a persistent disk snapshot using `gcloud compute disks snapshot`
A persistent disk snapshot captures a point-in-time, crash-consistent backup of the disk, including the boot disk, without requiring the VM to be stopped. Snapshots are the recommended method for backing up persistent disks because they support incremental backups, can be used to create new disks, and are optimized for restore operations to a new VM. This approach ensures the backup is usable for disaster recovery if the OS patch fails.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Create a custom VM image from the running instance using `gcloud compute images create`
Why it's wrong here
Running `gcloud compute images create` from a running instance's disk without stopping the VM can produce an image with an inconsistent filesystem state because writes are ongoing during the image capture. Open file locks, in-flight writes, and cached data may not be flushed, leading to a corrupt or non-bootable image. While images are useful for creating VM templates, for backup you should stop the VM or take a disk snapshot to guarantee consistency.
- ✓
Create a persistent disk snapshot using `gcloud compute disks snapshot`
Why this is correct
Creating a persistent disk snapshot with `gcloud compute disks snapshot` captures the exact state of the disk at a point in time, including the boot sector, partition table, and all system files. For best consistency, you should stop the VM before taking the snapshot to flush caches and avoid changes during the operation, though `--guest-flush` (where available) can coordinate with the guest OS. Snapshots are stored incrementally in Cloud Storage and can be used to create a new disk or VM, making them a reliable backup mechanism.
- ✗
Copy all files to a Cloud Storage bucket using gsutil rsync
Why it's wrong here
Copying files with `gsutil rsync` to a Cloud Storage bucket is a file-level backup, not a disk-level one. It cannot replicate the boot sector, partition table, MBR/GPT, or OS-specific system files that are outside the normal file tree, so the resulting copy cannot be easily made into a bootable VM. It also misses open file handles, device nodes, and running configuration state, making it unsuitable for a complete VM recovery.
- ✗
Enable live migration for the VM — it automatically backs up state before migrations
Why it's wrong here
Live migration is an infrastructure feature that moves a running VM from one physical host to another during maintenance or hardware failure—it does not create any backup artifact or persistent copy. It merely transfers the VM's memory and disk state to a new host to minimize downtime, and once completed, no snapshot or restorable image exists. Therefore, it does not provide a point-in-time recovery option for data loss or corruption scenarios.
Go deeper
Related to this question
Learn chapter
Google Compute Engine
Key term
Compute Engine
Compute Engine is Google Cloud's Infrastructure-as-a-Service (IaaS) offering that lets you create and run virtual machines on Google's infrastructure.
Key term
Snapshot
A snapshot is a point-in-time copy of a system's data or state, used for backup, recovery, or testing without disrupting the original.
About these practice questions
This ACE question is part of Courseiva's 769-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.