Volume 8 · Chapter 11 — High Availability, Disaster Recovery and Safe Change
Volume Summary and Interview Rapid-Fire
11.1 What This Volume Covered
This volume covered keeping systems available and recoverable: high-availability fundamentals (redundancy, no single points of failure, multi-AZ, automatic recovery), disaster recovery strategies driven by RTO and RPO, backups and the crucial distinction from redundancy, multi-Region architecture and failover with its cross-Region data challenge, safe deployment strategies (rolling, blue-green, canary, feature flags), and testing resilience through chaos engineering and game days. The unifying theme is to assume failure and prove the system survives it - through redundancy and automatic recovery for components, tested backups and DR for data and Regions, controlled reversible deployments for change, and deliberate failure injection to validate it all. The rest of this chapter consolidates the essentials.
11.2 Rapid-Fire Interview Questions
How do you achieve high availability?
Assume failure and eliminate single points of failure with redundancy across multiple AZs, plus automatic recovery (load-balancer health checks, Auto Scaling replacement, automatic DB failover). Multi-AZ is the baseline; walk the architecture asking “what if this fails?”
RTO vs RPO?
RTO is the maximum acceptable downtime (how fast you recover); RPO is the maximum acceptable data loss (how recent the recovered data). They drive the DR strategy - lower RTO/RPO costs more.
Name the DR strategy spectrum.
Backup & restore (cheapest, slowest) → pilot light (core running) → warm standby (scaled-down running copy) → multi-site active-active (full capacity, near-zero RTO/RPO, costliest). Match the cheapest that meets each system’s objectives.
Why is redundancy not backup?
Redundancy replicates data in real time, so it also replicates deletions and corruption instantly to the standby - it protects availability, not against data loss from error or malice. Backups are point-in-time copies you restore from. You need both.
What makes a backup trustworthy?
Automated, retained appropriately, stored cross-Region (3-2-1), made immutable (object lock) and isolated so attackers can’t delete them, and - above all - regularly restore-tested. The value of a backup is only your proven ability to restore it.
Multi-AZ vs multi-Region?
Multi-AZ protects against a data-centre failure within a Region (the baseline). Multi-Region protects against a whole-Region loss and enables global low latency - more complex and costly, justified for critical RTO/RPO or global reach. Its hard part is cross-Region data replication.
Active-passive vs active-active?
Active-passive: primary serves, secondary on standby for failover (simpler, cheaper, some failover time). Active-active: multiple Regions serve simultaneously (best availability and latency, most complex, hardest data consistency).
Rolling vs blue-green vs canary?
Rolling replaces instances gradually with health checks (no downtime). Blue-green switches traffic between two full environments for instant rollback. Canary exposes a small subset first and gates on metrics before full rollout.
What do feature flags give you?
They decouple deploying code from releasing functionality - ship behind an off flag, turn it on gradually or for a subset, and turn it off instantly if it misbehaves, all without a redeploy. Fine-grained, reversible control.
What is chaos engineering and why do it?
Deliberately injecting failures (kill instances, fail an AZ) to verify the system responds as designed. Mature teams do it because resilience is only theory until tested - it finds gaps calmly beforehand instead of during a real incident, and game days rehearse the team’s response too.
11.3 Closing
Availability and recoverability are won by assuming failure and proving survival - redundant, automatically recovering architectures, tested backups and DR matched to RTO/RPO, controlled reversible deployments, and deliberate resilience testing. These practices protect everything the earlier volumes built and set up the next volume, which automates how changes reach production reliably and repeatably: CI/CD and infrastructure as code.