29. Failures, Retries, Circuit Breakers
Interview questions
Interview questions (with the counter-questions you'll get)
Q1. How do you make a service resilient to dependency failures?
They're testing: the toolbox, in order.
Think about your answer first, then open it.
Q2. Explain the circuit breaker pattern.
They're testing: a classic pattern in detail.
Think about your answer first, then open it.
Q3. What's a retry storm, and how do you prevent it?
They're testing: systemic thinking.
Think about your answer first, then open it.
Q4. How do you choose a timeout?
They're testing: practical judgement.
Think about your answer first, then open it.
Q5. What is a bulkhead?
They're testing: isolation.
Think about your answer first, then open it.
Q6. What does 99.99% availability mean in practice?
They're testing: numeracy.
Think about your answer first, then open it.
Q7. Liveness vs readiness checks?
They're testing: operational detail.
Think about your answer first, then open it.
Q8. What are RPO and RTO?
They're testing: DR vocabulary.
Think about your answer first, then open it.
Q9. What is graceful degradation? Give examples.
They're testing: product-aware engineering.
Think about your answer first, then open it.
Q10. Design for a region-wide outage.
They're testing: big-picture resilience.
Think about your answer first, then open it.