Design a backup and disaster recovery plan for a cloud data warehouse

Instruction: Outline a comprehensive backup and disaster recovery strategy for a cloud-based data warehouse, considering different failure scenarios.

Context: This question assesses the candidate's understanding of disaster recovery principles and their ability to apply these in the context of cloud data warehousing.

Updated

Official answer

Define recovery point objective (acceptable data loss) and recovery time objective (time to restore the required service) per failure scenario. Include accidental deletion, corrupted data, credential compromise, regional outage and a failed deployment. Replication may quickly copy a bad delete; it is not a replacement for recoverable history.

Inventory data, schemas, grants, catalogs, external files, pipeline state and encryption keys needed to restore a usable warehouse. Choose provider-supported snapshots/exports and recovery mechanisms, with access separation, retention and protection from the same failure domain as production.

A backup schedule alone does not prove RPO. If the newest usable recovery point is 09:50 and failure occurs at 10:55, potential loss is 65 minutes even if a backup job completed at 10:10. Track the actual recoverable source boundary, completeness and restore dependencies.

Document restoration order, capacity, credentials, endpoints, writer fencing and downstream validation. A replica can reduce recovery time only if it contains the needed data and can serve the workload under the intended consistency policy. Plan resynchronization and failback as well as failover.

Run isolated restore drills from selected recovery points, reconcile keys/totals and permissions, and measure elapsed recovery time under representative scale. Verify that required deletions are not reintroduced when backups return to service. Record unmet objectives and improve the plan; a backup-success notification or cross-region copy is not proof of recoverability.

Related Questions