SRE & Observability (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What are SLIs, SLOs, and SLAs?
junior LevelCode Examplesre-observabilityBasic
In Simple Words: The 3 foundational reliability targets:
- SLI (Service Level Indicator): A carefully defined quantitative measure of some aspect of the level of service delivered (e.g. "Ratio of HTTP successful requests (status < 500) over total requests").
- SLO (Service Level Objective): The target reliability percentage agreed upon internally by engineering and product teams (e.g. "99.9% of HTTP requests must succeed over a rolling 30-day window").
- SLA (Service Level Agreement): A formal, legally binding contract with external customers that defines financial penalties, credits, or refunds if the service drops below a minimum threshold (e.g. "If monthly uptime drops below 99.5%, customer receives 10% credit").
text
SLI vs SLO vs SLA:
┌─────┬──────────────────────────┬────────────────────────────────────┐
│ SLI │ The actual measurement │ "99.94% of requests were < 200ms" │
│ SLO │ The internal team target │ "Target: 99.9% of requests < 200ms"│
│ SLA │ The legal contract │ "If < 99.5%, we pay you a penalty" │
└─────┴──────────────────────────┴────────────────────────────────────┘