Interview prep
MLOps interview questions
59 of the most common MLOps questions for data and AI interviews — each with a worked answer, the trap to avoid, and a link to learn it properly. Serving, monitoring, drift, CI/CD, reproducibility.
Filter by role
- How do you choose between batch and real-time inference for a model? Easy
- Why isn't a git commit enough to reproduce an ML training run? Easy
- What does experiment tracking solve, and how do MLflow and Weights and Biases differ in practice? Easy ·OpenAI·Cohere·Databricks
- Walk me through the full ML lifecycle from problem definition to model retirement. Easy ·Google·Amazon·Microsoft
- What's the difference between experiment tracking and a model registry, and why do you need both? Easy
- Why use a pipeline orchestrator like Airflow or Kubeflow instead of cron scripts for ML workflows? Easy
- How do you decide if a new model is actually better in production? Medium
- How does autoscaling work for ML inference services, and what metrics should drive it? Medium ·Google·Amazon·Uber
- When would you choose AWS Lambda instead of ECS, and when would you choose ECS? Medium ·Amazon·Capital One·Netflix
- What are the differences between batch, online, and streaming inference, and when should you use each? Medium ·Netflix·Uber·LinkedIn
- What is training-serving skew, and how does a feature store help prevent it? Medium
- How does CI/CD for ML differ from standard software CI/CD, and what stages should an ML pipeline include? Medium ·Google·Spotify·Airbnb
- How do you evolve a data schema without breaking downstream ML consumers? Medium
- What is a data contract, and how does it prevent ML pipelines from breaking silently? Medium
- What is the difference between data drift, concept drift, and label drift — and how do you detect each? Medium ·Netflix·Uber·LinkedIn
- How does DVC differ from a feature store, and when would you reach for each? Medium
- What is the difference between a database and a cache, and how does cache-aside work? Medium ·Amazon·Meta·Netflix
- What is LLM model routing and how does an LLM cascade work? Medium
- How do you attribute and control ML spend across teams and models (FinOps for ML)? Medium
- How would you reduce the cost of serving an ML or LLM model in production without hurting quality? Medium
- What is data poisoning, and why is loading a pickle model file dangerous? Medium
- How do Docker and ONNX complement each other for packaging and deploying ML models portably? Medium ·Microsoft·Amazon·Meta
- What is model quantization, and how does it affect quality? Medium
- How do you safely promote a model to production using a model registry? Medium
- What is a model registry, and how does model versioning work in production ML systems? Medium ·Databricks·Netflix·Airbnb
- How do you safely roll back a model in production and what triggers a rollback? Medium ·Netflix·Lyft·Twitter
- What are the security and compatibility risks of using pickle for model serialization, and what are the safer alternatives? Medium ·Amazon·Google·Hugging Face
- What metrics should you monitor for a production ML model, and at what layer? Medium ·Uber·Lyft·Spotify
- What is the difference between monitoring and distributed tracing? Medium ·Google·Datadog·Amazon
- What does it mean for a pipeline task to be idempotent, and why does it matter for backfills and retries? Medium
- How do you achieve reproducibility in ML training pipelines — covering seeds, environment, and data versioning? Medium ·DeepMind·OpenAI·Meta
- What goes in a model card, and how do you provide explainability for production decisions? Medium
- When would you choose gRPC over REST for model serving, and what are the practical trade-offs? Medium ·Google·Netflix·Lyft
- How do you decide when to retrain a model, and how do you do it safely? Medium
- What is the difference between shadow deployment and canary deployment for ML models, and when do you use each? Medium ·Google·Netflix·Airbnb
- What is the difference between a stateless and stateful service? Medium ·Amazon·Netflix·Uber
- What are behavioral tests for ML models (invariance, directional, and minimum-functionality tests)? Medium
- How do you test an ML system, and what is the ML Test Score? Medium
- What is a feature store and why is it critical for production ML systems? Medium ·Uber·LinkedIn·Airbnb
- When and how should you trigger model retraining — scheduled vs. event-driven? Medium ·Airbnb·DoorDash·Netflix
- Why does a model that performed well in offline evaluation degrade in production? Medium ·Meta·Google·Stripe
- When would you use a multi-armed bandit or shadow deployment instead of a fixed A/B test? Hard
- What is the confused deputy problem in agent systems, and how does it relate to agent-to-agent authentication? Hard
- How would you prevent an AI agent from leaking or misusing API credentials? Hard ·Microsoft·Google·OpenAI
- How do you evaluate an agentic system, and what is the difference between trajectory and outcome evaluation? Hard
- How do you optimise GPU utilization for model serving, and what role does dynamic batching play? Hard ·Nvidia·Google·OpenAI
- How do you monitor a model when ground-truth labels are delayed or never arrive? Hard ·Stripe·Affirm·Klarna
- How do you balance latency and throughput trade-offs when designing a model serving system? Hard ·Google·Amazon·OpenAI
- How does LLMOps differ from classical MLOps, and what new operational challenges do LLMs introduce? Hard ·OpenAI·Anthropic·Cohere
- What are the major security risks of deploying autonomous agents? Hard
- How do MCP tool poisoning, cross-server shadowing, and rug pulls differ? Hard ·Anthropic·Microsoft·OpenAI
- What is MLSecOps, and what are the main threats across the ML lifecycle? Hard
- A model is live and you cannot get labels quickly. How do you set up alerting to catch performance problems early? Hard ·Stripe·Affirm·Uber
- Does PKCE protect an AI agent after an OAuth access token has been stolen? Hard ·Microsoft·Google·Okta
- What problem does PagedAttention solve, and what is continuous batching? Hard
- How do you operationalize responsible AI, and what changes under the EU AI Act for a high-risk system? Hard
- What's the difference between full retraining, incremental (warm-start) training, and continual online learning? Hard
- What is train/serve skew and how do you prevent it? Hard ·Google·Meta·Stripe
- Why is OAuth token passthrough dangerous in an MCP server? Hard ·Microsoft·Anthropic·Google
No questions tagged for that role yet.