18 stations on 3 ladders, in order — each rung is written assuming the one above it. Mark them off as you go; your progress is saved in this browser.
0 / 18
Pick up at
Track 1 of 3
FoundationsStart here
6 rungs · ~5h · ends at CI/CD for ML.
0/6 done
1
The ML Lifecycle
Start here
F1 · Beginner · 45 min
A model is never "done" — it lives in a loop: collect data, train, evaluate, deploy, monitor, and retrain. MLOps is the discipline of making that loop reliable and repeatable. Everything downstream rests on one habit: reproducibility, so any result can be recreated exactly.
The train→deploy→monitor loop
Reproducibility
Environments vs artifacts
Why notebooks don't ship
Build itTake a notebook model and list every hidden dependency that would stop a teammate reproducing your result — data snapshot, random seed, library versions, hardware.
✓ CheckpointExplain which part of your train-deploy-monitor loop is currently manual, and what that costs when a model degrades.
Code is versioned; data usually is not — and that is where reproducibility dies. Versioning datasets and feature definitions means every model can be traced back to the exact inputs it saw, so "it worked last week" becomes a fact you can check, not a mystery.
Dataset versioning (DVC-style)
Feature definitions
Immutable snapshots
Data lineage basics
Build itSnapshot a dataset, train on it, then change a few rows and re-snapshot. Prove you can reproduce the original model bit-for-bit from the first snapshot.
✓ CheckpointExplain why versioning the code without versioning the data leaves a run unreproducible.
Which hyperparameters produced your best model? Without tracking, that answer is lost. Experiment tracking logs params, metrics, and artifacts for every run, so you can compare hundreds of experiments and reproduce any one of them on demand.
Logging params & metrics
Run comparison
Artifact storage
Reproducible runs
Build itInstrument a training script to log its hyperparameters and final metrics. Run it 5 times with different settings and rank the runs by validation score.
✓ CheckpointExplain why changing two things between runs makes both results uninterpretable.
Once you have good models, you need a source of truth for them: which version is in staging, which is in production, what data trained it, and how to roll back. A model registry gives every model a version, a stage, and a lineage you can audit.
Model versioning
Staging → production
Lineage & metadata
Rollback
Build itDesign the metadata you would store for each registered model version — enough to answer "what is in production and how do I roll it back?" in one query.
✓ CheckpointExplain what a model registry gives you that a file in object storage does not.
"Works on my machine" is the enemy of production ML. Containers (Docker) and pinned dependencies package your code, libraries, and runtime so training and serving behave identically on a laptop, a CI runner, and a GPU cluster.
Docker for ML
Dependency pinning
Reproducible builds
GPU base images
Build itContainerize a training script with pinned dependencies. Run it on two machines and confirm the output is identical.
✓ CheckpointExplain why pinning dependencies matters more for ML than for most services — “it worked last month” is a real failure mode here.
ML deserves the same automation as software — plus a few extras. A CI/CD pipeline runs tests, validates data, trains or promotes a model, and deploys it, so a change goes from commit to production without manual, error-prone steps.
Automated tests
Data validation gates
Model promotion
Automated deploys
Build itSketch a CI/CD pipeline for a model: what checks run on every commit, what gates a deploy, and what happens if data validation fails?
✓ CheckpointExplain what a data validation gate blocks that a unit test never will.
A real training job is a graph of steps — ingest, validate, featurize, train, evaluate, register — that must run on a schedule, retry on failure, and be observable. Orchestrators (Airflow, Kubeflow, Prefect) turn a fragile notebook into a dependable DAG.
The classic MLOps bug: features computed one way in training and another way in serving, so the model sees different inputs in production. A feature store computes features once and serves the same values to both — killing training/serving skew.
Training/serving skew
Online vs offline features
Feature reuse
Point-in-time correctness
Build itPick a feature (e.g. "orders in last 7 days"). Explain how it could be computed differently in training vs serving, and how a feature store prevents the mismatch.
✓ CheckpointExplain training-serving skew with a concrete example, and how a feature store prevents it.
A trained model is useless until something can call it. Packaging wraps it behind a versioned API with a defined input/output contract; serving runs that API reliably, with health checks, autoscaling, and safe rollouts.
Model as an API
I/O contracts
Health checks
Safe rollout
Build itDefine the request/response contract for a model API. What do you return on a bad input, a timeout, or a model-not-loaded error?
✓ CheckpointExplain what an I/O contract pins down, and what breaks silently when it changes without a version bump.
Not every prediction needs to be real-time. Batch inference precomputes predictions in bulk on a schedule (cheap, high-throughput); online inference answers per request in milliseconds (costly, low-latency). Choosing right shapes your whole architecture.
Batch scoring
Online / real-time serving
Latency vs throughput
Caching predictions
Build itFor three use cases (recommendations email, fraud check, search ranking) decide batch or online, and justify the latency and cost tradeoff.
✓ CheckpointDecide batch or online for one real prediction, and justify it by what is waiting on the result.
Under load, serving becomes a systems problem: autoscaling replicas, batching requests, and squeezing GPU utilization so you are not paying for idle silicon. The goal is meeting latency targets at the lowest cost per prediction.
Autoscaling
Request batching
GPU utilization
Cost per prediction
Build itFor a service at 1,000 requests/second with a 100ms budget, reason through replicas, batch size, and GPU count. Where is the bottleneck?
✓ CheckpointExplain why request batching improves GPU utilisation and hurts tail latency at the same time.
LLMs add a loop on top of classic MLOps: prompts are versioned artifacts, evals gate releases, and fine-tuning is its own pipeline. LLMOps is MLOps plus prompt management, eval-driven deployment, and the cost/latency realities of giant models.
Prompt versioning
Eval-gated releases
Fine-tuning pipelines
Cost & latency control
Build itSketch the extra pipeline stages an LLM feature needs that a classic model does not — prompt versioning, eval gates, guardrails — and where each sits.
✓ CheckpointExplain what an eval-gated release means in practice, and why prompt versioning is a deployment concern.
Models rot. The world shifts under them — user behaviour changes, upstream data changes — and accuracy quietly decays with no error thrown. Monitoring watches for data drift and prediction drift so you catch decay before your users do.
Data drift
Prediction / concept drift
Baseline distributions
Alerting on decay
Build itPick a feature and define a drift check: what distribution do you compare against, and what change would trigger an alert?
✓ CheckpointExplain how you would notice a model degrading before a user complains.
Never trust a new model blindly. Shadow it against the old one, canary it to a slice of traffic, and A/B test to prove it actually improves the metric that matters. Rollout strategy is how you ship models without betting the whole system.
Shadow deployment
Canary releases
A/B testing
Guardrail metrics
Build itDesign the rollout for a new ranking model: shadow → canary → full. What metric decides promotion, and what triggers an automatic rollback?
✓ CheckpointExplain what a shadow deployment tells you that a canary does not.
When a prediction goes wrong at 2am, logs are all you have. Trace each request, log inputs, outputs, model version, and latency, and alert on quality and error rates. Observability turns "the model is acting weird" into a debuggable timeline.
Request tracing
Prediction logging
Latency & error alerts
Debuggability
Build itDesign a logging schema for a prediction service: which 8 fields do you capture, and what condition fires an alert? Write it as JSON.
✓ CheckpointExplain what you would log to diagnose a bad prediction three days later — and what you would refuse to log.
ML infrastructure bills add up fast — idle GPUs, oversized instances, redundant recomputation. Right-sizing compute, caching predictions, spot instances, and turning off what you are not using keeps the system affordable at scale.
Right-sizing compute
Caching & spot instances
Idle-resource cleanup
Cost attribution
Build itAudit a serving setup for waste: where would you cache, where would you downsize, and where is a GPU sitting idle you could reclaim?
✓ CheckpointExplain what makes a workload safe for spot instances, and what it must tolerate.
In regulated or high-stakes settings you must answer: what data trained this model, who approved it, and why did it make that decision? Lineage and governance track the full provenance of every model and prediction for audit and compliance.
Model & data lineage
Audit trails
Access control
Compliance & documentation
Build itFor a model in a regulated domain, list what you would need to store to answer an auditor: training data, approvals, and decision traceability.
✓ CheckpointExplain what an audit trail must contain to answer “why did the model decide this, in March”.
The loop closes here. When monitoring flags a regression, you need a runbook: roll back to a known-good version, diagnose the cause, and trigger retraining on fresh data. Automated retraining pipelines turn decay from a crisis into a routine.
Rollback runbooks
Root-cause diagnosis
Automated retraining
Closing the loop
Build itWrite an incident runbook: a model's accuracy drops 10% overnight — what are your first five steps, in order?
✓ CheckpointExplain why automated retraining without a gate can make an incident worse rather than better.
All 18 rungs on one screen. Each track assumes the one before it; the highlighted rung is where a track ends and the next one picks up.
Track order matters more than rung order inside a track: finish a track's last rung before starting the next track.
Worked example: a three-hours-a-week plan
Say you have three focused hours a week — an evening or two. Take the rungs in order and never split one across two weeks; a rung that would push the week past three hours starts the next week. The rung times add up to 15h 45m.
Week
Rungs
Time
Week 1
F1 The ML Lifecycle, F2 Data & Feature Versioning, F3 Experiment Tracking, F4 Model Registry & Versioning
3h
Week 2
F5 Containers & Environments, F6 CI/CD for ML, T1 Training Pipelines & Orchestration
2h 45m
Week 3
T2 Feature Stores, T3 Model Packaging & Serving, T4 Batch vs Online Inference
That is 6 weeks of reading. The Build-it exercise on each rung is extra and is where most of the learning happens, so plan to spend at least as long building as reading — or halve the pace and do both in the same week.
What each track costs in time
The rung times above, added up per track. Use it to plan the slow stretch: a track that takes a larger share of the total is where the plan above spends more weeks.
Track
Rungs
Time
Share
Longest rung
1. Foundations
6
4h 45m
30%
F6 CI/CD for ML (1h)
2. Pipelines
6
5h 45m
37%
T1 Training Pipelines & Orchestration (1h)
3. Operations
6
5h 15m
33%
P1 Monitoring & Drift (1h)
Common mistakes on the MLOps path
Versioning code but not data
If the training snapshot has been overwritten, no amount of git history reproduces the model, and "it worked last week" cannot be checked. Immutable data snapshots (F2) are where reproducibility starts.
Promoting on offline metrics alone
A model that wins on the test set can still hurt the business metric or blow the latency budget. Shadow it, canary it and A/B test it against guardrail metrics before full rollout (P2).
Monitoring only service health
The endpoint can return 200 OK with low latency while its predictions decay. Watch input distributions against a training baseline, the prediction distribution, and accuracy once labels arrive (P1).
Retraining with no gates
Scheduled retraining that deploys automatically will one day ship a model trained on broken data. Validate the data and compare against the current production model before promotion (F6, P6).
Starting with the GPU cluster
Jumping to autoscaling GPUs (T5) before tracking, a registry and CI makes an impressive but unreproducible portfolio. A small model with the full loop, from versioned data to drift check, shows more.
Where this shows up: jobs and interviews
The day-to-day work
Building and running the path models take to production: pipelines (T1), serving (T3, T4) and CI/CD (F6), plus the on-call side, such as a model regression, a failed pipeline or a GPU bill (P4). Data scientists are often your users.
The system design round
"Design training to serving for a fraud model." Interviewers probe reproducibility and the registry (F4), training-serving skew (T2), batch versus online (T4), rollout (P2), monitoring (P1) and rollback (P6).
Coding and infrastructure rounds
Expect Python, Docker, CI pipelines and Kubernetes basics, and debugging questions such as "the model works locally but fails in the container" (F5).
Showing it in a portfolio
A repository where one command rebuilds a model from a pinned data version, with tracked runs, a registry, a gated deploy and a README diagram of the loop. For LLM roles, add prompt versioning and an eval-gated release (T6).
Check yourself
Open a question only after you have answered it out loud. If one stumps you, the rung in brackets is where to go back to.
A production model starts underperforming, and nobody can say which data it was trained on. Which two pieces would have answered that?
Dataset versioning with immutable snapshots, and a model registry whose lineage links each model version to its data version, code and parameters. (F2, F4)
When is nightly batch scoring the right choice over real-time inference?
When the entities are known in advance and their inputs change slowly, so precomputed predictions stay valid until the next run. It is cheap and high-throughput. Choose online when the prediction depends on fresh request context. (T4)
Service dashboards are green, but the business metric driven by the model has slid for weeks. Where do you look?
Data drift: compare input distributions with the training baseline and check for upstream schema or data changes. Look at the prediction distribution, then at concept drift once labels arrive, using prediction logs tagged with the model version. (P1, P3)
A team wants to edit an LLM feature's system prompt directly in production. What process should it go through?
Treat the prompt as a versioned artifact: change it in version control, run the eval suite, release only if evals pass, canary it, and keep the previous version ready for rollback. (T6, P2)
MLOps roadmap — frequently asked questions
The common questions before you start — how long it takes, whether to follow it in order, and how it stays current.
How long does this roadmap take?
It runs 18 stations across 3 tracks — roughly ~17h of focused learning, plus the time you spend actually building. It is self-paced, so most people work through it over a few weeks, an evening or a single station at a time.
Do I have to follow the stations in order?
The tracks are ordered so each station builds on the one before, and following them start to finish is the intended path. But every station also stands alone — if you already have the foundations, jump straight to the part you need.
Is it free?
Yes. The whole roadmap, and every handbook, lab, and challenge it links to, is free and open — no sign-up and no paywall.
How is the roadmap kept current?
It teaches the durable fundamentals of the role first, then the tooling and the AI-era shifts on top — so most of it stays relevant as individual tools churn, and it is revised as the role itself changes.
Who is this roadmap for?
Anyone stepping into or leveling up in the MLOps role — whether you are switching in, early-career, or a senior filling gaps. Start where you are; the ladder shows what is left.
Finished this one? 0 / 31 Roadmaps done
Explore the topic
See this alongside everything else on the same subject — handbooks, system designs, challenges and tools, in one place.