InterviewStack.io LogoInterviewStack.io

SLIs, SLOs, SLAs Definition and Implementation Questions

Understanding Service Level Indicators (SLIs - what you measure), Service Level Objectives (SLOs - targets you set), and Service Level Agreements (SLAs - commitments to customers). At senior level, design SLOs that align with business requirements and user expectations. Choose meaningful SLIs like availability, latency, error rate. Understand how SLOs drive reliability decisions, allocation of engineering effort, and error budgets. Design monitoring to track SLI achievement. Address multi-tiered SLOs for different service tiers or customer segments.

HardTechnical
67 practiced
Medium/hard coding: Given an events table:
sql
events(txn_id text, event_time timestamptz, event_type text)
-- event_type in ('initiated','processed','confirmed')
Design a query or streaming approach to compute daily successful payment rate accounting for out-of-order arrivals. Explain windowing, deduplication, and state you maintain.
MediumTechnical
57 practiced
Coding (Python): Implement a function that, given a list of timestamped request outcomes [(timestamp_iso, success_bool)], computes the error budget burn rate over a sliding 1-hour window sampled every 5 minutes. Keep time complexity O(n). Describe assumptions and edge handling (e.g., sparse data).
EasyTechnical
48 practiced
Provide an example error budget policy for an API with an SLO of 99.9% availability over a 28-day window. Include actions at three thresholds (e.g., caution, enforce, stop releases), responsibilities, and escalation path. Be specific about time windows and stakeholders.
MediumSystem Design
93 practiced
Design a monitoring strategy so that failures in internal dependencies (datastore, auth service) can be mapped and correlated to the user-facing service SLOs. Explain instrumentation, dashboards, and how to surface root-cause vs symptom.
HardSystem Design
58 practiced
Hard: Design a capacity planning and cost model to ensure SLO compliance over the next 12 months given projected traffic growth of 4x. Explain how you'd model headroom, redundancy, auto-scaling policies, cost trade-offs, and how SLO targets influence these choices.

Unlock Full Question Bank

Get access to hundreds of SLIs, SLOs, SLAs Definition and Implementation interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.