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 76–84 of 84 questions

76.Slurm or Kubernetes with Kueue for a large GPU cluster?SeniorAI Infrastructure & GPUs

Slurm is mature for batch training with fair share, backfill and topology awareness. Kubernetes with Kueue fits teams that also run inference and services on one platform. Many companies use both, and choose by team skills and workload mix.

77.How would you size and buy GPUs for an inference service?SeniorAI Infrastructure & GPUs

Measure tokens per second per GPU with a load test, divide peak demand by that and a target use of about 70 percent, add a spare, then reserve the steady base, use on-demand for peaks and spot for batch work with checkpoints.

78.You must cut inference cost by 30 percent without hurting users. What do you try?SeniorAI Infrastructure & GPUs

Load test and look for idle capacity. Try prefix caching, a tighter max model length, quantization with a quality check, a smaller model for easy requests through the gateway, better batching, and scaling on queue length with right-sized reserved capacity. Verify quality and latency after each change.

79.How do you monitor a model in production?SeniorMLOps

Track service metrics (latency, errors, throughput, GPU use), data quality and drift of inputs, prediction distributions, and real accuracy once true labels arrive. Alert on big shifts and connect monitoring to a retraining or rollback process.

80.How do you make ML training reproducible?SeniorMLOps

Pin code (Git commit), environment (container image with exact library versions), data (versioned snapshot), random seeds and hardware settings, and log all of it with the run. Note that some GPU operations aren't fully deterministic, so record tolerances.

81.How would you design a platform for many data science teams?SeniorMLOps

Offer self-service notebooks and GPU quotas, a shared feature store, experiment tracking and model registry, pipeline templates that run on Kubernetes or a managed service, standard serving with autoscaling, and built-in monitoring and cost visibility per team.

82.How do you serve large models (LLMs) efficiently?SeniorMLOps

Use an optimized inference server (vLLM, TensorRT-LLM, Triton or TGI) with continuous batching and paged KV cache, quantize when quality allows, autoscale on queue depth or tokens per second, and keep hot replicas warm because loading weights is slow. Watch GPU memory and cost per token.

83.When should a model be retrained automatically?SeniorMLOps

On a schedule when data changes predictably, or when monitoring shows drift or a drop in accuracy. Always gate automatic retraining with evaluation against the current model and a human or policy approval for high-risk use cases.

84.How do you handle governance and responsible AI in MLOps?SeniorMLOps

Keep lineage for data, code and models, document models (model cards), test for bias and fairness, control access to sensitive training data, keep audit logs of approvals and deployments, and have a clear rollback path.