practice a little every day, paws crossed ♡
Machine Learning Interview Questions
Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.
- 9403
- Questions
- 546
- Companies
- 11
- Topics
- 8
- Languages
Showing 1–30 of 572 results
- AMDMediumSoftware EngineerExplain the ReAct Agent Loop
Explain a ReAct tool loop through state, action selection, observations, recovery, stopping criteria, and validation of task completion.
Machine LearningOnsite - AdobeHardMachine Learning EngineerExplain Transformer Attention Fundamentals
This question tests the candidate's deep conceptual knowledge of the Transformer architecture, focusing on the mathematical mechanics of scaled dot-product attention, memory optimization, and hardware-aware training techniques.
Machine LearningOnsiteTransformersAttentionDeep Learning - AdyenEasyMachine Learning EngineerBuild a Payment Fraud Detection Model
Tests practical machine learning design for payment fraud detection, covering data preprocessing, temporal validation splits, class imbalance handling, and metric selection.
Machine LearningHR ScreenFraud DetectionClassificationFeature Engineering - AirbnbMediumData ScientistBuild and evaluate an order prediction model
This question tests the ability to design a robust end-to-end machine learning pipeline for binary classification, focusing on preventing temporal data leakage, managing class imbalance, and aligning model thresholds with business objectives.
Machine LearningTechnical ScreenClassificationTemporal LeakageModel Evaluation - AirbnbMediumMachine Learning EngineerDesign photo and listing quality models
This question tests the end-to-end design of a machine learning system to evaluate the quality of listing photos and overall listing attractiveness to improve search ranking and conversion.
Machine LearningOnsiteComputer VisionRanking SystemsFeature Engineering - AirbnbMediumMachine Learning EngineerDiscuss ML Project Tradeoffs
This question evaluates a candidate's skills in model selection, trade-off analysis between precision, recall, latency and infrastructure cost, threshold tuning, reconciliation of offline versus online metrics, and comparative understanding of recommendation models within the Machine Learning domain.
Machine LearningOnsite - AmazonHardData ScientistBuild a package-allocation model for couriers
This question evaluates a candidate's ability to design an end-to-end ML-driven package-to-courier allocation system, testing competencies in predictive modeling (per-stop service-time forecasting), constrained combinatorial optimization for routing and fairness, feature engineering, simulation, and production concerns such as cold-start handling and distribution shift. It is asked to assess how candidates balance competing objectives like on-time delivery versus fairness under real-world constraints (shift hours, vehicle capacity, delivery windows, time-varying travel forecasts), and is categorized under Machine Learning with a focus on practical application-level system design rather than purely conceptual theory.
Machine LearningOnsite - AmazonHardData ScientistChoose Between Fine-Tuning and RAG for Client Chatbot
This interview question evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer for Choose Between Fine-Tuning and RAG for Client Chatbot states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningTechnical Screen - AmazonHardData ScientistChoose Models for Imbalanced Data and Time-Series Forecasting
Choose Models for Imbalanced Data and Time-Series Forecasting evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningTechnical Screen - AmazonMediumData ScientistChoose regularization norms and model formulations
This question evaluates understanding of regularization norms (L0, L1, L2, L∞), objective formulations for linear and logistic regression, and practical competencies in handling collinearity, outliers, feature scaling, and optimization difficulty.
Machine LearningTechnical Screen - AmazonMediumData ScientistCompare RNNs and Transformers for Long-Sequence Text Classification
Compare RNNs and Transformers for Long-Sequence Text Classification evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningTechnical Screen - AmazonHardData ScientistCompare Random Forests vs Gradient Boosting rigorously
This question evaluates a candidate's ability to choose and configure tree-based models (Random Forest vs. Gradient Boosted Trees), handle high-cardinality categorical features and missingness, mitigate class imbalance and label noise, produce reliable feature importance and calibration, and design an experiment and inference strategy that meets strict latency and resource constraints. It is commonly asked in the Machine Learning domain for Data Scientist roles to assess trade-offs in bias–variance, robustness to correlated features and noise, hyperparameter and encoding decisions, experiment design and evaluation, and tests both conceptual understanding and practical application for production-ready systems.
Machine LearningTechnical Screen - AmazonMediumData ScientistCompare Regularization Techniques and Their Use Cases
Evaluates model evaluation, regularization, and regression basics for predictive analytics. Strong answers define precision and recall, compare L1, L2, L0, and L-infinity penalties, state OLS assumptions, and contrast linear and logistic regression formulas and losses.
Machine LearningTechnical Screen - AmazonMediumData ScientistDecide standardization, sparse numerics, correlated features
This question evaluates a candidate's competency in feature engineering and preprocessing for mixed-type tabular data, including handling sparse counts and heavy-tailed monetary features, missingness and zero-inflation, correlated continuous measurements, model-specific scaling needs, and the design of leak-safe pipelines and validation strategies.
Machine LearningTechnical Screen - AmazonHardData ScientistDerive and compare core ML and RL methods
This question evaluates a candidate's mastery of core machine learning and reinforcement learning concepts, including optimization (gradient methods and batch‑size trade‑offs), supervised versus unsupervised algorithms, policy‑gradient RL and variance reduction, deep RL stability techniques, sequence model complexity (Transformers vs RNNs), embeddings and polysemy, and low‑compute fine‑tuning strategies. It is commonly asked to probe both theoretical understanding and practical engineering judgment about convergence, variance, computational and memory complexity, representation learning, and resource‑constrained model adaptation; the domain is Machine Learning and the assessment spans conceptual understanding and practical application.
Machine LearningTechnical Screen - AmazonEasyApplied ScientistDescribe overfitting and L1/L2 regularization
This question evaluates understanding of model generalization and regularization techniques by probing knowledge of overfitting and L1/L2 regularization and their effects on model parameters.
Machine LearningTechnical Screen - AmazonMediumData ScientistDesign a Churn Model: Handle Missing Data and Justify
This interview question evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer for Design a Churn Model: Handle Missing Data and Justify states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningTechnical Screen - AmazonHardData ScientistDesign a Machine Learning Recommendation System Pipeline
Design a Machine Learning Recommendation System Pipeline evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningOnsite - AmazonHardData ScientistDesign a robust traffic forecasting pipeline
This question tests the ability to design an end-to-end, scalable time-series forecasting pipeline, focusing on anomaly handling, structural decomposition, uncertainty quantification, and model validation strategies.
Machine LearningTechnical ScreenTime-SeriesForecastingState-Space Models - AmazonMediumData ScientistDesign an Automated Home-Price Valuation Model
Design an Automated Home-Price Valuation Model evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningTechnical Screen - AmazonHardData ScientistDesign an ML Model for Interview Recommendation Pipeline
Design an ML Model for Interview Recommendation Pipeline evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningOnsite - AmazonHardData ScientistDesign an end-to-end spam detection system
This question evaluates a data scientist's system-design and applied machine learning engineering skills—covering problem framing and labeling, feature representation, model selection and calibration, real-time serving constraints, drift detection, and feedback/safety mechanisms—and is commonly asked to probe trade-offs between latency, precision/recall, and robustness against adversarial evolution in production spam detection. Category: Machine Learning; it tests machine learning systems and production-ML competencies at both conceptual-design and practical-application levels, emphasizing calibration, evaluation (offline and online), operational reliability, and rollback/mitigation planning.
Machine LearningTechnical Screen - AmazonEasyData ScientistDesign and evaluate a RAG system
This question evaluates a candidate's competency in designing and evaluating retrieval-augmented generation (RAG) systems, including document ingestion, chunking, embedding and retrieval strategies, reranking, prompt construction, grounding/citation, operational constraints like latency and freshness, permission handling, and evaluation metrics and failure modes. It is commonly asked to assess practical system-design and applied machine learning skills for LLM applications, testing knowledge in the Machine Learning/Information Retrieval domain and requiring both practical application-level reasoning about trade-offs (latency, cost, precision vs. recall) and conceptual understanding of evaluation and guardrails.
Machine LearningTechnical Screen - AmazonHardData ScientistDesign end-to-end regression for energy demand
This question evaluates a candidate's ability to design and justify an end-to-end regression system for next-day site-level energy demand forecasting, testing competencies in time-series modeling, feature engineering, regularization, evaluation metrics and SLAs, production ML pipelines, monitoring, explainability, and data privacy.
Machine LearningOnsite - AmazonHardData ScientistDesign fraud detection across channels with unknowns
This question tests the ability to design an end-to-end fraud detection system that accounts for cold-start problems, cross-channel signals, and the trade-off between customer friction and loss mitigation.
Machine LearningOnsiteFraud DetectionAnomaly DetectionGraph Neural Networks - AmazonMediumApplied ScientistDesigning a Bayesian Classifier for Case Analysis
Tests your ability to design a probabilistic Bayesian classification system under conditions of informative missingness, non-stationary class priors, and strict calibration requirements.
Machine LearningOnsiteBayesian ModelingMissing DataModel Calibration - AmazonMediumData ScientistDiagnose Bias–Variance Trade-off in Supervised Learning
Diagnose Bias–Variance Trade-off in Supervised Learning evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningOnsite - AmazonEasyData ScientistEvaluate NLP Classification Models
This question evaluates competency in NLP classification model evaluation, covering understanding of confusion matrices, precision/recall/F1/AUC metrics, thresholding and trade-offs, handling class imbalance, and connecting metric choices to operational actions and business costs.
Machine LearningOnsite - AmazonHardData ScientistEvaluate RAG System Accuracy and Cost Control Strategies
This interview question evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer for Evaluate RAG System Accuracy and Cost Control Strategies states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningTechnical Screen - AmazonMediumSoftware EngineerEvaluating Generative AI Use and Accuracy
Tests a candidate's ability to assess when Generative AI is the right solution, choose appropriate architecture patterns (such as RAG or fine-tuning), and rigorously measure and improve model output accuracy in production.
Machine LearningOnsiteGenerative AIRAGML Evaluation