AI Engineering
/
Production & Reliability
/

Design SLOs, rollout, and cost controls

Production & Reliability · 3 to 4 hours

Design SLOs, rollout, and cost controls

Design reliability controls for a multi-tenant AI assistant: SLOs and error budgets, quota-aware admission, fallback and cost reservations, staged rollout with a canary decision, rollback, and recovery.

Hard
System Design

4 h

Premium

Overview

Design operational objectives, capacity controls, release procedures, and recovery for a production AI service. A strong answer ties user outcomes to measurable SLOs, bounded resource use, evaluated fallback behavior, and a rollback plan that preserves compatible data and in-flight work.

Study time: 3 to 4 hours

Interview format: System design with calculations

By the end you can

  • Define SLIs and SLOs with explicit eligible events, good events, and exclusions, kept separate from semantic quality
  • Compute error budgets and burn rates, and design alerts that separate a brief burst from sustained burn
  • Estimate quota-bound capacity and enforce admission, isolation, and one retry budget per logical task
  • Reserve cost safely across replicas and route only to fallbacks that meet data, schema, quality, and capacity requirements
  • Defend a canary decision from cohort-level metrics rather than the aggregate
  • Plan rollback, incident response, and disaster recovery that preserve in-flight work and side-effect records

Prerequisites

Helpful background: Comfort with rates, percentages, and basic queueing helps.

This topic runs the application. Evaluation & Observability measures its quality, and Model Serving & Inference covers the runtime underneath.

In this guide

  1. Define service objectives precisely
  2. Error budgets and burn rates
  3. Capacity and quota modeling
  4. Admission control and isolation
  5. Fallback architecture and correlated failure
  6. Cost controls as concurrency-safe state
  7. Version the complete serving configuration
  8. Staged rollout and canary evaluation
  9. Canary data for a release decision
  10. Work the canary decision
  11. Rollback and in-flight work
  12. Incident response and recovery
  13. Disaster recovery and data integrity

Hard questions are part of Premium: the study guide, reference answer, rubric, and exercises unlock with Premium.

Practice the interview question

Answer it in your own words before you look at the reference answer.