Skip to the page

Monitoring & on-call · Design

SLOs and an error budget for a payments API

The interviewer asks

Our payments API has no SLOs. Your manager asks you to set them. Which SLIs and targets would you choose, and what happens when the error budget runs out?

Then

Follow-ups the interviewer asks next

  1. What are an SLI, an SLO and an error budget, in one line each?
  2. Which SLIs would you pick for this API, and where would you measure them?
  3. How do you choose between 99.9% and 99.99%?
  4. Our payment gateway partner promises only 99.9%. How does that affect your target?
  5. What does a 99.9% monthly SLO allow, in minutes and in failed requests?
  6. The budget is gone in week two. What happens?
  7. Product says new features matter more. How do you handle that?
  8. Have you worked with SLOs?

The answer

What a strong answer covers

  • SLI: the share of good events among valid events. SLO: the target for it over a window (28 or 30 days). Error budget: what's left over (99.9% means 0.1% may fail).
  • SLIs: availability (requests that aren't 5xx and finish within a timeout), latency (the share of requests under, say, 500 ms), and for payments, correctness (our payment state matches the gateway's after reconciliation). Measured at the load balancer or by clients, not only inside the service.
  • Targets: from the current baseline and what users need. Each extra nine costs far more. A service can't be more reliable than a hard dependency unless it has a fallback (a second gateway) or safe retries.
  • Budget maths: 99.9% over 30 days is about 43 minutes of full outage, or 1 failed request in 1,000.
  • A budget policy agreed with product in advance: when the budget is spent, risky releases pause and the team works on reliability until it recovers.
  • Alerting: burn-rate alerts (as in the SRE Workbook), not raw error counts.

The red pen

Common traps

Avoid:"100%"; server uptime as the SLI; an SLO that nobody agreed to act on.

Practise this out loud

Say your answer out loud to an AI interviewer that follows up, and get a score for it.

Practise by voice

Practise questions like this out loud

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview