Scrivio Interview library
ConceptFoundations6 min read · updated 13 November 2026

Teams that must survive the loss of a whole cloud region choose among several patterns, from restoring backups elsewhere to serving live traffic from two regions at once. The patterns differ widely in cost, recovery time and possible data loss.

Compare backup and restore, pilot light, warm standby and active-active: what runs in the second region in each, typical RTO and RPO, and what makes active-active the hardest.

Backup and restore keeps only backups and infrastructure code in the second region, giving an RTO of hours and an RPO equal to the backup interval at the lowest cost. Pilot light replicates core data continuously but leaves application servers off, so RPO is seconds to minutes and RTO tens of minutes or more. Warm standby runs a smaller complete stack with replicated data, so RTO is minutes. Active-active serves production from both regions with near-zero RTO, but it is hardest because writes in two places need a plan: a home region per key, asynchronous replication with conflict handling, or synchronous consensus that adds cross-region latency.

Why this question is asked

Losing an entire cloud region is rare, but when it happens it lasts hours, and a business that depends on one region is simply down. The four disaster recovery patterns in this question form a ladder: each step costs more and recovers faster. Interviewers ask about them to see whether we can match a pattern to a requirement instead of reaching for the most impressive one. In this answer, we will recap RTO and RPO, walk up the ladder from backup and restore to active-active, explain why active-active is the hardest, and see why passive setups so often fail when they are needed.

1A Quick Recap of RTO and RPO

Two numbers describe a recovery requirement. The recovery time objective, RTO, is how long the service may be down: from the moment of failure to the moment customers are served again. The recovery point objective, RPO, is how much data we may lose, measured in time: an RPO of 5 minutes means we accept losing up to the last 5 minutes of writes.

RTO is driven by what must be built, started and switched in the second region. RPO is driven by how data gets there: a nightly backup means up to a day of loss, continuous replication means seconds. Keeping these two apart helps, because some patterns have a good RPO and a poor RTO.

2Backup and Restore

In the simplest pattern, the second region holds only backups (database snapshots and archived logs copied across regions) and infrastructure code, such as Terraform definitions and container images. Nothing runs there.

Recovery means building the whole environment from code, restoring the databases from backups, deploying the applications and moving traffic. That takes hours, so RTO is hours. RPO equals the backup interval: copy backups every hour and we can lose up to an hour of writes. The cost is the lowest of all patterns, mostly storage, which makes it right for internal tools and systems where hours of downtime are acceptable.

3Pilot Light and Warm Standby

Pilot light keeps the core alive. Databases in the second region receive continuous asynchronous replication, so the data is only seconds to minutes behind, and minimal infrastructure such as networks and load balancers exists. But application servers are off or scaled to zero. RPO is seconds to minutes, set by replication lag, and RTO is tens of minutes or more, because all the application capacity must start.

Warm standby goes further: a complete but smaller copy of the stack is running, perhaps at 10 to 20 percent of production size, with replicated data. It can serve some traffic, which means it can be tested with real requests. Failover means promoting the databases, scaling up and moving traffic, so RTO is minutes. Cost is higher than pilot light because a whole stack runs all the time.

The four patterns side by side
PatternSecond region runsTypical RTOTypical RPOCost
Backup and restoreBackups and infrastructure code onlyHoursBackup intervalLowest
Pilot lightReplicated data, apps offTens of minutes+Seconds to minutesLow
Warm standbySmaller full stack, replicated dataMinutesSeconds to minutesMedium
Active-activeFull stack serving productionNear zeroZero to secondsHighest
Each step up the ladder buys recovery time with money and complexity.

4Active-Active and Why Writes Make It Hard

In active-active, both regions serve production traffic all the time, and each is sized to take all of it. When one region fails, traffic simply goes to the other, so RTO can be close to zero.

Reads are easy; writes are the hard part. If a user can update the same record in both regions, the system needs a rule for what happens when two updates collide. There are three main approaches. A home region per user or per key sends all writes for that key to one region, so there are no conflicts, but a region failure means rehoming those keys. Asynchronous replication in both directions with conflict handling, such as last writer wins or merge rules, keeps writes local but can lose or merge updates in surprising ways. Synchronous consensus across regions, as in Spanner-style or CockroachDB-style databases, gives strong consistency but adds a cross-region round trip, often 30 to 100 ms, to every write.

So active-active is hardest not because of the servers but because of the data. Every team must understand which approach their data uses and design around it, and bugs here are consistency bugs, which are expensive to find.

5Why Passive Setups Fail When Needed

There is an uncomfortable fact about the three passive patterns: the second region never serves real traffic, so nothing proves it works. Configuration drifts, a secret expires, a quota is too small, and nobody notices until the day of the disaster.

Active-active proves both regions every day, because both carry production load. That is one of its strongest arguments, and it is paid for with double capacity and more data complexity. Passive patterns can recover some of this benefit with regular failover drills and synthetic transactions against the standby, which is the minimum any passive design needs.

6Follow-up questions

Why must a warm standby's quotas and limits be checked long before a failover?

Because the standby normally runs at a fraction of production size, and its account limits were often set for that size: instance quotas, IP address ranges, database connection limits, API rate limits with third parties. During a real failover we need full size immediately, and raising a quota can take hours or days through support tickets, while every other customer of the provider may be asking for the same thing. So quotas must be pre-approved at full production size and checked regularly, ideally by scaling the standby to full size during drills.

Which pattern would you pick for a checkout service?

It depends on the business cost of downtime, but checkout usually justifies at least warm standby with an RTO of minutes. If the business needs near-zero downtime and can accept the data complexity, active-active for reads with a home region for writes is a common middle ground.

Does active-active also protect against bad deployments?

No. A bad release or configuration change pushed to both regions breaks both. Active-active must be paired with staged rollouts, one region at a time.

7Conclusion

In this answer, we recapped RTO and RPO and walked up the ladder: backup and restore with hours of recovery at the lowest cost, pilot light with replicated data and stopped servers, warm standby with a small running stack and minutes of recovery, and active-active with near-zero recovery but a hard write problem. We also saw that passive patterns fail silently unless they are drilled.

What to say in the interviewAbout 80 seconds aloud

Open with

These four patterns are a ladder of cost against recovery speed. With backup and restore, the second region only holds backups and infrastructure code; we build everything and restore data after the disaster, so RTO is hours, RPO is the backup interval, and cost is lowest.

Then, if they want more

Pilot light replicates the core data continuously and has minimal infrastructure, but application servers are off, so RPO is seconds to minutes and RTO is tens of minutes or more while capacity starts. Warm standby runs a smaller but complete stack with replicated data, so failover means promoting databases, scaling up and moving traffic, which takes minutes.

Active-active has both regions serving production and each able to take everything, so RTO is near zero. What makes active-active hardest is writes. We need a plan: a home region per user or key so there are no conflicts, asynchronous replication with conflict handling, or synchronous consensus that adds a cross-region round trip to every write.

I would also point out that passive setups often fail when needed because the passive side never serves real traffic, so drift goes unnoticed. Active-active proves both regions every day, but it costs double capacity and real data complexity, so I would pick the pattern per system from its actual RTO and RPO.

About this answer

Last updated
13 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "Compare backup and restore, pilot light, warm standby and active-active: what runs in...": https://scrivio-interview-library.netlify.app/architecture/high-availability/d369414084/