Technical practice
How would you design an end-to-end model lifecycle using MLflow to guarantee reproducibility from experiment to production?
What to coverAddress linking code commits, dataset versions, hyperparameters, and environment dependencies (Conda/Docker) to MLflow runs. Explain how the MLflow Model Registry manages stage transitions or aliases (e.g., staging to production), artifact storage, and metadata validation gates before serving.
Walk through designing a GitLab CI/CD pipeline for deploying a containerized PyTorch model onto Kubernetes.
What to coverDetail pipeline stages including unit/schema tests, model serialization validation, multi-stage Docker image builds, vulnerability scanning, and automated smoke tests against a staging endpoint. Address handling large model weights cleanly (such as pulling artifacts from object storage at startup versus baking them into images) and the trade-offs in build speed versus startup latency.
What deployment and rollback strategies do you use for ML models in production, and how do you automate rollback triggers?
What to coverCompare canary, blue-green, and shadow deployments in the context of model serving. Explain how you define automated rollback criteria combining infrastructure metrics (error rates, p99 latency, OOM kills) with ML-specific signals (prediction distribution shifts or schema anomalies) while ensuring traffic routing updates cleanly.
How do you structure monitoring, observability, and alerting for production ML services so teams catch silent model degradation without alert fatigue?
What to coverDistinguish between service-level telemetry (request throughput, latency, GPU/CPU memory) and ML observability (feature drift, missing values, output skew, and delayed ground-truth accuracy). Discuss setting actionable alert thresholds, correlating model versions with metrics, and building runbooks for rapid triage.
How do you manage Kubernetes resource allocation, autoscaling, and scheduling for mixed CPU and GPU ML inference workloads?
What to coverCover defining accurate CPU/memory/GPU requests and limits, configuring Horizontal Pod Autoscalers (HPA) using custom metrics (such as queue depth or request latency rather than CPU alone), and using node taints, tolerations, and readiness probes so heavy models load completely before receiving traffic.
How do you use Terraform to provision and maintain reproducible cloud ML infrastructure across environments?
What to coverExplain structuring modular Terraform configurations for managed Kubernetes clusters, GPU node pools, object storage for MLflow artifacts, and least-privilege IAM roles. Address state management, environment parity between staging and production, and safely applying infrastructure changes without disrupting live inference endpoints.
How does workflow orchestration (such as Kubeflow) fit alongside CI/CD pipelines in an automated ML platform?
What to coverClarify the boundary between CI/CD (building, testing, and deploying code/services) and ML workflow orchestration (executing repeatable DAGs for data preprocessing, PyTorch training, and evaluation). Discuss artifact passing between steps, caching, and triggering model registration upon meeting evaluation thresholds.
Suggested preparation (nice-to-have): What architectural trade-offs arise when optimizing cost and latency for serving LLMs or large models in production?
What to coverNote that LLM serving and cost/latency optimization are listed as nice-to-have qualifications. Discuss techniques such as dynamic/continuous batching, model quantization, KV-cache memory management, and autoscaling policies (including scale-to-zero or spot instances) while balancing throughput against tail latency.
Suggested preparation (nice-to-have): How do feature stores and data pipelines prevent training-serving skew?
What to coverNote that feature stores and data pipeline tooling are listed as nice-to-have qualifications. Explain how centralizing feature transformations and maintaining point-in-time correctness between offline batch storage and low-latency online stores ensures inference inputs match training distributions.
Behavioural practice
Tell me about a time you collaborated across ML, backend, and platform teams to establish shared engineering standards without slowing down experimentation.
What to coverUse Situation, Action, and Result to describe conflicting priorities (e.g., data scientists wanting rapid iteration versus platform teams enforcing reliability and security). Highlight how you designed self-service templates, tooling, or golden paths that gained adoption across teams.
Describe a production incident involving a deployed ML model or serving pipeline where you had to diagnose the root cause and execute a rollback or fix.
What to coverFrame your answer with Situation, Action, and Result, focusing on how observability and alerting surfaced the issue, how you triaged between infrastructure failure and model/data behavior, and what systemic safeguards you added afterward.
Give an example of how you automated a manual, error-prone model deployment or infrastructure workflow to improve reliability and release speed.
What to coverUse Situation, Action, and Result to quantify or clearly contrast the before-and-after state—covering the bottlenecks in the manual handoff, the automation tools you introduced (CI/CD, IaC, or registry workflows), and the measurable impact on deployment frequency or stability.
Tell me about a time you had to push back on pushing a model or infrastructure change to production because readiness or observability criteria were not met.
What to coverStructure with Situation, Action, and Result to show how you communicated technical risks objectively to stakeholders, negotiated practical validation gates, and helped the team meet production standards on schedule.