Skip to content
RED SAGSkills
mediumMLOps Engineer interview question

Design an automated retraining pipeline for a model whose data changes weekly.

What the interviewer wants to hear

  • Scheduled or triggered runs via an orchestrator
  • Data extraction with validation checks
  • Training with tracked config and versioned data
  • Evaluation against production model and slices
  • Registry promotion and gradual rollout; alerts on failure

Model answer

I would use an orchestrator like Airflow or Kubeflow Pipelines. A weekly schedule starts the pipeline, and drift or performance alerts can also trigger it. Step one extracts a fixed time window of data and runs validation: schema, row counts, missing values and label distribution. If validation fails, the pipeline stops and alerts, since training on broken data is worse than not training. Step two trains with a versioned config and logs everything to the experiment tracker. Step three evaluates the new model against the current production model on a recent holdout, overall and by important segments, plus latency checks. If it wins by a set margin and passes all gates, it is registered and promoted, then deployed by canary. Every step is idempotent so retries are safe, and failures notify the owning team.

Can you answer it under time pressure?

Take a timed medium round and get scored on every answer.

Start mock interview

More medium MLOps Engineer questions