practice a little every day, paws crossed ♡
Machine Learning Engineer 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 151–180 of 202 results
- SiemensMediumMachine Learning EngineerCompare GRPO and PPO and Explain Sparse Versus Dense Rewards
This question evaluates your understanding of modern reinforcement learning post-training techniques for language models, focusing on GRPO versus standard PPO and the trade-offs between sparse outcome rewards and dense process supervision.
Machine LearningTechnical ScreenReinforcement LearningLLM Post-TrainingPPO - SiemensMediumMachine Learning EngineerExplain SFT, DPO, PPO, and the Role of KL Regularization
Compare SFT and preference optimization, explain the DPO log-ratio objective, and clarify its relationship to PPO and KL regularization.
Machine LearningTechnical Screen - SnapchatHardMachine Learning EngineerCompare Batch Normalization and Layer Normalization
Compare batch and layer normalization by their axes, learned parameters, running statistics, batch-size effects, and training-to-inference debugging.
Machine LearningOnsite - SnapchatMediumMachine Learning EngineerCompare convolutions and transformers
This question evaluates understanding of neural network architectures, focusing on inductive biases, data and compute trade-offs, mechanisms for handling long-range dependencies, domain-specific roles in vision and NLP, and modern hybrid approaches that address architecture limitations.
Machine LearningTechnical Screen - SnapchatMediumMachine Learning EngineerExplain BatchNorm, optimizers, and L1/L2
This question tests your conceptual understanding of how normalization, optimization strategies, and regularization techniques influence training stability, convergence, and model sparsity.
Machine LearningOnsiteDeep LearningOptimizationRegularization - SnapchatMediumMachine Learning EngineerExplain CLIP, contrastive losses, and retrieval limits
This question evaluates understanding of multi-modal representation learning and retrieval systems, covering CLIP-style joint image–text encoders, contrastive loss families, embedding-based retrieval limitations, alternative retrieval paradigms, and issues like popularity bias.
Machine LearningTechnical Screen - SnapchatMediumMachine Learning EngineerExplain Core ML Concepts
This question tests the ability to explain foundational machine learning trade-offs and architectural nuances in deep neural networks.
Machine LearningOnsiteDeep LearningOptimizationStatistics - SnapchatHardMachine Learning EngineerExplain Core ML Training, Evaluation, and Transformer Concepts
Tests end-to-end understanding of machine learning fundamentals, covering regularization against overfitting, handling severe class imbalance, optimizer mechanics, threshold calibration, and Transformer self-attention dynamics.
Machine LearningTechnical Screenmachine-learningdeep-learningtransformers - SnapchatHardMachine Learning EngineerExplain Embeddings, Positive Labels, and Retraining in a Recommendation Project
Discuss recommendation-project ownership, embeddings, positive labels and retraining with attention to exposure bias and data leakage.
Machine LearningTechnical Screen - SnapchatHardMachine Learning EngineerExplain LLM tuning and transformer basics
This question evaluates competencies in large language model tuning and Transformer fundamentals, covering fine-tuning strategies, dataset construction and labeling, model adaptation choices, loss functions and evaluation metrics, regularization techniques, optimizer selection, self-attention and multi-head attention, and the end-to-end Transformer decoder mathematical steps. It is commonly asked in Machine Learning interviews because it probes both conceptual understanding and practical application—examining architectural trade-offs, optimization and regularization decisions, deployment constraints, and reasoning about failure modes such as overfitting and hallucination within the Machine Learning domain.
Machine LearningTechnical Screen - SnapchatHardMachine Learning EngineerExplain Neural-Network Regularization and Dropout
Explain L1, L2, dropout scaling, train/inference behavior, early stopping, and the difference between gradient penalties and decoupled weight decay.
Machine LearningOnsite - SnapchatMediumMachine Learning EngineerExplain Overfitting and Transformer Attention
This question evaluates understanding of model generalization and regularization techniques alongside Transformer self-attention and positional encoding, assessing competencies in diagnosing overfitting, applying appropriate mitigation strategies, and interpreting attention mechanisms.
Machine LearningTechnical Screen - SnapchatHardMachine Learning EngineerExplain Vanishing Gradients in Neural-Network Training
Diagnose vanishing gradients through the chain rule, activation and gradient checks, and architecture-appropriate training remedies.
Machine LearningTechnical Screen - SnapchatHardMachine Learning EngineerWhat Happens When All Neural-Network Weights Start at Zero?
Explain zero-weight initialization through hidden-unit symmetry and gradient flow, and contrast it with linear and logistic models.
Machine LearningTechnical Screen - SnowflakeMediumMachine Learning EngineerCore Components of LLM Agent Memory: What Each Stores and How It Is Written and Read
Explain the common components of an LLM agent's memory, from the context window to session, episodic, semantic and procedural memory, and how each is written, retrieved and maintained. It tests agent architecture knowledge, context budgeting, conflict handling, forgetting and memory security.
Machine LearningOnsite - SpacexMediumMachine Learning EngineerDiagnose a Production Classifier and Defend Its Systems Design
This problem tests the ability to diagnose training-serving skew in machine learning models and the architectural considerations required to maintain consistency between offline evaluation and online production environments.
Machine LearningTechnical ScreenMLOpsSystem DesignTraining-Serving Skew - StackAdaptMediumMachine Learning EngineerFind the Flaws in an End-to-End ML Pipeline Case Study Report
Review a condensed end-to-end machine learning case study, from its goal and labels through normalization, evaluation, and deployment, and point out what is wrong with it. Tests systematic pipeline review, reasoning about what data each step uses, and ranking problems by how much they undermine the conclusions.
Machine LearningOnsite - StripeMediumMachine Learning EngineerNormalize targets for multitask regression
This question evaluates proficiency in multitask regression, preprocessing, and loss engineering within the Machine Learning domain, focusing on handling heterogeneous target distributions, sign-constrained labels, normalization, balanced loss combination, and mapping predictions back to original units at inference.
Machine LearningTechnical Screen - TeslaHardMachine Learning EngineerCompare RNNs, LSTMs, Transformers, and MPC
This question evaluates understanding of sequence-modeling architectures (RNNs, LSTMs, Transformers) and Model Predictive Control, assessing architectural choice, training and optimization trade-offs, handling of long-range dependencies, and methods for integrating learned dynamics with control.
Machine LearningTechnical Screen - TeslaEasyMachine Learning EngineerCompute Conv2D parameter counts
This question evaluates understanding of convolutional neural network parameterization, specifically how kernel dimensions, input/output channels and an optional bias term determine the number of learnable parameters.
Machine LearningTechnical Screen - TeslaHardMachine Learning EngineerDesign RL reward for speed limits
This question evaluates reinforcement learning competencies—reward engineering for speed-constrained control, distinctions in policy optimization methods (PPO versus GRPO), and reasoning about time-varying constraints and partial observability using trajectory data.
Machine LearningTechnical Screen - TeslaHardMachine Learning EngineerImplement attention and Transformer with backward pass
This question evaluates implementation and analytical skills for scaled dot-product multi-head self-attention and an encoder-style Transformer block, including manual forward and backward-pass computations, gradient derivation for projection matrices, causal masking for autoregressive next-token prediction, numerical stability of softmax, and time/memory complexity analysis within the Machine Learning domain, emphasizing practical implementation with underlying conceptual understanding of linear algebra and backpropagation mechanics. It is commonly asked to verify mastery of attention mechanisms and autodiff-free gradient reasoning, plus the ability to compute cross-entropy/perplexity, perform finite-difference gradient checks, and reason about algorithmic trade-offs.
Machine LearningTechnical Screen - Thomson ReutersEasyMachine Learning EngineerApplied Machine Learning Assessment: Metrics, Evaluation, and NLP Fundamentals
Practice a Thomson Reuters machine learning interview question about applied machine learning assessment: metrics, evaluation, and nlp fundamentals. The prompt covers objective framing, data assumptions, evaluation, trade-offs, and production risks without giving away the answer.
Machine LearningOnline Assessment - TikTokHardMachine Learning EngineerAnswer ML fundamentals and diagnostics questions
This problem tests your theoretical understanding of model diagnostics, ensemble learning mechanics, and the trade-offs between optimization strategies in machine learning.
Machine LearningOnline AssessmentEnsemble MethodsRegularizationMetrics - TikTokHardMachine Learning EngineerDefine QKV for recommender cross-attention
This question evaluates understanding of Transformer-style cross-attention and the concrete design of Query, Key, and Value tensors for deep-learning recommender systems, testing representation semantics, embedding alignment, and interaction modeling between user history, candidate items, and context.
Machine LearningTechnical Screen - TikTokMediumMachine Learning EngineerExplain FlashAttention, KV cache, and RoPE
This problem tests your understanding of core transformer efficiency techniques, specifically focusing on how they improve memory footprint, latency, and sequence length handling.
Machine LearningTechnical ScreenTransformersAttentionInference Optimization - TikTokMediumMachine Learning EngineerExplain your VLM project end-to-end
This question evaluates proficiency in vision-language model engineering, including model architecture (vision encoder, language model, fusion), data curation and distribution, training recipes, evaluation metrics, inference latency, and limitations analysis within the Machine Learning domain of multimodal/Vision-Language models.
Machine LearningTechnical Screen - TowerMediumMachine Learning EngineerExplain the KV Cache and Prefill-Decode Disaggregation in LLM Serving
Explain how the KV cache speeds up autoregressive decoding in transformer language models, estimate how much GPU memory it needs, and describe prefill-decode disaggregation in LLM serving. It tests understanding of compute-bound versus memory-bound inference phases, cache sizing and the trade-offs of splitting the phases across GPU pools.
Machine LearningTechnical Screen - TubiMediumMachine Learning EngineerExplain ML basics and recommender tuning
This question evaluates core machine learning competencies including overfitting and regularization, ensemble methods like bagging, linear and logistic regression, transformer architectures, optimizer trade-offs (SGD vs Adam), hyperparameter tuning in production, and end-to-end recommender system design and deployment.
Machine LearningTechnical Screen - TubiMediumMachine Learning EngineerMachine Learning Fundamentals: Tree Models, Training, Evaluation, and Embeddings
This question assesses foundational machine learning knowledge across multiple core domains, including tree-based models, supervised training, model evaluation, embeddings, and transformer architecture. It is commonly used in ML engineer interviews to gauge whether a candidate can explain key concepts with correct mechanics, articulate trade-offs, and reason through failure modes.
Machine LearningTechnical Screen