Define SLOs for a checkout service and explain how the error budget changes decisions.
IntermediateScenarioOutages and incident response
Answer
Situation read → SLOs should measure what users feel on the critical path, and the error budget is the tool that balances features against reliability.
What I'd do →
- Choose SLIs from the user's view at the load balancer or edge:
- Availability: proportion of checkout requests that don't return 5xx.
- Latency: proportion of checkout requests served under 800 ms.
- Set targets with the business: for example 99.9% availability and 99% under 800 ms over 28 days. 99.9% gives about 40 minutes of failure budget per 28 days.
- Alert on burn rate (fast burn pages, slow burn creates a ticket), not on every error.
- Agree on the error budget policy in advance:
- Budget left: ship normally, experiment.
- Budget burned: pause risky releases, prioritise reliability fixes, require extra review.
- Review SLO results monthly with product.
Why → The budget turns "should we slow down?" into a data question that product and engineering agreed on ahead of time.
Interview tip → Do the math out loud (99.9% over 28 days ≈ 40 minutes); it shows you understand what the number means.
More on Outages and incident response
You're on call and get paged at 3 AM: "Checkout error rate 25%". What do you do in the first 15 minutes?BeginnerA major outage involves four teams and everyone is talking at once. You're asked to be incident commander. What do you do?IntermediateHow do you prove your platform survives the loss of a whole Availability Zone?AdvancedOn-call gets 300 alerts a day and people have started ignoring them. How do you fix alerting?IntermediateA customer told you about an outage on social media before your monitoring did. How do you fix detection?BeginnerDuring an incident, you can roll back or push a forward fix the developer says is ready in 10 minutes. How do you decide?Intermediate