QuestionQ309

Ensuring solution and operations excellence

A company runs a custom-built application on a Compute Engine virtual machine (VM). The application processes real-time sales data and writes it to a zonal Persistent Disk. A recent internal audit requires a backup and recovery plan that protects against zonal failures. The company has a strict policy requiring all backup data to be retained for at least 90 days and stored in a separate project with restricted access. You need a fully automated backup solution that satisfies these requirements with minimal operational overhead. What should you do?

  • A Write a script to create daily backups of the Persistent Disk. Copy the backups to a different zone and apply a label to each snapshot to indicate the deletion date.
  • B Use gcloud commands to create snapshots of the Persistent Disk. Store the snapshots in a regional Cloud Storage bucket and configure a lifecycle rule to delete objects older than 90 days.
  • C Create a snapshot schedule to automatically create Persistent Disk snapshots and use a script to move and store them in a multi-regional Cloud Storage bucket.
  • D Use the Backup and Disaster Recovery (DR) service to create a backup plan. Configure the backup plan to take daily snapshots and store them in a backup vault with a 90-day retention policy.
Explanation

Google Cloud Backup and DR backup plans can automatically create scheduled backups for Compute Engine disks and retain them in a backup vault. Backup vaults provide isolated storage with enforced retention, and a centralized model can place backup vaults and backup plans in an administrator project while protecting resources in separate service projects. A 90-day vault retention policy therefore meets the required retention period and supports restricted access with minimal operational management.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!