Katkat

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 Engineer
    Explain 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 Engineer
    Explain 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 Engineer
    Build 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 Scientist
    Build 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 Engineer
    Design 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 Engineer
    Discuss 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 Scientist
    Build 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 Scientist
    Choose 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 Scientist
    Choose 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 Scientist
    Choose 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 Scientist
    Compare 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 Scientist
    Compare 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 Scientist
    Compare 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 Scientist
    Decide 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 Scientist
    Derive 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 Scientist
    Describe 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 Scientist
    Design 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 Scientist
    Design 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 Scientist
    Design 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 Scientist
    Design 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 Scientist
    Design 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 Scientist
    Design 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 Scientist
    Design 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 Scientist
    Design 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 Scientist
    Design 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 Scientist
    Designing 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 Scientist
    Diagnose 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 Scientist
    Evaluate 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 Scientist
    Evaluate 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 Engineer
    Evaluating 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