LearnThatStack Ace your next interview
Machine Learning & Data Science
MLOps & Model Deployment.
Change topic Change
Practice · Questions

All questions

Showing of 42
Beginner 8
01

What are the main ways to serve a model, and when does batch win?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Three shapes cover nearly every case: batch scoring, online request-response, and streaming prediction. Batch runs on a schedule and writes predictions into a table or cache. Online serving computes a prediction inside a request, under a latency budget. Streaming scores events as they arrive on a queue and pushes results downstream.

Batch wins when the prediction does not depend on something the user just did. Churn scores, nightly recommendations, lead ranking, and credit pre-approvals all fit. You get cheap hardware, no tail-latency worry, and easy retries when a run fails. Reading a precomputed row is a key lookup, so the serving path stays trivial.

Batch loses the moment freshness matters. A score computed overnight is stale for a session that started at lunchtime. The usual cost of getting this wrong is a recommender that ignores everything the user did in the current session.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

02

What is model serving, and how does deployment differ from inference?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Serving is the running system that answers prediction requests. Inference is the single act of computing one prediction from one input. Deployment is the release event that puts a specific model version behind the serving system.

The distinction matters when something breaks. Inference is a math problem you can reproduce in a notebook. Serving is an availability problem with queues, timeouts, autoscaling, and a p99 latency number. Deployment is a change problem with rollback, approval, and a record of who shipped what.

Teams blur the three and then own the wrong thing. A model that scores well offline still needs capacity planning, warm-up, and a health check before it can carry traffic. A perfectly healthy service can also serve a stale model for months. That happens when nobody treated deployment as its own step with its own audit trail.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

03

What is model drift, and why does an accurate model get worse over time?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Model drift is the decay in a model's real-world performance after it ships. The weights never change. The world those weights were fitted to does change, so yesterday's good fit becomes today's mediocre one.

Three things move underneath a frozen model. User behaviour shifts with seasons, prices, and competitors. Upstream systems change, so a field that meant one thing now means another. The model also changes behaviour by acting on it, since users mostly see what it ranked highly.

So a launch-day accuracy of 92 percent is not a property of the model. It is a measurement of one moment. Treating it as permanent is how a fraud model quietly misses a scam pattern invented after training ended. Plan for decay from day one, and budget retraining as a running cost rather than a rescue project.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

04

What is experiment tracking, and what should you record for every training run?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Experiment tracking is the habit of recording every training run as a durable row, not a terminal log. Each run gets an id, and everything needed to explain its result hangs off that id.

Record at minimum:

  • the git commit of the training code, including preprocessing
  • the dataset version, or a snapshot of the query that built it
  • every hyperparameter and the random seeds
  • the environment: library versions and hardware
  • metrics on a fixed evaluation set, plus the artifact and its hash

The payoff shows up weeks later. Someone asks why last month's model beat this week's, and the honest answer without tracking is a shrug. With it you diff two rows and find the changed learning rate or the extra week of data. It also ends the classic waste where a strong result cannot be reproduced because nobody recorded the branch.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

05

What is a model registry, and why does every model need a version?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

A model registry is the catalogue of trained models that are candidates for production or already in it. Each entry holds an immutable version, the artifact, its metrics, its stage, and a pointer back to the run that produced it.

Versions matter because a model is a moving binary with no compile-time contract. Two files named fraud_model.pkl can behave completely differently, and neither will complain. Without a version stamped into the serving logs, you cannot say which model produced a specific bad prediction.

The registry also gives deployment something stable to point at. The service asks for the production alias, not a file path on someone's laptop or a bucket key that got overwritten last week. That one layer of indirection turns rollback into a config change instead of a rebuild. It usually pays for itself during the first bad release.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

06

What does reproducibility mean in MLOps, and why does it matter?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Reproducibility means rebuilding the same model artifact, or a statistically equivalent one, from a recorded starting point. It rests on three axes: the data, the code, and the environment. Miss any one and the rebuild drifts away from the original.

Data means the exact rows and values as they were then, not a table that has since been updated in place. Code means a commit hash, including the preprocessing that lives outside the training script. Environment means pinned library versions, because a minor bump in a numerical library can shift results.

It buys you three concrete things. Debugging a bad prediction needs the model that made it, not a lookalike. Regulated domains need proof of how a decision was produced. And any claim of improvement is empty if the baseline cannot be rerun. Bit-for-bit determinism on GPUs is expensive, so most teams settle for pinned inputs plus fixed seeds.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

07

What is a feature store, and why do production ML systems need one?

