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.

HardTechnical
0 practiced
Design a global traffic shaping strategy to prioritize critical API traffic over background jobs during partial outages. Propose distributed rate-limiting, token-bucket mechanisms, priority queuing, and a coordination approach across regions to enforce priorities while minimizing latency and ensuring fairness.
EasyTechnical
0 practiced
Compare active-active and active-passive deployment patterns for a service. For each pattern, list pros and cons in terms of availability, consistency, operational complexity, and cost. Give two real-world scenarios where you would pick active-active and two where you would pick active-passive.
MediumTechnical
0 practiced
During a recent outage you observed high convergence times when failing over services. Describe a methodical approach to investigate the root causes across DNS, load balancers, orchestration, and application layers. Which specific metrics would you measure and what configuration changes could shorten convergence?
HardSystem Design
0 practiced
Design a leader-follower replication strategy across regions for a write-heavy OLTP workload to minimize RPO and RTO. Discuss synchronous, semi-synchronous, and async replication modes, witness nodes, quorum requirements, commit latency, and mechanisms to prevent split-brain during partitions.
MediumTechnical
0 practiced
Implement a leader election simulation in Python using threads or multiprocessing. The program should simulate nodes sending heartbeats, detect leader failure via timeouts, and elect a new leader. Focus on correctness of detection and election logic rather than a full consensus protocol.

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.