Failure Awareness & Mitigation
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing Professional Data Engineer premium course — no separate purchase.
Included in this chapter:
- Resilient execution: make every retry harmless
- Placement: pick the failure domain you must survive
- Replication and failover, store by store
- Recovering corrupted or missing data
- Exam-pattern recognition
Failure domain to survive, by managed store
| Store | Zonal failure (regional config) | Regional failure (multi-region / cross-region) | Corruption / bad data rewind |
|---|---|---|---|
| Cloud SQL | HA: synchronous standby in a second zone, automatic failover | Cross-region read replica you promote on regional loss | Automated backups plus point-in-time recovery |
| BigQuery | Built into any location (zone-redundant) | Multi-region dataset (US or EU) spans regions | Time travel up to 7 days, table snapshots and clones |
| Spanner | Regional instance replicates across 3 zones | Multi-region instance survives a region loss | Backups and point-in-time recovery |
| Memorystore (Redis) | Standard tier: replica with automatic failover | Cross-region replication on the Cluster tier | None: it is a cache, rehydrate from the source of record |
| Bigtable | Cluster lives in one zone; add a cluster for zone HA | Replication across clusters in different regions | Backups (cluster-level), restore to a new table |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
References
- Dataflow exactly-once processing
- Pub/Sub: handle message failures (dead-letter topics)
- Regional Persistent Disk for high availability
- BigQuery dataset locations
- Cloud SQL high availability
- Cloud SQL replication (read replicas)
- Spanner instance configurations (regional and multi-region)
- Bigtable replication
- Memorystore for Redis high availability
- BigQuery time travel
- BigQuery table snapshots
- BigQuery table clones
- Cloud SQL point-in-time recovery
- Pub/Sub: replay and purge messages overview