Part of Pro
08

What is training-serving skew, and why is it so easy to miss?

Part of Pro
Intermediate 24
09

What do you monitor on a deployed model, and what should trigger an alert?

Part of Pro
10

How do you detect data drift in production, and on which inputs?

Part of Pro
11

What separates concept drift from data drift, and why does the distinction matter?

Part of Pro
12

How does a feature store stop training-serving skew from creeping back in?

Part of Pro
13

How do you make a training run reproducible six months later?

Part of Pro
14

What do you weigh when choosing how to deploy a model into production?

Part of Pro
15

Walk me through a production incident you owned on an ML system

Part of Pro
16

Your model's accuracy has slid for three months - what do you do?

Part of Pro
17

What should trigger a retrain - a schedule, a drift alarm, or a metric drop?

Part of Pro
18

How do you automate retraining without letting a worse model reach users?

Part of Pro
19

What is the difference between retraining a model and fine-tuning one?

Part of Pro
20

How do you version datasets so an old training run can be rebuilt?

Part of Pro
21

How does a model move from staging to production inside a registry?

Part of Pro
22

What is model lineage, and what does it let you answer after an incident?

Part of Pro
23

What is a shadow deployment, and when is the duplicated traffic worth it?

Part of Pro
24

What is a canary rollout for a model, and how does blue-green differ?

Part of Pro
25

How is A/B testing a model different from a canary rollout?

Part of Pro
26

How do you roll back a model, and why is it harder than code?

Part of Pro
27

What testing must a model pass before it is allowed into production?

Part of Pro
28

How do you bring inference latency down in a real-time serving path?

Part of Pro
29

How do you set and measure latency and availability SLOs for an inference service?

Part of Pro
30

When does streaming prediction beat both batch jobs and request-response serving?

Part of Pro
31

What should a prediction service return when the model is unavailable?

Part of Pro
32

Walk through the path that carries a training run to a deployed model

Part of Pro
Expert 10
33

Without ground-truth labels, how do you know the model is degrading?

Part of Pro
34

How would you design a monitoring system covering many models in production?

Part of Pro
35

Offline and online features disagree for the same request - how do you debug it?

Part of Pro
36

How do latency and throughput trade off in a serving system under load?

Part of Pro
37

Which fallbacks fire during a partial outage, and what does each degraded path return?

Part of Pro
38

How do you tell concept drift apart from a broken feature pipeline?

Part of Pro
39

How would you divide a latency budget across the parts of a serving path?

Part of Pro
40

How does traffic tiering cut serving cost when capacity gets tight?

Part of Pro
41

Which metrics should automatically halt a canary rollout, and at what thresholds?

Part of Pro
42

Canary business metrics improve but p99 latency degrades - what do you do?

Part of Pro

No matches

Try a different filter or search term.

Know someone prepping for MLOps & Model Deployment? Send them this set.
Pro · $10/mo

36 of 42 MLOps & Model Deployment answers are in Pro.

Full answers, code samples, and AI explanations that go simpler or deeper. Cancel anytime.

  • Full answers + code
  • AI explanations, simpler or deeper
  • 1,000 AI credits / month
  • Cancel anytime

Change topic

Pick a different technology or stack. Your current topic stays put until you choose a new one.

Technologies
No technologies match “”.
Cross-cutting topics
No topics match “”.
By role
Stacks & frameworks

MEAN

MongoDB, Express, Angular, Node.js

MERN

MongoDB, Express, React, Node.js

LAMP

Linux, Apache, MySQL, PHP

Django

Python Full-Stack Development

Ruby on Rails

Convention over Configuration

Serverless on AWS

Serverless Architecture on AWS

Flutter Mobile

Flutter Cross-Platform Mobile Development

Spring Boot

Enterprise Java Development

.NET

Microsoft Ecosystem

Vue

Vue.js, Vite, TypeScript, Tailwind, Node.js

Go Backend

Golang, gRPC, PostgreSQL, Redis, RabbitMQ

FastAPI

Python, FastAPI, SQLAlchemy, PostgreSQL

React Native

React, TypeScript, Redux, Firebase

iOS Native

Swift, SwiftUI, UIKit, Firebase

Android Native

Java, Jetpack Compose, Firebase

DevOps / Platform

Docker, Kubernetes, Terraform, CI/CD

AI Engineer

LLMs, RAG, Agents, Evals

AI-Powered Developer

Claude Code, Copilot, Agentic Workflows

Core SWE Interview Prep

Data structures, algorithms, OS, concurrency, networking, git