Operational Characteristics Quiz¶
15 questions on the characteristics that concern the running system: availability, performance, scalability, elasticity, reliability and recoverability.
Availability and reliability¶
A service targets 99.99% availability. Roughly how much downtime does that allow in a 30-day month?
A request requires four services in series, each independently 99.95% available. What is the approximate availability of the request?
Which change most improves availability once a system is already at three nines?
A payment service always responds within 100 ms but occasionally charges a customer twice. Which characteristic is deficient?
Why do idempotency keys appear in almost every reliable distributed design?
A downstream dependency becomes slow rather than unavailable. Without circuit breakers and timeouts, what typically happens to the caller?
Performance, scalability, elasticity¶
Which requirement is properly specified for performance?
A team moves email sending, invoicing, and analytics off the request path onto a queue. Which statement is most accurate?
A design requires five sequential cross-continent round trips per request. What does this tell you?
Why must instances be stateless for horizontal scaling to work well?
5% of a workload runs inside a global lock. What is the ceiling on speedup from adding workers?
A ticketing system handles steady traffic but must absorb a 20× spike within two minutes when sales open. Which characteristic is being demanded?
Which autoscaling signal is usually best for an I/O-bound service that spends most of its time waiting on downstream calls?
Recoverability¶
"We can tolerate 15 minutes of downtime but no more than 1 minute of lost data." Which objectives are these?
Which recovery mechanism protects against the most common real-world "disaster"?