Topic
Machine Learning interview questions
572 Machine Learning questions from 133 companies, with hints, runnable code and solution walkthroughs.
59 easy323 medium190 hard
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
Most mentioned in interview experiences
- 1.Answer core ML fundamentals questions2 reports
- 2.Compare deep learning framework trends2 reports
- 3.Evaluate Factual Accuracy and Consistency in a Domain-Specific RAG Chatbot2 reports
- 4.Explain Core ML Interview Concepts2 reports
- 5.Explain Overfitting and Transformer Attention2 reports
- 6.Explain SHAP in an ML System2 reports
- 7.Implement bagging with decision trees2 reports
- 8.Present and defend your data challenge end-to-end2 reports
- 9.Analyze Temperatures and Update Regression1 report
- 10.Analyze Town Temperatures and Select Predictors for NYC1 report
Counted from 122 candidate interview experiences on Katkat. How we collect and count
Showing 301–330 of 572 results
This question evaluates feature engineering, feature selection, and production-aware machine learning system design skills for ranking shop ads, within the Machine Learning domain for a Data Scientist role.
MetaData ScientistMachine LearningTechnical ScreenA Meta Data Scientist machine learning screen on choosing a clustering algorithm for social-product users. It contrasts traditional feature-vector clustering (k-means, GMM, hierarchical, DBSCAN/HDBSCAN) with social-graph community detection (Louvain/Leiden, spectral, SBM, node embeddings), and covers preprocessing, choosing the number of clusters, evaluation, directed/weighted graphs, and scaling to millions of users.
MetaData ScientistMachine LearningTechnical ScreenTests end-to-end applied machine learning design on tabular data: framing the prediction target, eliminating data leakage, establishing a leakage-free validation strategy, selecting baselines and evaluation metrics, and planning deployment monitoring and rollback.
MicrosoftData ScientistMachine LearningOnsiteThis problem tests the ability to design an automated pipeline for cleaning noisy OCR text output and preparing it for supervised fine-tuning of an LLM.
MicrosoftMachine Learning EngineerMachine LearningOnsiteThis question evaluates understanding of deep learning architectures (CNN, RNN, LSTM) and unsupervised clustering implementation (K-means), covering inductive biases, parameter sharing and receptive fields, LSTM gating and vanishing-gradient behavior, tensor shape reasoning, algorithmic complexity, initialization, and cluster handling.
MicrosoftData ScientistMachine LearningOnsiteThis question tests your conceptual understanding of alignment techniques, your ability to evaluate trade-offs between stability and performance, and your approach to measuring model safety and utility.
MicrosoftMachine Learning EngineerMachine LearningOnsiteThis question evaluates understanding of binary classification evaluation metrics—precision, recall, precision–recall curves, and related summaries like Average Precision/AUPRC—within the Machine Learning domain and is relevant for Data Scientist roles.
MicrosoftData ScientistMachine LearningTechnical ScreenThis question evaluates a data scientist's ability to design and validate end-to-end predictive models for imbalanced binary outcomes, encompassing feature engineering, class imbalance handling, probability calibration, thresholding for budgeted targeting, validation, monitoring, and interpretability.
MicrosoftData ScientistMachine LearningTechnical ScreenThis 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 Explain Deep Learning to a 5-Year-Old Child states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
MicrosoftData ScientistMachine LearningTechnical ScreenEvaluates understanding of K-Nearest Neighbors (instance-based classification/regression) and Principal Component Analysis (linear dimensionality reduction), highlighting tradeoffs such as distance metric and preprocessing effects, computational and high-dimensional limitations, PCA’s optimization/computation approaches, and the impact of dimensionality reduction on downstream nonparametric methods. Common in the Machine Learning domain for Data Scientist internships at a fundamentals-to-intermediate abstraction level because it probes both theoretical foundations and practical considerations for applying non-parametric algorithms and linear feature extraction to real datasets.
MicrosoftData ScientistMachine LearningTechnical ScreenThis question evaluates understanding of the K-Nearest Neighbors algorithm and related competencies such as hyperparameter selection (K, distance metric, weighting), data preprocessing impacts, failure modes in high-dimensional or imbalanced settings, and model evaluation strategies.
MicrosoftData ScientistMachine LearningTechnical ScreenThis question tests your conceptual understanding of SHAP values for model interpretability and your ability to design a robust, end-to-end machine learning pipeline for a real-world business problem.
MicrosoftData ScientistMachine LearningTechnical ScreenThis question evaluates a data scientist's competence in designing and operationalizing end-to-end machine learning systems in the Machine Learning domain, covering problem framing, label and feature design, model selection, evaluation, deployment, monitoring, and model interpretability using SHAP.
MicrosoftData ScientistMachine LearningTechnical ScreenThis question evaluates understanding of classification evaluation metrics, regularization methods, and experimental design for component-level analysis in NLP and broader Machine Learning systems, testing competencies in performance measurement, regularization trade-offs, and causal attribution of model components.
MicrosoftMachine Learning EngineerMachine LearningTechnical ScreenA coding question on decoding a sequence from a next-token probability distribution: implement greedy decoding, extend it to beam search that keeps the top k partial sequences, and return the chosen sequence with its overall probability. It also probes why long sequences tend to receive low probability and how decoding should account for that.
MicrosoftSoftware EngineerMachine LearningTechnical ScreenThis problem tests your ability to design a binary classification pipeline from metric selection to production monitoring, with a focus on aligning technical decisions with business objectives.
MicrosoftData ScientistMachine LearningTechnical ScreenA hands-on LLM evaluation exercise on measuring model quality, comparing prompt or model versions, and detecting hallucinations against supplied context. It also asks for a small Python groundedness scorer that flags unsupported sentences and aggregates a hallucination rate, testing evaluation judgment and clean, well-tested code.
MicrosoftMachine Learning EngineerMachine LearningOnsiteThis problem tests the candidate's ability to design an end-to-end machine learning pipeline for financial time-series forecasting, specifically focusing on the nuances of feature engineering and evaluation in a non-stationary environment.
MillenniumSoftware EngineerMachine LearningTechnical ScreenThis question tests your breadth of knowledge across the LLM stack, specifically focusing on inference optimization, evaluation strategies, and operational trade-offs.
Mistral AIMachine Learning EngineerMachine LearningOnsiteCompare LayerNorm and RMSNorm equations, centering, shift behavior, hidden-feature axes, numerical precision, and the tradeoffs behind simpler normalization.
Mistral AISoftware EngineerMachine LearningTechnical ScreenCompare reward-model RLHF and DPO through preference data, policy objectives, reference regularization, training stages, and evaluation under distribution shift.
Mistral AISoftware EngineerMachine LearningTechnical ScreenCompare transformer tensor and pipeline parallelism through parameter partitioning, collectives, activation transfers, microbatch bubbles, memory, and inference latency.
Mistral AISoftware EngineerMachine LearningTechnical ScreenUnderstand Adam moment estimates and bias correction, then compare gradient-based L2 regularization with AdamW’s decoupled weight decay and learning-rate interaction.
Mistral AISoftware EngineerMachine LearningTechnical ScreenExplain sparse mixture-of-experts routing and expert parallelism, including token dispatch, weighted combination, load balancing, overflow policies, and communication costs.
Mistral AISoftware EngineerMachine LearningTechnical ScreenAssess understanding of causal transformer decoding mechanics, including attention and KV caching, paired with an implementation of nucleus (top-p) sampling with temperature scaling.
Mistral AIMachine Learning EngineerMachine LearningTechnical ScreenExplain Gaussian diffusion corruption, timestep-conditioned denoising, noise-prediction training, iterative reverse sampling, latent representations, and guidance tradeoffs.
Mistral AISoftware EngineerMachine LearningTechnical ScreenThis problem tests the ability to optimize memory usage in distance computations by leveraging algebraic expansion to avoid creating an intermediate (N, K, D) tensor.
Mistral AIMachine Learning EngineerMachine LearningOnsiteLearn to evaluate retention features with leakage-safe time windows, cohort validation, baselines, ablations, and calibrated predictions.
MixpanelData ScientistMachine LearningTechnical ScreenThis problem tests your conceptual understanding of probability distributions, statistical bias in data collection, and the relationship between covariance and linear correlation.
Morgan StanleyData ScientistMachine LearningOnline AssessmentCompare deep learning framework trends 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.
NVIDIASoftware EngineerMachine LearningTechnical Screen