InterviewStack.io LogoInterviewStack.io

Model Training and Selection Questions

Encompasses choosing appropriate model families and designing robust training strategies. Covers model selection trade offs between linear models, tree based methods, and neural networks depending on data size, interpretability, and latency constraints. Includes practical aspects of training at scale such as distributed training approaches, data and model parallelism, gradient accumulation, checkpointing, experiment tracking and versioning, design of training pipelines, hyperparameter search and resource aware tuning, handling class imbalance and noisy labels, cost management and compute efficiency, and evaluation strategies including controlled experiments and A and B testing. Also discusses retraining policies such as periodic retraining, trigger based retraining for data drift, and continuous or online learning patterns.

MediumSystem Design
89 practiced
Design a training platform to support up to 100 concurrent experiments per day where each experiment can use up to 8 GPUs and train on datasets up to 1TB. Describe cluster orchestration, job scheduling, autoscaling, spot/spot-instance usage, checkpointing strategy, experiment tracking, and guardrails for fair resource quotas between teams.
HardSystem Design
54 practiced
Architect a multi-tenant ML training platform for an enterprise of 500 ML engineers. The platform must provide per-team isolation, quota management, secure access controls, experiment tracking, model registry, multi-cloud support, cost controls, autoscaling GPU clusters, and compliance auditing. Outline key components, APIs, tenant isolation model, pricing/cost attribution, and failure recovery strategies.
MediumTechnical
50 practiced
A training job on a GPU cluster intermittently throws OOM errors during the final epoch only. Describe a systematic debugging approach to reproduce the issue and propose short-term mitigations and long-term fixes. Mention profiling tools, memory leak causes, and checkpoints to avoid wasted compute.
HardTechnical
59 practiced
Write Python pseudocode for a training job orchestrator that supports fault-tolerant checkpointing, automatic retries with exponential backoff, migration of jobs upon preemption to new nodes, and consistent selection of the 'best model' across retries. Assume a simple job API and object store for checkpoints; focus on orchestration logic and correctness.
EasyTechnical
56 practiced
You receive a new tabular regression task. Describe a sequence of simple baseline models and evaluations you would run before training complex models. Include data sanity checks, simple feature engineering, linear and tree baselines, and how to interpret signal-to-noise to decide next steps.

Unlock Full Question Bank

Get access to hundreds of Model Training and Selection interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.