17. What does a circuit breaker do when a dependency keeps failing?
- Retries faster
- Stops calling it for a while and fails fast, then probes to see if it recovered
- Restarts the dependency
- Increases the timeout
Show answer
Answer: Stops calling it for a while and fails fast, then probes to see if it recovered
Opening the circuit protects both caller and dependency until a trial call succeeds.
Lesson: Timeouts, Retries, Circuit Breakers and Load Shedding
18. What is the main reliability benefit of a canary release?
- A bad change affects only a small share of traffic and is detected before full rollout
- It makes builds faster
- It removes the need for testing
- It doubles capacity
Show answer
Answer: A bad change affects only a small share of traffic and is detected before full rollout
Canaries limit blast radius and provide a comparison against the stable version.
Lesson: Safe Changes: Deployments, Flags and Rollbacks