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.
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 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.
Write a Python function (or clear pseudocode) that computes an availability SLI (successful_requests / total_requests) from streaming logs where some minutes are missing due to ingestion delays. Describe assumptions you make about late-arriving data and how you'd report the SLI conservatively for alerting.
Design an SLO for a Spark job that writes data to a data warehouse. The business requires that 95% of hourly partitions are available in the warehouse within 30 minutes of hour boundary. Specify the SLI, SLO, and one simple alert rule tied to this SLO.
Your organization is about to hand a new mission-critical service to the SRE team. Create a production-readiness checklist covering technical readiness (monitoring, runbooks, capacity headroom), operational readiness (on-call coverage, escalation paths), and the criteria SRE would use to accept or reject ownership.
Unlock Full Question Bank
Get access to all 40 Site Reliability Engineering Principles interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.