Q7: How do you design for high availability?

Difficulty:MediumTopic:Reliability

Remove single points of failure through redundancy across instances and, where needed, availability zones or regions. Use health checks, load balancing, automated failover, replicated data, timeouts, retries with limits, and graceful degradation. Redundancy alone is insufficient: dependencies, configuration, deployment pipelines, and control planes can still be shared failure points. Test failover regularly.

Key Takeaways
  • Redundancy must include dependencies and operational processes.
  • Failover should be tested, not merely assumed.