
Answer-first summary for fast verification
Answer: Create a snapshot schedule for the disk using the desired interval.
**Correct Answer: C** Creating a snapshot schedule for the disk is the recommended approach because snapshots provide point-in-time copies of the disk, enabling efficient backup and restore operations. This method supports quick data restoration in case of a disaster and allows for the configuration of retention policies to automatically delete older backups, thereby saving costs. **Why not the others?** - **A**: Cloud Tasks is not designed for disk backup and restore operations; it's a task queue service for distributed task processing. - **B**: A cron job for creating new disks manually is inefficient and not suitable for regular backups and disaster recovery. - **D**: Instance templates and Cloud Functions do not directly address the need for regular backups and quick data restoration. For more information, refer to Google Cloud's documentation on [snapshot best practices](https://cloud.google.com/compute/docs/disks/snapshot-best-practices) and [scheduled snapshots](https://cloud.google.com/compute/docs/disks/scheduled-snapshots).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are managing a Social Media Platform on Compute Engine. Ensuring no user data is lost is critical, and you need to implement regular backups of the VM’s boot disk. Additionally, the solution must allow for quick data restoration in disaster scenarios and automatically delete older backups to optimize costs. What is the Google recommended approach for this scenario?
A
Use Cloud Tasks to create an image and export it to Cloud Storage.
B
Create a cron job to create a new disk from the disk using gcloud.
C
Create a snapshot schedule for the disk using the desired interval.
D
Create an instance template using a Cloud Function.
No comments yet.