What is an SLI, an SLO, and an SLA, and how do they relate? [Basic]
Answer
An SLI is the measurement, an SLO is the target, and an SLA is a contractual promise. For example, request availability is an SLI, 99.9 percent monthly availability is an SLO, and customer credits for missing 99.9 percent are part of an SLA.
Technical explanation
SLIs should measure user-visible reliability, not only infrastructure health.
SLOs are internal reliability objectives that guide engineering decisions and alerting.
SLAs are external agreements with legal or financial consequences, so they are often less aggressive than internal SLOs.
Hands-on example
Example: define successful checkout requests as HTTP 2xx/3xx completed within 500 ms. SLI = good requests / total eligible requests. SLO = 99.5 percent over 28 days. SLA = 99.0 percent availability with customer credits. Alert on burn rate against the SLO, not on raw CPU.
Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.
More Observability interview questions
- What are the four golden signals of monitoring? [Basic]
- What is a burn rate, and how do you alert on it? [Basic]
- Why are multi-window, multi-burn-rate alerts better than a single threshold? [Basic]
- What is the difference between a symptom-based and a cause-based alert, and which is better? [Basic]
- What is a time series in Prometheus, and how is it identified (metric name plus labels)? [Basic]
- What are the Prometheus metric types (counter, gauge, histogram, summary)? [Basic]
- What is the difference between a counter and a gauge? [Basic]
- How does Prometheus collect metrics — what is the pull model and scraping? [Basic]