Skip to content
RED SAGSkills
hardMLOps Engineer interview question

You need to run a multi-day, multi-node training job on preemptible GPUs. How do you make it reliable and cost-effective?

What the interviewer wants to hear

  • Frequent, complete, asynchronous checkpoints to durable storage
  • Automatic restart and elastic or fixed-size resume logic
  • Handle preemption notices and save on shutdown
  • Watch for stragglers and failing nodes
  • Track cost and goodput, not just GPU hours

Model answer

The core is checkpointing. I save complete state, meaning model and optimiser shards, scheduler, step, random states and data loader position, to object storage on a fixed interval, chosen so the expected lost work per preemption is small compared with checkpoint cost. Asynchronous or sharded checkpointing keeps saves from stalling training. I listen for preemption notices and trigger a final save when one arrives. The orchestrator restarts the job automatically on new nodes and resumes from the latest valid checkpoint, verifying it is complete before using it. If node counts can change, I use elastic training or keep the global batch size constant through gradient accumulation. I monitor for stragglers and bad nodes that slow every step. Finally I measure goodput, the share of GPU time that produced progress, so I can compare the spot savings against time lost to restarts.

Can you answer it under time pressure?

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

Start mock interview

More hard MLOps Engineer questions