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 211–224 of 224 questions

211.What is data drift and concept drift?MidMLOps

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.

212.How do you version data?MidMLOps

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.

213.What is a feature store?MidMLOps

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.

214.How do you deploy a model safely?MidMLOps

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.

215.What should a CI/CD pipeline for ML include?MidMLOps

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.

216.What is training-serving skew?MidMLOps

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.

217.What is Kubeflow?MidMLOps

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.

218.How do you measure whether a platform is successful?MidPlatform Engineering

Use DORA metrics (deployment frequency, lead time, change failure rate, time to restore), adoption of golden paths, time to first deploy for a new service, number of tickets to the platform team, and regular developer satisfaction surveys.

219.What is the difference between a software template and a shared library or module?MidPlatform Engineering

A template creates a new repository once from a starting point (scaffolding); after that the team owns the copy. A shared library, Terraform module or CI component is referenced and versioned, so improvements reach every user when they upgrade.

220.How would you give teams their own Kubernetes environments safely?MidPlatform Engineering

Use namespaces per team or app with RBAC, ResourceQuotas and LimitRanges, default-deny NetworkPolicies, policy-as-code (Kyverno or OPA Gatekeeper) and GitOps for changes. Use separate clusters when you need hard isolation, for example for compliance or noisy workloads.

221.What is Crossplane, and why would a platform team use it?MidPlatform Engineering

Crossplane lets you create cloud resources (databases, buckets, queues) with Kubernetes APIs. The platform team defines simple composite resources like PostgresInstance that hide the details, and developers request them with YAML through GitOps.

222.How do you avoid the platform becoming a bottleneck?MidPlatform Engineering

Make common work self-service, publish clear APIs and docs, accept contributions from other teams (inner source), keep an escape hatch for special cases, and measure where developers wait. A ticket queue that grows is a signal to automate.

223.What belongs in a service template?MidPlatform Engineering

Repository layout, a Dockerfile, CI/CD pipeline, Helm chart or Kustomize base, health checks, logging and metrics setup, alerts and dashboards, security scanning, CODEOWNERS and a catalog entry with the owner. Everything a new service needs on day one.

224.How do you manage developer environments and preview environments?MidPlatform Engineering

Use dev containers or cloud workspaces for consistent local setups, and create short-lived preview environments per merge request (namespace or vcluster plus a URL) that are deleted automatically when the MR closes.