InterviewStack.io LogoInterviewStack.io

Fault Tolerance, High Availability, and Disaster Recovery Questions

Keeping a system serving despite failure, from code-level resilience to infrastructure-level recovery: circuit breakers, retries with backoff and jitter, timeouts, bulkheads, graceful degradation, and preventing cascading failures, alongside redundancy, failover (active-active versus active-passive), RPO and RTO objectives, backup and restore, and multi-region failover. Covers dependency-failure isolation, chaos engineering to validate resilience, failure-mode analysis, designing to nines of availability, cost-versus-availability tradeoffs, and recovery runbooks. Spans both the patterns that isolate partial failure and the disaster-recovery planning that restores a business-critical system after a major outage.

HardTechnical
64 practiced

You're using DNS failover with a 5-minute TTL, but in practice you're seeing a 3-minute real-world failover window, and it's too slow. How would you redesign this to get failover under 30 seconds for most clients, and what do you give up to get there?

MediumTechnical
66 practiced

Implement a circuit breaker class with closed, open, and half-open states. It should open after a configurable run of consecutive failures, wait a cooldown period, then allow a single trial request in half-open before deciding whether to fully close again. Use whatever language you're comfortable in.

EasyTechnical
81 practiced

What's the bulkhead pattern, and how does it stop one failing dependency or noisy tenant from taking down the whole system? Give a concrete example of where you'd draw the isolation boundary.

MediumTechnical
86 practiced

Explain active-active versus active-passive architecture. For each, walk through the typical failover behavior, what it takes to detect a failure, and when you'd choose one over the other.

EasyTechnical
83 practiced

What does graceful degradation mean for a resilient system, and why does it matter? Pick a user-facing service, like search or checkout, and walk through which features you'd disable first under partial failure, and which you'd protect at all costs.

Unlock Full Question Bank

Get access to all Fault Tolerance, High Availability, and Disaster Recovery interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.