23. An API has a 99.5% availability SLO over 30 days and receives 2,000,000 requests in that window. How many failed requests does the error budget allow?
- 1,000
- 5,000
- 99,500
- 10,000
Show answer
Answer: 10,000
The budget is 0.5% of 2,000,000 requests, which is 10,000. 1,000 would be a 99.95% target.
Lesson: SLIs, SLOs, SLAs and Error Budgets
24. Why do burn-rate alerts combine a long window (1 h) with a short window (5 min)?
- The long window shows the problem is significant; the short window confirms it is still happening, so the alert resolves quickly
- Prometheus requires two windows in every rule
- The short window doubles the sampling rate
- It halves the storage needed for the metrics
Show answer
Answer: The long window shows the problem is significant; the short window confirms it is still happening, so the alert resolves quickly
Requiring both conditions avoids paging on brief spikes (the long window) and avoids alerts that keep firing long after recovery (the short window).
Lesson: Burn-Rate Alerting
25. What belongs at the top of a service overview dashboard?
- A pie chart of HTTP methods
- Per-pod garbage collection pauses
- SLO status and the RED signals for the service
- The raw log stream
Show answer
Answer: SLO status and the RED signals for the service
An overview should answer "are users OK?" at a glance: SLO and error budget, request rate, errors and latency. Detailed breakdowns belong on drill-down dashboards.
Lesson: Dashboards That Answer Questions