Site Reliability Engineering Principles Questions
The core SRE practice model: service-level objectives and indicators, error budgets, toil reduction, and reliability as an engineering discipline. Covers the principles and trade-offs behind treating operations as a software problem and balancing reliability against feature velocity. The conceptual foundation questions specific to SRE-style roles.
Write a PromQL expression to compute a rolling 1-hour burn rate for an SLO based on a 'success_rate' metric, and write an alert that fires if burn rate > 2 for 30 minutes. Explain how burn rate is calculated from SLI time-series and justify the window lengths and threshold chosen.
You inherited a service with no SLOs and minimal monitoring. The product manager wants measurable reliability improvements in 30 days. Create a plan to define appropriate SLOs, implement minimum viable monitoring and alerting, and deliver concrete reliability improvements within 30 days. Include which metrics, tooling choices, and quick-win actions you'll prioritize.
Design SLIs/SLOs for a machine-learning prediction service where ground-truth labels arrive hours or days later. Propose proxy SLIs for near-real-time monitoring (e.g., prediction distribution drift, model confidence), explain how you would backfill true correctness when labels arrive, and how error budgets could be applied to model rollbacks.
Given Prometheus counters: http_requests_total{service="images",code="200"} and http_requests_total{service="images"}, write a PromQL expression that computes the 5-minute availability SLI (successful requests / total requests) for service 'images' and a rule that fires an alert if availability < 99.95% for 15 minutes. Explain your use of functions and evaluation interval.
You have 30 days of uptime data for a service as an SLI. The daily 'successful_requests' and 'total_requests' are:
| day | successful_requests | total_requests |
|---|---|---|
| 1 | 9,990,000 | 10,000,000 |
| 2 | 9,995,000 | 10,000,000 |
| ... | (assume similar) | 10,000,000 |
Assume an SLO of 99.9% availability over 30 days. Explain how to compute the 30-day SLI and the remaining error budget. Show formulas and a short numeric example for a single day with 9,990,000 successes out of 10,000,000 requests.
Unlock Full Question Bank
Get access to all 24 Site Reliability Engineering Principles interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.