InterviewStack.io LogoInterviewStack.io

Fault Tolerance and System Resilience Questions

Designing systems to anticipate, tolerate, contain, and recover from component and network failures while minimizing customer impact and preserving correctness. Topics include identifying common failure modes and single points of failure, redundancy and isolation patterns at hardware, service, and geographic levels, and failover strategies including active active and active passive. Cover retry policies with exponential backoff, timeouts, circuit breaker and bulkhead patterns, graceful degradation, rate limiting, and backpressure techniques to protect systems during overload. Discuss orchestration of node rejoin and state rebuild, replication strategies and consistency trade offs, leader election and consensus implications, and techniques to avoid and mitigate split brain. Explain monitoring, health checks, alerting, and metrics such as mean time to recovery and mean time between failures to guide operational improvements. Include testing for resilience through chaos engineering and fault injection, handling flaky components in test environments, analysis of past failures and refactoring for resiliency, and operational practices that reduce blast radius and speed recovery.

MediumTechnical
68 practiced
You're designing failover between two data centers. Explain strategies to avoid split-brain across the clusters: quorum-based failover, fencing tokens, leader leases, and use of external consensus services. For each approach, describe pros and cons and operational implications.
EasyTechnical
76 practiced
Explain idempotency in distributed systems and why it's important for retries. Describe practical server-side strategies for making write operations idempotent in a REST API: idempotency keys, unique request IDs, storing operation results with TTL, and handling non-idempotent operations.
EasyTechnical
56 practiced
Describe the difference between liveness and readiness probes in Kubernetes. For a stateful backend service, provide example probe endpoints, their semantics, and explain how these probes affect rolling updates, autoscaling decisions, and pod failover behavior.
MediumSystem Design
74 practiced
Design an active-active multi-region architecture for serving a read-heavy product catalog with eventual consistency. Specify replication approach, conflict resolution, caching strategy, read routing, and how you would keep user-facing latency low while handling writes across regions.
MediumTechnical
58 practiced
Design a runbook automation for emergency rollback that must execute within 10 minutes of detecting severe degradation. Which steps should be fully automated (traffic cutover, feature-flag toggle), which require human approval (DB schema changes), and how will you test the runbook without risking production stability?

Unlock Full Question Bank

Get access to hundreds of Fault Tolerance and System Resilience interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.