Skip to content
IT glossary
Data and MLUpdated December 3, 2026

MLOps

These are the practices teams use to train, test, deploy, and maintain machine learning models. They make it easier to repeat a training run, tell when predictions are getting worse, and replace a model safely.

Why MLOps exists

A model can work well in a notebook and still fail once it starts making predictions for real users. The production service might compute a feature differently, or the data it receives might change months after launch. MLOps, short for Machine Learning Operations, applies DevOps practices such as automated testing and controlled releases to this broader problem. Along with application code, a team has to manage training data, model versions, and prediction quality.

From a training run to production

  • Make runs traceable. Record the code revision, dataset snapshot, training settings, dependencies, and evaluation results. If two runs produce different models, this record helps the team identify what changed and rerun the relevant experiment.
  • Decide what can ship. Compare the candidate with the current model on the same held-out data. Check performance on important groups as well as overall performance, and verify that the production system computes features the way the training pipeline expects. A model registry tracks the resulting artifacts and their approval status.
  • Release with a way back. An online service can send a small share of traffic to the new version before rolling it out more widely. In batch prediction, a team can run both versions on the same input and inspect differences before switching which output downstream jobs consume. Keep the previous model and compatible preprocessing available for rollback.
  • Measure service health and prediction quality separately. Latency and error rates can be checked immediately. To measure prediction quality directly, you usually need actual outcomes to compare against the predictions. Changes in the input distribution, known as data drift, can prompt an investigation but do not prove the model got worse.

Example: predicting late deliveries

A retailer scores open orders every morning to flag deliveries at risk of being late. Before replacing the model, the team tests both versions on a later period that neither model trained on, checking whether results hold up across shipping regions. After release, actual delivery dates may take several days to arrive. In the meantime, a sudden drop in the number of flagged orders is a reason to check the input feeds. If a carrier stopped sending tracking events, restoring the feed is the immediate fix; retraining would not restore the missing information.

How it comes up in interviews

You might be asked to design a retraining workflow or diagnose a drop in model quality. Distinguish a training trigger from a release gate: a schedule or a monitoring alert can start a training run, but the candidate still has to pass evaluation and compatibility checks before it ships. If outcomes arrive late, explain what you can verify now, what you must wait to measure, and which failures would justify an immediate rollback. An incompatible input schema is a stronger reason to act immediately than a drift alert on its own.