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.

MediumSystem Design
92 practiced
You run a web app on AWS using RDS. Compare a same-region multi-AZ setup versus a multi-region active-passive DR strategy. For each approach, describe failover steps for database and application, expected RTO/RPO, operational complexity, and costs. Recommend one approach and explain trade-offs.
MediumTechnical
85 practiced
How would you implement autoscaling for a globally distributed service to ensure capacity during region failovers? Discuss warm vs cold capacity, pre-provisioning strategies, scaling policies (scheduled vs reactive), and cost implications of holding spare capacity across regions.
MediumTechnical
67 practiced
Write a Python script (using boto3) that promotes an AWS RDS read replica to primary and updates a Route53 CNAME (or Alias) record to point to the new primary endpoint. The script should be idempotent, handle API errors and wait for instance status to be healthy before changing DNS. Describe any IAM permissions required and assumptions you make.
MediumTechnical
72 practiced
List the primary observability signals (metrics, logs, traces, synthetic) you would monitor to detect availability issues. For each signal, state where to collect it (agent, sidecar, managed service), actionable alert thresholds, and how to minimize alert fatigue while ensuring rapid response.
EasyTechnical
119 practiced
In Kubernetes, explain the difference between liveness and readiness probes and how they affect failover, rolling updates, and traffic routing. Provide two example probe configurations (HTTP and TCP) for an HTTP-based microservice and explain how probe settings (initialDelay, period, timeout, failureThreshold) influence detection and false positives.

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.