Skip to content
$ lynuxpro

INTERVIEW PREP

Interview questions

570 questions from real DevOps, SRE, platform engineering and MLOps interviews, with the answer an interviewer wants to hear. Try answering out loud first, then open the model answer.

Showing 1–15 of 18 questions

Model training pipelines, registries, feature stores, serving, drift monitoring and ML platforms.

1.What is MLOps?Beginner

Applying DevOps practices to machine learning: version control for code, data and models, automated training and testing pipelines, reliable deployment of models, and monitoring them in production so they keep working as data changes.

2.How is MLOps different from DevOps?Beginner

Software only changes when code changes; an ML model can get worse when the data changes. So MLOps also versions data and models, tracks experiments, validates model quality before release and monitors for drift, not just uptime.

3.What is a model registry?Beginner

A central store of trained model versions with their metadata (metrics, training data, code version) and stages like staging and production. MLflow Model Registry, SageMaker Model Registry and Vertex AI Model Registry are examples.

4.What is experiment tracking?Beginner

Recording each training run's parameters, code version, data version and metrics so results can be compared and reproduced. MLflow, Weights & Biases and Neptune are common tools.

5.What is the difference between batch and online (real-time) inference?Beginner

Batch inference scores many records on a schedule and writes results to storage, for example nightly recommendations. Online inference answers single requests through an API with low latency, for example fraud checks at checkout.

6.What is data drift and concept drift?Mid

Data drift: the input data changes from what the model was trained on (new user types, a changed sensor). Concept drift: the relationship between inputs and the right answer changes (fraud patterns evolve). Both lower accuracy; detect them by comparing live data and outcomes with training baselines.

7.How do you version data?Mid

Use tools like DVC or lakeFS, or store immutable dataset snapshots in object storage with IDs recorded alongside each model. The goal is that every model can be traced to the exact data and code that produced it.

8.What is a feature store?Mid

A system that stores and serves ML features consistently for training (historical, offline) and inference (fresh, online), so the same feature logic is used in both. Feast, Tecton and cloud feature stores are examples; it prevents training-serving skew.

9.How do you deploy a model safely?Mid

Package it in a container with a pinned environment, serve it with a tool like KServe, Seldon, BentoML, Triton or a managed endpoint, then roll out with shadow traffic or canary releases, comparing latency, errors and model metrics before sending all traffic.

10.What should a CI/CD pipeline for ML include?Mid

Code tests and linting, data validation (schema, ranges, nulls), training or retraining, model evaluation against a baseline and fairness checks, registering the model, and automated deployment to staging then production with approval and rollback.

11.What is training-serving skew?Mid

When the model sees different data at serving time than in training, often because features were computed differently in two code paths. Fix it with shared feature code or a feature store, and log live features to compare with training data.

12.What is Kubeflow?Mid

An open-source toolkit for ML on Kubernetes: Kubeflow Pipelines for workflows, notebooks, Katib for hyperparameter tuning, training operators for distributed jobs, and KServe for model serving.

13.How do you monitor a model in production?Senior

Track service metrics (latency, errors, throughput, GPU use), data quality and drift of inputs, prediction distributions, and real accuracy once true labels arrive. Alert on big shifts and connect monitoring to a retraining or rollback process.

14.How do you make ML training reproducible?Senior

Pin code (Git commit), environment (container image with exact library versions), data (versioned snapshot), random seeds and hardware settings, and log all of it with the run. Note that some GPU operations aren't fully deterministic, so record tolerances.

15.How would you design a platform for many data science teams?Senior

Offer self-service notebooks and GPU quotas, a shared feature store, experiment tracking and model registry, pipeline templates that run on Kubernetes or a managed service, standard serving with autoscaling, and built-in monitoring and cost visibility per team.