Google Cloud Associate Cloud Engineer — Question 109
You have a workload running on Compute Engine that is critical to your business. You want to ensure that the data on the boot disk of this workload is backed up regularly. You need to be able to restore a backup as quickly as possible in case of disaster. You also want older backups to be cleaned automatically to save on cost. You want to follow Google-recommended practices. What should you do?
Answer options
- A. Create a Cloud Function to create an instance template.
- B. Create a snapshot schedule for the disk using the desired interval.
- C. Create a cron job to create a new disk from the disk using gcloud.
- D. Create a Cloud Task to create an image and export it to Cloud Storage.
Correct answer: B
Explanation
The correct answer is B because creating a snapshot schedule for the disk allows for regular backups that can be restored quickly, aligning with Google-recommended practices. Option A is incorrect as it does not directly relate to backing up the disk data. Option C is not optimal as it involves creating a new disk rather than backing up the existing one. Option D involves exporting to Cloud Storage, which is not as efficient for quick restoration compared to snapshots.