InterviewStack.io LogoInterviewStack.io

High Availability and Disaster Recovery Questions

Designing systems to remain available and recoverable in the face of infrastructure failures, outages, and disasters. Candidates should be able to define and reason about Recovery Time Objective and Recovery Point Objective targets and translate service level agreement goals such as 99.9 percent to 99.999 percent into architecture choices. Core topics include redundancy strategies such as N plus one and N plus two, active active and active passive deployment patterns, multi availability zone and multi region topologies, and the trade offs between same region high availability and cross region disaster recovery. Discuss load balancing and traffic shaping, redundant load balancer design, and algorithms such as round robin, least connections, and consistent hashing. Explain failover detection, health checks, automated versus manual failover, convergence and recovery timing, and orchestration of failover and reroute. Cover backup, snapshot, and restore strategies, replication and consistency trade offs for stateful components, leader election and split brain mitigation, runbooks and recovery playbooks, disaster recovery testing and drills, and cost and operational trade offs. Include capacity planning, autoscaling, network redundancy, and considerations for security and infrastructure hardening so that identity, key management, and logging remain available and recoverable. Emphasize monitoring, observability, alerting for availability signals, and validation through chaos engineering and regular failover exercises.

MediumTechnical
125 practiced
How do you design consistent cross-system backups for an application composed of multiple storage systems: relational DB for profiles, object storage for files, and a cache layer for sessions? Describe a strategy to ensure a consistent point-in-time restore across systems and how CDC or transaction IDs can help.
HardTechnical
73 practiced
You operate a distributed key-value store using leader election and synchronous replication. A network partition causes a minority partition to believe it has leadership and serve writes, causing divergence. Describe how to detect this situation, mitigate ongoing damage, and restore the cluster to a consistent state while minimizing data loss.
EasyTechnical
67 practiced
What are health checks in production systems? Describe liveness, readiness, and deep application health checks, including examples of endpoints, metrics, and the difference in action taken by orchestration systems upon failing each type.
HardTechnical
89 practiced
Design an observability plan specifically to validate disaster recovery correctness. What automated checks, synthetic tests, and metrics would you run before, during, and after a failover to declare success? Include both technical and business-level validations and how you would automate them in CI/CD pipelines.
HardTechnical
69 practiced
A distributed cache (e.g., Redis cluster) holds ephemeral but critical data needed to restore service behavior quickly. During failover to a secondary region the primary cache is lost. Describe options to make caches recoverable, including write-through and write-behind patterns, async replication, and fallback strategies. Discuss performance and cost trade-offs and how to choose an approach.

Unlock Full Question Bank

Get access to hundreds of High Availability and Disaster Recovery interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.