Interview kitsBlog

Your dream job? Lets Git IT.
Interactive technical interview preparation platform designed for modern developers.

XGitHub

Platform

  • Categories

Resources

  • Blog
  • About the app
  • FAQ
  • Feedback

Legal

  • Privacy Policy
  • Terms of Service

© 2026 LetsGit.IT. All rights reserved.

LetsGit.IT/Categories/Observability
Observabilitymedium

What is an SLI and how do you define one?

Tags
#sli#slo#reliability
Back to categoryPractice quiz

Answer

An SLI (Service Level Indicator) is a measurable signal of service health, like latency, error rate, or availability. Define it based on user outcomes with clear measurement windows and thresholds.

Advanced answer

Deep dive

Good SLIs reflect user experience and are measurable:

  • Choose a user-centric signal: success rate, latency, freshness, correctness.
  • Define the measurement scope (endpoint, region, tier) and time window.
  • Avoid internal-only metrics that don’t map to user impact.
  • Ensure the data source is reliable and cannot be gamed.

Examples

API availability SLI:

SLI = successful_requests / total_requests
success = HTTP 2xx/3xx excluding client cancellations

Common pitfalls

  • Using CPU/memory as SLIs (they’re inputs, not outcomes).
  • Mixing too many endpoints with different expectations.
  • Ignoring tail latency (p95/p99) that users feel.

Interview follow-ups

  • How do you choose between p95

Related questions

Observability
How do you measure and improve MTTR?
#mttr#incident-response#reliability
Observability
What dashboards are must-have for a critical API?
#dashboards#red#slo
Observability
How do you design actionable alerts to reduce noise?
#alerting
and
p99
latency SLIs?
  • How do you set an SLO after defining the SLI?
  • What if the SLI conflicts with business goals?
  • #slo
    #oncall