Katkat

Topic

Machine Learning interview questions

572 Machine Learning questions from 133 companies, with hints, runnable code and solution walkthroughs.

Questions572

59 easy323 medium190 hard

Your progress0/572

Machine Learning interview questions by the numbers

Last updated

Katkat has 572 Machine Learning interview questions from 133 companies; the most come from Amazon (10%), OpenAI (6%) and Meta (5%). By difficulty: 10% easy, 56% medium and 33% hard. The most common round is Technical Screen (61%). Frequent concepts include Machine Learning, Feature Engineering, Model Evaluation and Optimization.

Companies (133)

Difficulty

  • Easy10% · 59
  • Medium56% · 323
  • Hard33% · 190

Interview rounds

  • Technical Screen61% · 348
  • Onsite28% · 163
  • Online Assessment8% · 46
  • HR Screen3% · 15

Roles

  • Data Scientist46% · 264
  • Machine Learning Engineer35% · 202
  • Software Engineer9% · 53
  • Applied Scientist5% · 26
  • Quantitative Researcher2% · 13

Frequent concepts

  • Machine Learning7% · 39
  • Feature Engineering5% · 29
  • Model Evaluation4% · 23
  • Optimization4% · 23
  • Deep Learning4% · 21
  • System Design3% · 18

Showing 271–300 of 572 results

  • A machine learning fundamentals screen that asks you to diagnose models from pairs of training and test error, including the unusual case where the test error is the lower one. It continues with curbing overfitting in linear, tree-based and neural network models, and with setting up validation splits and k-fold cross-validation.

    LyftMachine Learning EngineerMachine LearningTechnical Screen
  • Design a curation and validation framework to evaluate, filter, and safely integrate a large, noisy dataset into an LLM post-training pipeline without degrading model performance.

    MercorMachine Learning EngineerMachine LearningTechnical Screen
  • Assess and debug a compact decoder-only Transformer implementation. Candidates trace tensor dimensions through causal multi-head self-attention, identify flaws in next-token loss alignment and KV-cached generation, and establish equivalence between cached and uncached forward passes.

    MercorMachine Learning EngineerMachine LearningOnsite
  • This question assesses the ability to determine the appropriate RL framework for recommendation systems, evaluate policies using offline data, and implement safety guardrails.

    MetaData ScientistMachine LearningOnsite
  • This problem evaluates your ability to design a robust text classification system for identifying harmful content, emphasizing strategies for data imbalance, labeling ambiguity, and real-time inference.

    MetaMachine Learning EngineerMachine LearningOnsite
  • This question evaluates competency in offline recommender-system evaluation, propensity-weighted policy comparison, classification metric interpretation, probability calibration, model selection trade-offs, and handling data leakage and network interference.

    MetaData ScientistMachine LearningHR Screen
  • This question evaluates cost-sensitive classification, operating-threshold selection, score calibration, drift monitoring, and experiment and guardrail design competencies within the Machine Learning domain.

    MetaData ScientistMachine LearningOnsite
  • This question evaluates proficiency in online experimentation and sequential decision-making, covering Bayesian bandits (Thompson Sampling), safety guardrails for churn, delayed-conversion handling, traffic allocation and stopping/rollback policy design.

    MetaData ScientistMachine LearningOnsite
  • This problem tests your ability to derive the Ordinary Least Squares (OLS) closed-form solution for a simple linear regression model and analyze the underlying mathematical assumptions.

    MetaMachine Learning EngineerMachine LearningTechnical Screen
  • 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 Machine Learning Model for Facebook Groups Post Ranking states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    MetaData ScientistMachine LearningOnsite
  • Meta machine learning system-design prompt on restaurant recommendations for food apps, covering retrieval and ranking models, features, cold start, implicit feedback, offline metrics, A/B testing, and marketplace guardrails.

    MetaData ScientistMachine LearningOnsite
  • This question evaluates end-to-end ad recommendation and ranking design skills, covering machine learning modeling, recommender systems, causal and counterfactual evaluation, online learning, and production ML engineering within the Machine Learning domain, at a high-level system-design and modeling abstraction.

    MetaData ScientistMachine LearningOnsite
  • This problem tests your understanding of the end-to-end machine learning lifecycle for an ads ranking system, focusing on feature engineering, model selection, and the transition from offline metrics to online business impact.

    MetaAnalytics EngineerMachine LearningOnsite
  • This question evaluates competence in production-ready supervised machine learning—detecting and repairing data leakage in logs-based features, designing time-aware cross-validation, defining KPI-driven thresholding and calibration, interpreting model coefficients, and establishing monitoring and retraining policies for a churn prediction model in the Machine Learning domain. It is commonly asked because interviewers need to assess both conceptual understanding of leakage, validation, and calibration principles and practical application skills for deploying and maintaining models with cost-sensitive objectives and monitoring in production, so the level of abstraction spans conceptual reasoning and hands-on practical application.

    MetaData ScientistMachine LearningOnsite
  • Meta machine learning prompt on collaborative filtering and personalized ranking, covering multi-stage recommenders, embeddings, learning-to-rank, role and context constraints, cold start, serving architecture, and evaluation.

    MetaData ScientistMachine LearningTechnical Screen
  • 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 Classifier with Precision, Recall, and Fairness Metrics states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    MetaData ScientistMachine LearningTechnical Screen
  • Evaluates whether an ads recommendation model should replace an existing production model. Strong answers combine offline validation, online experiments, revenue and advertiser outcomes, user guardrails, conflicting metric interpretation, rollout safety, rollback planning, and executive communication.

    MetaData ScientistMachine LearningOnsite
  • 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 Fake-Account Classifier with Precision and Recall Metrics states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    MetaData ScientistMachine LearningOnsite
  • This problem tests your ability to design a multi-objective ranking system for e-commerce ads, balancing short-term engagement, advertiser conversion, and platform revenue while mitigating feedback loops.

    MetaData ScientistMachine LearningTechnical Screen
  • This problem tests the ability to design an end-to-end ad ranking system, focusing on objective optimization, feature engineering, and mitigating common biases in marketplace environments.

    MetaData ScientistMachine LearningTechnical Screen
  • This question evaluates applied machine learning skills for vehicle intention prediction, covering temporal sequence modeling versus feature engineering, map- and lane-aware representations, multi-agent interaction reasoning, labeling/time-horizon definition, evaluation metrics and calibration, class imbalance and distribution shift handling, and uncertainty estimation for downstream planning. It is commonly asked because intention prediction is safety-critical in autonomous driving and probes a candidate’s ability to make system-level design trade-offs across data labeling, model architecture, training/validation, and risk-aware evaluation. Category/Domain: Machine Learning; Abstraction level: system-level applied ML for data scientist roles (mid-to-senior).

    MetaData ScientistMachine LearningOnsite
  • 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 Identify Algorithms for Detecting Malicious Duplicated Content states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    MetaData ScientistMachine LearningTechnical Screen
  • Identify Features for Fake News Detection on Facebook 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.

    MetaData ScientistMachine LearningOnsite
  • Implement a fully vectorized forward pass that projects input features into an embedding space and classifies them using a 1-nearest-neighbor lookup against a reference bank.

    MetaMachine Learning EngineerMachine LearningTechnical Screen
  • An ML coding question that asks for a from-scratch implementation of k-means clustering with no provided test cases. It tests the assignment and update steps, vectorized distance computation, initialization, stopping rules, empty-cluster handling and the ability to verify code with self-constructed checks.

    MetaMachine Learning EngineerMachine LearningTechnical Screen
  • An ML coding question that asks for the forward pass of multi-head attention from scratch. It tests query, key and value projections, splitting and merging heads, scaled dot-product attention with a stable softmax, causal and padding masks, complexity in sequence length, and self-made correctness checks.

    MetaMachine Learning EngineerMachine LearningTechnical Screen
  • Tests deep conceptual mastery of modern ML core foundations: AdamW vs. Adam weight decay mechanics, compute-optimal Chinchilla scaling laws, and the mathematical equivalence between Hard Expectation-Maximization in GMMs and k-means clustering.

    MetaMachine Learning EngineerMachine LearningOnsite
  • Implement batched multi-head self-attention by hand, including projections, head split and merge, scaled dot products, a numerically stable masked softmax, and causal and padding masks, then prove it correct with tests you design yourself. Tests shape discipline and attention fundamentals.

    MetaMachine Learning EngineerMachine LearningTechnical Screen
  • This question evaluates competence in machine learning systems engineering, including offline validation, counterfactual/off‑policy evaluation, online experimentation design, and production monitoring for ad-ranking models.

    MetaData ScientistMachine LearningOnsite
  • Tests a candidate's mathematical and practical grasp of scaled dot-product attention, its computational and memory bottlenecks, and modern algorithmic optimizations like FlashAttention and linear attention.

    MetaMachine Learning EngineerMachine LearningOnsite

More topics