Medium1 markMultiple Choice
Domain 4.1: Managing Compute Engine resourcesDomain 4Compute EngineStorageDisaster Recovery

GCP ACE · Question 32 · Domain 4.1: Managing Compute Engine resources

You need to implement a disaster recovery strategy for a critical Compute Engine instance. You want to capture the state of its persistent disk every night at midnight so you can restore it if data corruption occurs.

What is the MOST efficient way to achieve this?

Answer options:

A.

Create a snapshot schedule and attach it to the persistent disk.

B.

Write a cron job on the VM that uses gcloud compute images create every night.

C.

Export the disk to a Cloud Storage bucket every night using a Cloud Function.

D.

Enable Cloud Backup on the Compute Engine instance.

How to approach this question

Identify the native GCP feature designed specifically for automated, incremental backups of persistent disks.

Full Answer

A.Create a snapshot schedule and attach it to the persistent disk.✓ Correct
Create a snapshot schedule and attach it to the persistent disk.
Compute Engine provides 'Snapshot Schedules', which allow you to automatically back up persistent disks on a regular cadence (e.g., daily at midnight). Snapshots are incremental, meaning they only store data that has changed since the last snapshot, making them highly cost-effective and efficient for disaster recovery.

Common mistakes

Confusing Images (used for provisioning new VMs) with Snapshots (used for data backup and recovery).

Practice the full GCP Associate Cloud Engineer Practice Exam 5

50 questions · hints · full answers · grading

More questions from this exam