What should you focus on for a Machine Learning Engineer interview?

What makes these interviews different?

ML fundamentals, evaluation, and deep learning stand out. These topics appeared more often in these interviews than across interviews for all roles. Computer vision and model deployment also appeared more often than average. Most questions were junior or mid-level, with senior-level questions too.

Start by checking both concepts and decisions: can you explain how a model learns, how you would test it, and how you would run it in production?

Can you explain model errors and test results?

Overfitting and underfitting was the most asked question, appearing in 6 of 69 interviews. Questions also covered learning approaches and preprocessing leakage. Check whether you can answer these without stopping at a definition:

  • How do you detect and prevent overfitting and underfitting?
  • When would you use supervised, unsupervised, or reinforcement learning?
  • How do you prevent preprocessing leakage in scikit-learn cross-validation, including time-series splits?
  • How would you choose a metric, validation split, and decision threshold?

Can you explain neural networks and vision tasks?

The questions included CNNs, Transformers, multilayer perceptrons, convolution, and backpropagation. Check each topic separately: can you explain CNN and Transformer architectures, how convolution works, and how backpropagation works?

Other questions covered losses, optimizers, and regularization. Can you explain your choices for model training? If labeled data is scarce, can you describe how you would use data augmentation and transfer learning?

For computer vision, can you explain how you would prepare images for detection or segmentation, or track objects in video?

Can you explain Python behavior and write code?

Tasks that required writing code appeared in 6 of 69 interviews. The recorded tasks give you concrete checks beyond knowing Python syntax:

  • Can you count character frequencies in a user-provided name?
  • Can you check whether a string is a palindrome?
  • For an LRU cache, what changes when a key already exists? When capacity is exceeded, which node do you remove, and how do you update the linked list and hash map?

Also check NumPy: can you explain views versus copies and test whether arrays share memory?

Can you explain production and project decisions?

Deployment questions covered serving, monitoring, retraining, and reliability. Can you explain how you would keep training and serving consistent, speed up inference, and handle more traffic?

For project discussions, can you explain a model choice in terms of business trade-offs? Can you discuss responsible AI and decisions made with stakeholders?

What Machine Learning Engineer interviews cover

Computer vision32% of interviews
MLOps & model deployment30% of interviews
Python23% of interviews

The 20 most asked Machine Learning Engineer questions

Counted by interview, not by mention: a question asked twice in one conversation counts once.

  1. What are overfitting and underfitting, and how do you detect and prevent them?

    Asked in 6 of 69 interviews · last asked Oct 19 · Concept · Mid-level

    Show answer

    Overfitting means learning training details or noise that do not generalize; underfitting means missing important patterns. Overfitting gives low training error but higher validation error; underfitting gives high error on both. Reduce overfitting with regularization, early stopping, simpler models, or more representative data. Reduce underfitting with better features, more model capacity, or less regularization.

    • Compare training and validation errors using a split that reflects how the model will be used.
    • Learning curves help reveal overfitting, underfitting, and whether more training may help.
    • Use validation data or cross-validation to choose model settings; keep test data for final evaluation.
    • Prevent data leakage, which can make validation results look better than they really are.

    What the interviewer checks: The interviewer checks whether you can diagnose poor generalization and choose a suitable fix.

    Other ways it was asked
    • “Describe overfitting, how you detect it, and how you prevent it.”
    • “Can you explain the difference between underfitting and overfitting?”
    • “What are underfitting and overfitting, and how do they differ?”
  2. How do supervised, unsupervised, and reinforcement learning differ, and when would you use each?

    Asked in 4 of 69 interviews · last asked Oct 19 · Concept · Junior

    Show answer

    Supervised learning uses labeled examples to predict outputs, such as spam labels or house prices. Unsupervised learning finds patterns without target labels, such as customer groups. Reinforcement learning learns how to act from rewards, aiming to maximize total reward over time; I use it for sequential decisions, such as robot control.

    • Choose supervised learning when you have labeled data and a clear prediction target.
    • Choose unsupervised learning to explore structure when target labels are unavailable.
    • Choose reinforcement learning when actions affect future outcomes and rewards provide feedback.
    • Reinforcement learning may require exploration, which can be costly or unsafe in real systems.

    What the interviewer checks: The interviewer checks whether you can match each learning method to its feedback type and suitable tasks.

    Other ways it was asked
    • “What are the differences between supervised, unsupervised, and reinforcement learning?”
    • “Could you explain the differences between supervised, unsupervised, and reinforcement learning?”
    • “Describe the key differences between supervised, unsupervised, and reinforcement learning, and when each is appropriate.”
  3. Can you explain the CNN architecture?

    Asked in 3 of 69 interviews · last asked Sep 23 · Concept · Junior

    Show answer

    A convolutional neural network (CNN) learns patterns in images using filters that slide across the input. Convolution layers build feature maps, and activation functions help learn complex patterns. Pooling or strided convolutions can reduce spatial size. Later layers combine features, and an output layer makes the prediction.

    • Filters share weights across image locations, reducing parameters compared with fully connected layers.
    • Early layers often learn edges; deeper layers combine them into more complex patterns.
    • Pooling is optional; strided convolutions can also reduce spatial size.
    • The output depends on the task, such as image classification or pixel-level segmentation.

    What the interviewer checks: The interviewer checks whether you understand the main CNN layers, weight sharing, and how image features become predictions.

    Other ways it was asked
    • “Can you explain CNN architecture?”
    • “How does a CNN model work?”
  4. How do you prevent preprocessing leakage in scikit-learn cross-validation, including time-series splits?

    Asked in 3 of 69 interviews · last asked Jun 3 · Tooling · Mid-level

    Show answer

    Put all learned preprocessing and the model in one Pipeline, then cross-validate that pipeline. Use ColumnTransformer for different column types; each fold fits preprocessing only on its training data. For time series, sort by time and use TimeSeriesSplit, with a gap when needed. Features must use only information available at prediction time.

    • Never fit imputers, scalers, encoders, or feature selectors on the full dataset before cross-validation.
    • Validation data uses the preprocessing fitted on that fold’s training data.
    • Choose the time-series gap to prevent training labels from overlapping the validation period.
    • A pipeline cannot fix features that already contain future information or leaked targets.
    Python
    from sklearn.compose import ColumnTransformer
    from sklearn.impute import SimpleImputer
    from sklearn.preprocessing import StandardScaler, OneHotEncoder
    from sklearn.pipeline import make_pipeline
    from sklearn.linear_model import Ridge
    from sklearn.model_selection import TimeSeriesSplit, cross_val_score
    num = make_pipeline(SimpleImputer(strategy="median"), StandardScaler())
    prep = ColumnTransformer([("num", num, numeric_cols), ("cat", OneHotEncoder(handle_unknown="ignore"), categorical_cols)])
    model = make_pipeline(prep, Ridge(solver="lsqr"))
    scores = cross_val_score(model, X, y, cv=TimeSeriesSplit(n_splits=5, gap=gap))

    What the interviewer checks: The interviewer checks whether you keep learned preprocessing inside each fold and respect what information is available over time.

    Other ways it was asked
    • “In scikit-learn, how do you correctly run cross-validation when preprocessing steps such as scaling and one-hot encoding are involved, to avoid data leakage?”
    • “In scikit-learn, how do you avoid data leakage when doing preprocessing and cross-validation, especially with scaling and imputation?”
    • “In scikit-learn, how do you prevent target leakage when doing time-series cross-validation with feature scaling and encoding, and what APIs do you use to enforce that?”
  5. What is the Transformer architecture?

    Asked in 3 of 69 interviews · last asked Aug 27 · Concept · Junior

    Show answer

    A Transformer is a neural network architecture that uses attention to learn relationships between tokens in a sequence. Each layer combines attention with a feed-forward network, residual connections, and normalization. Position information tells the model about token order. The original design has an encoder and a decoder, but encoder-only and decoder-only models are also common.

    • Self-attention uses queries, keys, and values to build token representations from relevant context.
    • Multiple attention heads can learn different relationships between tokens.
    • Causal masking prevents a decoder from attending to future tokens.
    • Standard full attention has quadratic cost in sequence length; training is parallelizable, but autoregressive generation is sequential.

    What the interviewer checks: The interviewer checks whether you understand attention, position information, the main building blocks, and common Transformer variants.

    Other ways it was asked
    • “What is transformer architecture, and how does it work?”
    • “What are transformer architectures, and how do they work?”
  6. How do NumPy views differ from copies, and how can you check whether arrays share memory?

    Asked in 2 of 69 interviews · last asked Jun 3 · Concept · Mid-level

    Show answer

    A NumPy view shares data with another array, while a copy has its own data buffer. Changing a view can change the original, so use `.copy()` when you need independent data. Use `np.shares_memory(a, b)` to check whether two arrays overlap in memory.

    • Basic slicing returns views; integer-array and boolean indexing return copies.
    • `np.shares_memory` checks actual overlap, but can be expensive for complex layouts.
    • `np.may_share_memory` is conservative: True means possible overlap, not certain overlap.
    • The `.base` attribute alone does not prove that two arrays overlap in memory.
    Python
    import numpy as np
    
    a = np.arange(5)
    view = a[1:4]
    copy = view.copy()
    print(np.shares_memory(a, view))  # True
    print(np.shares_memory(a, copy))  # False
    view[0] = 99
    print(a)  # [ 0 99  2  3  4]

    What the interviewer checks: The interviewer is checking whether you understand shared data and can prevent accidental changes to the original array.

    Other ways it was asked
    • “In NumPy, how does a view differ from a copy, and how can you tell which one you got after slicing?”
    • “In NumPy, what's the difference between a view and a copy, and how do you prevent accidental data mutation when slicing?”
    • “How would you check in code whether a sliced NumPy array shares memory with the original array?”
  7. What is a multilayer perceptron, and how does it work?

    Asked in 2 of 69 interviews · last asked Oct 15 · Concept · Junior

    Show answer

    A multilayer perceptron (MLP) is a feedforward neural network with an input layer, one or more hidden layers, and an output layer. Each hidden layer applies learned weights, biases, and a nonlinear activation. During training, backpropagation computes gradients, and an optimizer updates the parameters to reduce loss. MLPs can learn complex patterns for classification or regression.

    • Layers are typically fully connected: each neuron receives inputs from every neuron in the previous layer.
    • Nonlinear activations let the network learn more than a linear mapping.
    • Choose the output activation and loss for the task, such as softmax and cross-entropy for multiclass classification.
    • Scale numeric inputs and check validation performance to detect overfitting.

    What the interviewer checks: The interviewer checks whether you understand the network structure, forward computation, and how training updates its parameters.

    Other ways it was asked
    • “What is a multilayer perceptron, and when would you use one?”
    • “How does a multilayer perceptron work, and how do you solve a problem using one?”
  8. How does convolution work in a neural network's convolutional layer?

    Asked in 2 of 69 interviews · last asked Sep 23 · Concept · Mid-level

    Show answer

    A convolutional layer slides a learned filter across the input. At each position, it multiplies input values by filter weights, sums the results, and usually adds a bias. This forms a feature map. Reusing the same weights across positions helps detect patterns, such as edges, wherever they appear.

    • Each filter spans the input channels it uses and produces one output feature map.
    • Training learns the filter weights; sharing weights reduces parameter count.
    • Stride controls movement between positions; padding controls how borders are handled and affects output size.
    • Most libraries use cross-correlation: they do not flip the filter as mathematical convolution does.

    What the interviewer checks: The interviewer checks whether you understand local filtering, shared weights, and how feature maps are produced.

    Other ways it was asked
    • “What is convolution, and how is it used in neural networks?”
    • “What is convolution, and how does it work in a neural network?”
    • “Can you explain how a convolutional layer works in deep learning?”
  9. How would you handle scarce labeled data, including using data augmentation and transfer learning?

    Asked in 2 of 69 interviews · last asked Oct 17 · Scenario · Mid-level

    Show answer

    I would use a model trained on related data and fine-tune it on my labeled examples. I would also create extra training examples with changes that preserve the correct label. If needed, I would label more useful examples or use unlabeled data. I would check results on a separate, representative validation set.

    • Transfer learning reuses learned features; freeze layers or fine-tune carefully to reduce overfitting.
    • Augmentation must preserve labels and match realistic inputs; some changes can alter the meaning.
    • Split data before augmentation, and augment only training data to prevent leakage.
    • Use active learning to choose useful examples for labeling; check pseudo-labels for errors.

    What the interviewer checks: The interviewer is checking whether you can learn from limited labels while controlling overfitting and data leakage.

    Other ways it was asked
    • “Regarding supervised learning, how do you handle situations where labeled data is scarce?”
    • “How do data augmentation and transfer learning help when labeled data is scarce in supervised learning?”
    • “What would you do if labeled data were scarce for a machine learning problem?”
  10. Describe some common machine learning architectures and when you would use them.

    Asked in 2 of 69 interviews · last asked Oct 19 · Concept · Mid-level

    Show answer

    I use tree ensembles or feedforward neural networks for table data. Convolutional neural networks (CNNs) suit images because they learn local patterns. Recurrent neural networks (RNNs), including LSTMs, process sequences step by step, while transformers use attention for text and other data. I choose based on the task, data size, speed, and compute limits.

    • Tree ensembles are strong baselines for table data, but do not naturally model image or sequence structure.
    • CNNs capture spatial patterns well, but may struggle with relationships between distant image regions.
    • RNNs handle ordered data, but sequential processing limits training speed and long-range memory.
    • Transformers capture relationships across positions, but standard attention becomes expensive for long inputs.

    What the interviewer checks: The interviewer checks whether you can match model structures to tasks and explain their main trade-offs.

    Other ways it was asked
    • “Describe common machine learning architectures, their typical use cases, and briefly note any limitations.”
  11. Can you explain the backpropagation method?

    Asked in 2 of 69 interviews · last asked Sep 23 · Concept · Junior

    Show answer

    Backpropagation computes how much each model parameter affects the loss. After a forward pass, it works backward through the network, using the chain rule to calculate gradients. An optimizer then uses these gradients to update the parameters and try to reduce the loss.

    • The forward pass computes predictions and loss, saving values needed for gradients.
    • The backward pass applies the chain rule from the loss toward earlier layers.
    • Backpropagation computes gradients; the optimizer updates weights and biases.

    What the interviewer checks: The interviewer is checking whether you understand the chain rule and can separate gradient calculation from parameter updates.

    Other ways it was asked
    • “Explain backpropagation.”
  12. How would you design validation splits to prevent leakage from time ordering, repeated users, or related observations?

    Asked in 2 of 69 interviews · last asked Aug 10 · Scenario · Senior

    Show answer

    I design splits to match how the model will be used. For future predictions, I train on earlier data and validate on later data, using only information available at prediction time. For unseen users or independent groups, I keep each user or group in one split. I fit preprocessing and feature selection only on training data.

    • Use rolling time splits to test performance across several future periods.
    • Keep duplicates and related observations together when they must be independent across splits.
    • Past interactions from validation users are valid when predicting future interactions for known users.
    • Add a time gap when overlapping label windows could leak future information.

    What the interviewer checks: The interviewer checks whether you can match validation to deployment and prevent information from crossing split boundaries.

    Other ways it was asked
    • “How would you structure validation splits to prevent data leakage or look-ahead bias?”
    • “How do you design validation when there's a risk of leakage, such as with time-series data, multiple rows per user, or repeated interactions in a recommender system?”
  13. Can you explain a confusion matrix?

    Asked in 2 of 69 interviews · last asked Aug 27 · Concept · Junior

    Show answer

    A confusion matrix shows how a classifier’s predictions compare with the true labels. For binary classification, it counts true positives, true negatives, false positives, and false negatives. It helps us see which mistakes the model makes, not just how often it is correct.

    • True positives and true negatives are correct predictions for the positive and negative classes.
    • False positives are false alarms; false negatives are missed positive cases.
    • Check axis labels: rows and columns can represent actual or predicted classes.
    • For multiple classes, each cell counts cases with a specific actual class and predicted class.

    What the interviewer checks: The interviewer is checking whether you can explain classification errors and read a confusion matrix correctly.

    Other ways it was asked
    • “What do you understand by a confusion matrix?”
    • “What are the components of a confusion matrix?”
    • “Explain the confusion matrix.”
  14. What is the difference between training data and testing data?

    Asked in 2 of 69 interviews · last asked Aug 21 · Concept · Junior

    Show answer

    Training data is used to teach a model by fitting its parameters. Test data is kept separate and used to measure how well the trained model works on unseen examples. I use validation data, not test data, to choose models and tune settings.

    • Training data guides learning; test data measures performance on unseen examples.
    • Keep test data out of training and tuning to avoid misleading results.
    • Split data to match real use, keeping related examples or future information from leaking across splits.

    What the interviewer checks: The interviewer is checking whether you understand learning, evaluation, and how to avoid data leakage.

    Other ways it was asked
    • “What is the difference between training data and test data?”
  15. What is an F1 score?

    Asked in 2 of 69 interviews · last asked Sep 29 · Concept · Junior

    Show answer

    The F1 score is the harmonic mean of precision and recall: F1 = 2 × precision × recall / (precision + recall). It balances false positives and false negatives, with higher scores being better. It is useful for imbalanced classes, but it ignores true negatives.

    • Precision measures how many predicted positives are correct; recall measures how many actual positives are found.
    • F1 ranges from 0 to 1 and is high only when both precision and recall are high.
    • For multiple classes, specify the averaging method, such as macro, micro, or weighted.
    • If there are no actual or predicted positives, F1 is undefined; libraries use configurable handling.

    What the interviewer checks: The interviewer is checking whether you understand how F1 combines precision and recall and when it is useful.

    Other ways it was asked
    • “What is the F1 score?”
  16. How would you connect to an RTSP camera stream and extract frames for computer vision processing?

    Asked in 2 of 69 interviews · last asked Sep 22 · Tooling · Mid-level

    Show answer

    I would open the camera’s RTSP URL with OpenCV using an FFmpeg backend that supports RTSP. I would read decoded frames, preprocess them, and pass them to the vision model. For continuous use, I would handle connection failures, reconnect with a delay, and drop old frames if processing falls behind.

    • Use the camera’s correct RTSP path and credentials; keep passwords out of source code and logs.
    • Check that the stream opens and each frame read succeeds.
    • OpenCV normally returns BGR frames; convert to RGB if the model requires it.
    • Limit queued frames to reduce delay, and release the connection when finished.
    Python
    import cv2
    cap = cv2.VideoCapture("rtsp://camera-host/stream", cv2.CAP_FFMPEG)
    try:
        if not cap.isOpened():
            raise RuntimeError("Cannot open RTSP stream")
        while True:
            ok, frame = cap.read()
            if not ok: break
            gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
    finally: cap.release()

    What the interviewer checks: The interviewer checks whether you can connect video input to model processing while handling failures and delay.

    Other ways it was asked
    • “How would you extract frames from an RTSP stream for face recognition?”
    • “How do you process an RTSP video stream?”
    • “How would you connect a computer vision application to an RTSP stream from a camera?”
  17. How would you evaluate face recognition accuracy, and what data, tasks, and metrics would you use?

    Asked in 2 of 69 interviews · last asked Sep 22 · Scenario · Mid-level

    Show answer

    I would test face verification and identification separately on held-out, representative data. Verification asks whether two faces match; identification searches a gallery. I would report error rates, not just overall accuracy. I would also compare results across demographic groups, lighting, pose, and image quality.

    • Use identity-disjoint training, validation, and test sets; include matching pairs, nonmatching pairs, and realistic galleries.
    • For verification, report ROC curves and false-reject rates at chosen false-accept rates; tune thresholds on validation data.
    • For identification, report rank-one and top-k accuracy; when unknown people appear, measure false identifications and missed matches.
    • Use established benchmarks, such as LFW or IJB-C, but also test data that reflects the intended use.

    What the interviewer checks: The interviewer checks whether you can match the evaluation data and metrics to the task and real-world error costs.

    Other ways it was asked
    • “How should you measure and interpret the accuracy of a face-recognition system such as DeepFace?”
    • “What data or evaluation task did you use to measure a face recognition model's accuracy?”
  18. How should a deployed model adapt or gracefully degrade when incoming data or user behavior changes?

    Asked in 2 of 69 interviews · last asked Sep 14 · Scenario · Senior

    Show answer

    A deployed model should monitor changes in inputs and outcomes, then adapt only after validation. I would check performance with recent labels and test retrained models before a gradual rollout. If quality drops or inputs are unsupported, I would use a tested fallback, limit predictions, or route cases to human review.

    • Data drift is a warning, not proof that model accuracy has dropped.
    • Track performance across user groups; delayed labels can hide failures.
    • Retrain on representative recent data and validate before deployment.
    • Use safe rules, a simpler model, or human review when predictions are unreliable.

    What the interviewer checks: The interviewer checks whether you can detect change, update safely, and protect users when predictions become unreliable.

    Other ways it was asked
    • “If data patterns or human behavior shift after deployment, how would you adapt the system or make it degrade gracefully?”
    • “What can we do when the model receives different data after deployment?”
  19. How do you monitor production models and set alerts for drift, performance degradation, retraining, and rollbacks?

    Asked in 2 of 69 interviews · last asked May 24 · Scenario · Senior

    Show answer

    I monitor input quality, drift, prediction quality, calibration, latency, and errors by model version and user group. I set alerts against validation baselines and service targets, using sustained breaches and enough samples. Drift triggers investigation; confirmed quality loss can trigger retraining. I roll back to a known-good version when a release harms quality or breaks service targets.

    • Compare feature distributions and missing-value rates with training data and stable production periods.
    • With delayed labels, use early signals, then measure task metrics and calibration when labels arrive.
    • Set task-specific thresholds for quality, calibration, p95 latency, and error rates; there are no universal cutoffs.
    • Validate retrained models on recent data, then test on limited traffic before replacing the current model.

    What the interviewer checks: The interviewer checks whether you can detect meaningful problems and choose safe actions without treating every drift alert as failure.

    Other ways it was asked
    • “Once a model is in production, what monitoring do you set up for data drift, performance, calibration, and latency, and what thresholds or triggers cause you to retrain or roll back?”
    • “How would you implement model monitoring to detect data drift and performance degradation in production, and what metrics would you alert on?”
  20. Describe a project you built with Python and machine learning frameworks, including challenges and outcomes.

    Asked in 2 of 69 interviews · last asked Aug 26 · Behavioral · Mid-level

    Show answer

    Hypothetical example: I built a support ticket classifier in Python with scikit-learn to suggest the right team. I used TF-IDF and logistic regression, with class weights for rare teams. I removed duplicates and tested on newer tickets using a time-based split. It beat a majority-class baseline on macro F1, but rare teams still needed human review.

    • Explain the problem, your own contribution, and why you chose the framework.
    • Describe a real challenge and how you handled it.
    • Compare results with a baseline using a metric that fits the problem.
    • Separate test results from proven business impact, and explain remaining limits.

    What the interviewer checks: The interviewer checks whether you can explain your own work, justify choices, and assess results honestly.

    Other ways it was asked
    • “Can you describe a specific project where you used Python and machine learning frameworks to solve a real-world problem, including the problem, your approach, and the outcome?”
    • “Tell me about your experience working with machine learning or deep learning frameworks. What have you built? What challenges did you run into?”

Machine learning fundamentals interview questions

Review learning approaches, classical algorithms, linear algebra, tensors, optimization, and reinforcement learning for robotic control. 43 questions.

  1. How would you define the MJCF model for a robotic arm performing a pick-and-place task?

    Asked once · last asked Jun 29 · Tooling · Mid-level

  2. What are tensors, and how are they used in machine learning?

    Asked once · last asked Jul 16 · Concept · Junior

  3. Given two matrix shapes, how do you determine whether multiplication is valid and find the output shape?

    Asked once · last asked Jul 16 · Concept · Junior

    Other ways it was asked
    • “If A is 128×256 and B is 256×800, what is the output dimension when you multiply them?”
    • “If A is 128×256 and B is 800×246, what is the output matrix?”
    • “Can a 2×3 matrix be multiplied by a 3×2 matrix, and what are the dimensions of the result?”
  4. How do support vector machines (SVMs) classify data?

    Asked once · last asked Apr 20 · Concept · Junior

  5. In what scenarios would you use an SVM model?

    Asked once · last asked Apr 20 · Concept · Junior

  6. For predicting whether a student will score above 90%, would an SVM or a decision tree be more appropriate, and how would you compare the two?

    Asked once · last asked Apr 20 · Scenario · Mid-level

  7. What type of machine learning would you use to train a robot to walk on newly discovered planets, with no prior training data, learning from each new terrain it encounters?

    Asked once · last asked Apr 20 · Scenario · Mid-level

  8. Why might reinforcement learning not be the best approach for a robot learning to walk on newly encountered terrain?

    Asked once · last asked Apr 20 · Scenario · Mid-level

  9. What role does a hyperplane play in an SVM?

    Asked once · last asked Apr 20 · Concept · Junior

  10. What is the difference between stochastic gradient descent and gradient descent?

    Asked once · last asked May 30 · Concept · Mid-level

  11. If a dataset already contains noise, why does dividing it into batches help? Does batching introduce more noise, and why use stochastic gradient descent rather than batch gradient descent?

    Asked once · last asked May 30 · Concept · Mid-level

  12. How do gradient descent and its variants help find minima or maxima during optimization?

    Asked once · last asked Jun 22 · Concept · Junior

Show 6 more
  1. How would you train an ML agent to perform a robotic or control task in simulation, including defining the problem, selecting the simulation environment and algorithm, and evaluating results?

    Asked once · last asked Jun 29 · Behavioral · Mid-level

    Other ways it was asked
    • “Tell me about a project where you trained an ML agent to perform a robotic or control task in simulation. Walk me through the problem setup, the simulation environment, the algorithm you chose, and the results.”
  2. How do you define the observation and action spaces for an agent performing a robotic control task?

    Asked once · last asked Jun 29 · Concept · Mid-level

  3. What challenges can arise when training an agent for robotic control, and how would you debug them?

    Asked once · last asked Jun 29 · Scenario · Mid-level

  4. How would you design reward shaping to penalize collisions that occur late in a robotic task more effectively?

    Asked once · last asked Jun 29 · Scenario · Senior

  5. How do matrix addition, subtraction, and multiplication work?

    Asked once · last asked Jul 16 · Concept · Junior

  6. Under what condition can two matrices be added?

    Asked once · last asked Jul 16 · Concept · Junior

All Machine Learning interview questions

Python and coding interview questions for machine learning engineers

Test your knowledge of Python, NumPy, pandas, SQL, data structures, coding tasks, software design, debugging, and concurrency. 81 questions.

  1. What does the `virtual` keyword do in C#, and when would you use it?

    Asked once · last asked Aug 19 · Concept · Junior

    Other ways it was asked
    • “What is the virtual keyword, and why do we use it?”
  2. How could you systematically explore smaller subsets while checking that no selected elements are consecutive and no pair sums to 13?

    Asked once · last asked Jun 6 · Scenario · Junior

    Other ways it was asked
    • “How would you build a valid subset incrementally while ensuring that no selected elements are consecutive and no pair sums to 13?”
    • “How could you diagram possible subsets to check that no two selected elements are consecutive and no pair sums to 13?”
  3. How would you debug a complex software issue when the root cause is not immediately apparent?

    Asked once · last asked Mar 31 · Scenario · Mid-level

  4. In Python, what's the difference between a list and a tuple, and when would you choose one over the other in an ML pipeline?

    Asked once · last asked May 24 · Concept · Junior

  5. Write Python code to count the frequency of each character in a user-provided name.

    Asked once · last asked Sep 14 · Write code · Junior

  6. In pandas, how would you efficiently compute per-user rolling seven-day metrics from event logs while ensuring correct time ordering and handling missing days?

    Asked once · last asked May 3 · Tooling · Mid-level

  7. For computing per-user rolling seven-day metrics from event logs, when would you use pandas groupby().rolling() versus groupby().resample(), and how do their window definitions differ?

    Asked once · last asked May 3 · Concept · Mid-level

  8. What attributes would you store during fit or fit_transform to support stateful behavior, and how would you ensure get_params() and set_params() still work for scikit-learn cloning?

    Asked once · last asked May 3 · Concept · Senior

  9. How does the mutability difference between lists and tuples affect whether they can be used as dictionary keys or set elements?

    Asked once · last asked May 24 · Concept · Mid-level

  10. In Python, what's the practical difference between a shallow copy and a deep copy of a nested list, and when would it matter in an ML preprocessing pipeline?

    Asked once · last asked May 24 · Concept · Mid-level

  11. In pandas, what's the difference between .loc and .iloc, and what kind of bug can happen if you mix them up after filtering a DataFrame?

    Asked once · last asked May 24 · Concept · Mid-level

  12. How would you reliably update a filtered subset of a DataFrame without risking setting-with-copy issues, and why does that approach work?

    Asked once · last asked May 24 · Tooling · Mid-level

Show 7 more
  1. How would you ensure a Boolean mask is aligned with the DataFrame's index to prevent silent misassignment?

    Asked once · last asked May 24 · Scenario · Mid-level

  2. In Python, what's the practical difference between a list, a tuple, and a NumPy array, and when would you choose each in an ML pipeline?

    Asked once · last asked Jun 3 · Concept · Junior

  3. What practical implications does NumPy operating in C have for performance and memory compared with Python lists?

    Asked once · last asked Jun 3 · Concept · Mid-level

  4. In Python, how would you make ML experiment results reproducible across runs, and what are common sources of nondeterminism even after setting random seeds?

    Asked once · last asked Jun 3 · Scenario · Senior

  5. Given the conditions of no consecutive elements and no pairs summing to 13, what patterns or smaller cases do you notice that could help simplify the problem?

    Asked once · last asked Jun 6 · Scenario · Junior

  6. How could you use examples with four or five numbers to test your approach to selecting a subset with no consecutive elements and no pair summing to 13?

    Asked once · last asked Jun 6 · Scenario · Junior

    Other ways it was asked
    • “What assumptions would you make when selecting a subset with no consecutive elements and no pair summing to 13, and how could testing them refine your approach?”
  7. In pandas, how would you replace missing values in the `review_text` column with an empty string in place to save memory? Which operation is most appropriate, and why?

    Asked once · last asked Aug 1 · Tooling · Junior

Data preprocessing and feature engineering interview questions

Work through questions on missing data, imbalanced data, feature selection, categorical encoding, time-based features, and reliable data pipelines. 26 questions.

  1. How do you mathematically handle live data that's highly sparse, imbalanced, or unrepresentative of the environment your model encounters post launch?

    Asked once · last asked Aug 10 · Scenario · Senior

    Other ways it was asked
    • “How would you mathematically handle live data that is sparse, balanced, or unrepresentative of the environment a model encounters after launch?”
  2. Which metrics can you use to measure data quality, and how would you quantify an improvement?

    Asked once · last asked Mar 7 · Concept · Mid-level

  3. What features would you consider in a bank fraud detection system to prevent overfitting?

    Asked once · last asked Mar 13 · Scenario · Mid-level

  4. How would you handle missing data when the hotel segments are imbalanced, with many rows for some segments and very few for others?

    Asked once · last asked Apr 13 · Scenario · Mid-level

    Other ways it was asked
    • “How would you impute missing hotel ratings when ratings are an important feature and the hotel segments are imbalanced?”
  5. You have 1,000 rows of hotel data, and 50 rows are missing the hotel rating column. How would you handle that?

    Asked once · last asked Apr 13 · Scenario · Mid-level

  6. How would you structure a scikit-learn pipeline that includes lag or rolling features from a timestamped series without leaking future information, given that a pipeline doesn't natively know about time order?

    Asked once · last asked May 3 · Scenario · Senior

  7. In a custom transformer, how would you handle the boundary between training and validation so the first validation rows can use the last k training observations for lag or rolling features without refitting on validation targets?

    Asked once · last asked May 3 · Scenario · Senior

  8. How do you ensure exactly-once processing and prevent duplicate writes in a production ETL pipeline when upstream systems retry or deliver late, out-of-order events?

    Asked once · last asked May 3 · Design · Senior

  9. When defining SLAs or SLOs with stakeholders for an ETL pipeline, which metrics do you commit to—latency, freshness, completeness, and accuracy—and how do you monitor and alert on them?

    Asked once · last asked May 3 · Scenario · Senior

  10. In production, how do you handle schema evolution, such as added or renamed fields and type changes, across ingestion, transformation, and downstream consumers without breaking the pipeline?

    Asked once · last asked May 3 · Scenario · Senior

  11. How would you design a backfill for twelve months of data in a production pipeline while minimizing the impact on current daily loads and keeping results consistent with today's logic?

    Asked once · last asked May 3 · Design · Senior

  12. When you run ETL on Spark or a cloud warehouse, what steps do you take to diagnose and fix performance regressions involving skew, shuffles, partitioning, or file sizes?

    Asked once · last asked May 3 · Scenario · Senior

Show 8 more
  1. When you detect join skew in Spark, what specific mitigation would you apply first, and how would you verify it improves runtime without changing the results?

    Asked once · last asked May 3 · Scenario · Senior

  2. How do you prevent data leakage when doing target encoding for a high-cardinality categorical feature, especially under time-based cross-validation?

    Asked once · last asked May 3 · Scenario · Senior

  3. How do you handle unseen categories with OneHotEncoder, and when would you choose ignore versus infrequent_if_exist?

    Asked once · last asked May 24 · Tooling · Mid-level

    Other ways it was asked
    • “When using a ColumnTransformer with OneHotEncoder, how do you handle unseen categories at inference time, and what trade-offs does your choice introduce?”
    • “In scikit-learn's OneHotEncoder, what's the practical difference between handle_unknown="ignore" and handle_unknown="infrequent_if_exist", and when would you prefer each?”
  4. How do you handle schema drift and missing or novel categories in production while keeping your feature transformations backward-compatible with past model versions?

    Asked once · last asked Jun 3 · Scenario · Senior

  5. Given the trend toward making evaluation data distribution-aware, how do you see this impacting strategies for training data collection and preprocessing in the future?

    Asked once · last asked Jul 23 · Senior

  6. What is the difference between feature engineering and feature selection?

    Asked once · last asked Aug 27 · Concept · Junior

  7. When validating a raw event stream and defining the window duration for a real-time recommendation system, what key metric would you prioritize to ensure accurate recommendations?

    Asked once · last asked Sep 17 · Scenario · Senior

  8. If the dataset is unbalanced, what would you do before training?

    Asked once · last asked Sep 23 · Scenario · Mid-level

Deep learning and model training interview questions

Explain neural network architectures, backpropagation, losses, optimizers, regularization, transfer learning, fine-tuning, and model selection. 56 questions.

  1. How do you compute the values in a multilayer perceptron's hidden layer from its input layer?

    Asked once · last asked Oct 15 · Concept · Junior

    Other ways it was asked
    • “How do you compute the output values from a multilayer perceptron's hidden layer?”
  2. What does it mean to freeze the model head during transfer learning?

    Asked once · last asked Sep 16 · Concept · Mid-level

    Other ways it was asked
    • “When should you freeze the model head during transfer learning?”
  3. In PyTorch, for validation and training, walk me through gradient flow for one step.

    Asked once · last asked Oct 5 · Concept · Senior

    Other ways it was asked
    • “In PyTorch, for validation and training, walk me through gradient flow for one step, including loss computation from logits and labels, backward propagation, the optimizer step, zeroing gradients, and what you checkpointed.”
  4. Why do we divide the data into batches for stochastic gradient descent?

    Asked once · last asked May 30 · Concept · Mid-level

  5. Can you explain the difference between a simple neural network and an RNN?

    Asked once · last asked May 30 · Concept · Junior

  6. When you train on GPUs, what specific operations or settings can still make results nondeterministic even with all seeds fixed, and how do you mitigate them?

    Asked once · last asked Jun 3 · Scenario · Senior

  7. Suppose you are training a deep learning model for product classification. The training loss steadily decreases, but the validation loss begins to rise after the tenth epoch. What is the most likely cause, and why?

    Asked once · last asked Aug 1 · Scenario · Junior

    Other ways it was asked
    • “Suppose you are training a deep learning model for product classification on Amazon. The training loss steadily decreases, but the validation loss begins to rise after the tenth epoch. Which of the following is the most likely cause, and why?”
  8. What is the difference between RNNs and CNNs, and what is backpropagation?

    Asked once · last asked Aug 2 · Concept · Junior

  9. What problem do attention mechanisms solve that CNNs and RNNs struggle with?

    Asked once · last asked Aug 27 · Concept · Mid-level

  10. What do batch normalization and layer normalization do, and why do they speed up training?

    Asked once · last asked Aug 27 · Concept · Mid-level

  11. Can you describe a situation where data augmentations might actually reduce the performance of a model?

    Asked once · last asked Aug 27 · Scenario · Mid-level

  12. How would you explain the structure and execution flow of a PyTorch neural network?

    Asked once · last asked Sep 3 · Tooling · Mid-level

Show 2 more
  1. How would the availability and quality of domain-specific data affect your choice between a pretrained model and developing a custom one?

    Asked once · last asked Sep 4 · Scenario · Mid-level

  2. What would be your thought process for creating a dataset for transfer learning?

    Asked once · last asked Sep 16 · Scenario · Mid-level

All Deep Learning interview questions

Machine learning model evaluation interview questions

Check how you choose metrics, split data, prevent leakage, set thresholds, and test model robustness. 41 questions.

  1. How do you process data and evaluate a machine-learning model using accuracy, precision, recall, and a confusion matrix?

    Asked once · last asked Mar 24 · Concept · Junior

  2. How would you benchmark a model for extracting information from noisy, unstructured financial documents when no ground-truth labels or borrower repayment outcomes are available?

    Asked once · last asked Apr 20 · Scenario · Senior

  3. How do you evaluate the performance of an unsupervised learning model?

    Asked once · last asked Apr 21 · Concept · Mid-level

  4. Could you explain the silhouette score for clustering and how it is calculated?

    Asked once · last asked Apr 21 · Concept · Junior

  5. When starting a new supervised machine learning project, how do you choose an evaluation metric and validation strategy that match the business goal and data structure?

    Asked once · last asked May 3 · Scenario · Senior

  6. In an online setting, how would you run an A/B test for a new model while controlling for seasonality and avoiding bias in traffic allocation or interference between variants?

    Asked once · last asked May 3 · Scenario · Senior

  7. If your dataset is 99:1 imbalanced, which metrics would you choose for the model, and how would you set the decision threshold for deployment?

    Asked once · last asked May 3 · Scenario · Mid-level

  8. How would you roll out a new model using an A/B test, and what offline and online criteria would you require before fully promoting it?

    Asked once · last asked May 24 · Scenario · Senior

  9. How do you decide between GridSearchCV and RandomizedSearchCV, and for imbalanced classification, which scoring metric (such as PR AUC, ROC AUC, F1, or balanced accuracy) and cross-validation splitter would you use to preserve class ratios?

    Asked once · last asked May 24 · Concept · Senior

  10. Suppose you're building a simple cats-and-dogs classification problem and achieve 90% accuracy on your local pipeline, but accuracy drops to 65% when the model sees real production data. What might be causing this, and how would you address it?

    Asked once · last asked May 30 · Scenario · Mid-level

  11. How is precision different from accuracy?

    Asked once · last asked May 30 · Concept · Junior

  12. When you use GridSearchCV with a pipeline and a ColumnTransformer, where should fitting happen, and what data should never be used to learn preprocessing parameters?

    Asked once · last asked Jun 3 · Tooling · Senior

Show 3 more
  1. How would you test an AI model to uncover failures and use those findings to retrain it?

    Asked once · last asked Jul 16 · Scenario · Mid-level

  2. When adjusting an evaluation loop to improve sensitivity and detect regressions early, how would you check whether changes to the training data or method are causing unintended shifts in test results?

    Asked once · last asked Jul 23 · Scenario · Senior

    Other ways it was asked
    • “When you're adjusting your evaluation loop to tackle sensitivity and capture early regressions, how do you ensure that changes to the training data or method aren't causing unintended shifts in your test results?”
  3. When conducting sensitivity studies, how do you determine whether an evaluation issue is caused by a model flaw or by external factors such as data distribution changes?

    Asked once · last asked Jul 23 · Scenario · Senior

All Machine Learning interview questions

Computer vision interview questions

Explore image preparation, detection, segmentation, face recognition, tracking, camera geometry, and video applications. 78 questions.

  1. How would you evaluate the performance of an object-detection model?

    Asked once · last asked Sep 7 · Scenario · Mid-level

    Other ways it was asked
    • “Which metrics would you use to evaluate an object-detection model?”
  2. How would you determine the region of interest for seat-belt detection?

    Asked once · last asked Sep 11 · Scenario · Mid-level

    Other ways it was asked
    • “How would you extract the region of interest for seat-belt detection?”
    • “What approach could you use for seat-belt detection instead of relying on a fixed region of interest?”
  3. What is your thought process for selecting a computer vision algorithm to process 20 real-time camera streams at 30 FPS on an edge device?

    Asked once · last asked Sep 16 · Scenario · Senior

    Other ways it was asked
    • “What is your thought process for selecting an algorithm for real-time object detection and tracking across 20 camera streams at 30 FPS on an edge device?”
    • “How would you select an algorithm for real-time inference across 20 camera streams at 30 FPS on an edge device?”
  4. What accuracy metrics and deployment constraints would guide your choice of FaceNet over other face recognition models?

    Asked once · last asked Sep 22 · Scenario · Mid-level

    Other ways it was asked
    • “What benchmark metrics would you compare when selecting FaceNet over other face recognition models?”
    • “What criteria would you use to select FaceNet over other face recognition models?”
    • “Which metrics and deployment factors, such as latency, model size, false positives, false negatives, precision, and recall, matter when selecting a face recognition model?”
  5. What parameters would you consider when comparing MobileNet SSD and YOLO?

    Asked once · last asked Sep 16 · Concept · Mid-level

    Other ways it was asked
    • “What parameters would you consider when choosing between MobileNet-SSD and YOLO?”
  6. How can adjusting a YOLO threshold or post-processing improve model performance, and how would you measure the before-and-after impact?

    Asked once · last asked Aug 12 · Scenario · Senior

  7. How do attention mechanisms specifically improve performance in video analytics and object detection?

    Asked once · last asked Aug 27 · Concept · Senior

  8. Can you explain the concept of the receptive field and why it is important for tasks like object detection or segmentation?

    Asked once · last asked Aug 27 · Concept · Mid-level

  9. Can you compare and contrast different deep learning architectures for object detection, such as the R-CNN family versus YOLO? In what specific scenarios would you choose one over the other?

    Asked once · last asked Aug 27 · Concept · Senior

  10. Imagine you are tasked with developing a system to detect and classify defects on a manufacturing assembly line using a live video feed. Can you walk me through your end-to-end approach from data and annotation strategy to model selection, training, and deployment?

    Asked once · last asked Aug 27 · Design · Senior

  11. How would you preprocess, clean, and augment a large, noisy, or poorly labeled image dataset to improve model quality and robustness?

    Asked once · last asked Aug 27 · Behavioral · Mid-level

    Other ways it was asked
    • “Tell us about a time you had to work with a large, noisy, or poorly labeled image dataset. What steps did you take to preprocess, clean, and augment the data to ensure the quality and robustness of your model?”
  12. How would you implement a face detection and recognition system?

    Asked once · last asked Sep 7 · Scenario · Mid-level

Show 6 more
  1. What tools or libraries can be used to compare face embeddings?

    Asked once · last asked Sep 7 · Tooling · Mid-level

  2. Which distance do you use for face embedding comparison?

    Asked once · last asked Sep 7 · Concept · Mid-level

  3. How does ByteTrack work?

    Asked once · last asked Sep 7 · Concept · Mid-level

  4. How do you decide between YOLO, an NCNN-based model, or a segmentation model from stakeholder requirements?

    Asked once · last asked Sep 7 · Scenario · Senior

  5. Can you explain the full fine-tuning pipeline for the YOLO car-detection model?

    Asked once · last asked Sep 7 · Scenario · Mid-level

  6. How do precision and recall help evaluate an object-detection model?

    Asked once · last asked Sep 7 · Concept · Mid-level

All Computer Vision interview questions

NLP and generative AI interview questions

Questions cover transformers, tokenization, embeddings, language model inference, retrieval-augmented generation, hallucinations, and multi-agent applications. 33 questions.

  1. If you want to set up a new multi-agent assistant system for question answering and task execution, what tools would you use across the toolchain?

    Asked once · last asked Oct 2 · Design · Senior

    Other ways it was asked
    • “What tools would you use across the toolchain to build a multi-agent assistant system?”
  2. How do embeddings work in a computer system, and why are they used?

    Asked once · last asked Apr 16 · Concept · Junior

  3. How would you address the common problem of hallucinations in models?

    Asked once · last asked Apr 20 · Scenario · Mid-level

  4. If a model keeps repeating the same answer instead of generating improved or varied responses, how would you address that?

    Asked once · last asked Apr 20 · Scenario · Mid-level

  5. What is the difference between training a model and changing its system prompt?

    Asked once · last asked Jul 16 · Concept · Mid-level

  6. When you submit a prompt to a chat-based language model, what happens behind the scenes before it returns a response?

    Asked once · last asked Jul 31 · Concept · Junior

  7. How is a text prompt converted into numerical representations that a language model can process?

    Asked once · last asked Jul 31 · Concept · Junior

  8. How would you design, evaluate, and improve an NLP pipeline for a healthcare provider?

    Asked once · last asked Aug 10 · Design · Senior

  9. What are embeddings in an LLM?

    Asked once · last asked Aug 27 · Concept · Junior

  10. Could you explain the core principles behind retrieval-augmented generation and how it is used in machine learning models?

    Asked once · last asked Sep 4 · Concept · Mid-level

    Other ways it was asked
    • “How would you apply retrieval-augmented generation in a machine learning project?”
  11. Can you explain the concept of transformer architecture and why it's become such a significant advancement in the field of deep learning?

    Asked once · last asked Sep 4 · Concept · Junior

  12. What future advancements or challenges do you see in leveraging transformers in real-time applications?

    Asked once · last asked Sep 4 · Senior

Show 7 more
  1. What factors would guide your decision between using a pretrained transformer model and developing a custom model from scratch for a unique domain-specific application?

    Asked once · last asked Sep 4 · Scenario · Mid-level

  2. How would you approach building a scalable NLP application for sentiment analysis? What particular tools or frameworks would you consider essential, and why?

    Asked once · last asked Sep 17 · Design · Senior

    Other ways it was asked
    • “What challenges might arise when deploying a scalable NLP sentiment analysis system, and how would you address them?”
  3. A generative AI application is hallucinating and takes 10 seconds to return a prediction, but the business requires a response within 1 second. What would you do?

    Asked once · last asked Sep 23 · Scenario · Senior

  4. How would you implement a multi-agent assistant system, including using AI coding agents or harnesses?

    Asked once · last asked Oct 2 · Design · Senior

  5. How do tensor shapes, dtypes, and device placements change from tokenizer output through a model's forward pass to logits, including batch and sequence dimensions and padding or attention masks?

    Asked once · last asked Oct 5 · Concept · Senior

  6. Why might an application use both Qwen and Gemini Flash instead of a single model?

    Asked once · last asked Oct 11 · Concept · Mid-level

  7. What is an LLM?

    Asked once · last asked May 26 · Concept · Junior

    Other ways it was asked
    • “Can you explain how an LLM works?”

MLOps and model deployment interview questions

Think through model serving, consistency between training and serving, cloud and edge infrastructure, inference speed, monitoring, retraining, and reliability. 53 questions.

  1. How would you take a machine learning model from development to production?

    Asked once · last asked Sep 23 · Scenario · Mid-level

    Other ways it was asked
    • “How would you deploy a machine learning model to production?”
  2. What are the biggest operational or mathematical bottlenecks when moving a data science model from research to production, and how would you mitigate them?

    Asked once · last asked Aug 10 · Scenario · Senior

    Other ways it was asked
    • “What are the main operational or mathematical bottlenecks when taking a model from research to production, and how would you mitigate them?”
  3. How would you deploy a machine learning model for business intelligence or analytics engineering, and how would it be used?

    Asked once · last asked Aug 10 · Behavioral · Senior

    Other ways it was asked
    • “Describe a machine learning model you personally deployed to production within your area of specialization.”
  4. How would you design a simplified real-time data processing architecture using AWS services and Kafka Streams?

    Asked once · last asked Sep 17 · Design · Senior

    Other ways it was asked
    • “What are the main components of a real-time data processing architecture using AWS and Kafka Streams, and how do they interact?”
  5. How would you determine whether a two-second latency is caused by the system architecture or model inference?

    Asked once · last asked Oct 11 · Scenario · Mid-level

  6. How would you deploy and operate data pipelines beyond the notebook stage, and what infrastructure would you use?

    Asked once · last asked Mar 7 · Design · Mid-level

  7. How would you ensure the AI models process video frames quickly enough to meet the two-second alert requirement, especially as the number of streams increases?

    Asked once · last asked Mar 27 · Design · Senior

  8. How would you handle a failure or loss of connectivity in an edge device or another part of the processing pipeline?

    Asked once · last asked Mar 27 · Scenario · Senior

  9. How would you ensure alerts are reliably delivered to human reviewers, even if the notification service experiences downtime or message loss?

    Asked once · last asked Mar 27 · Scenario · Senior

  10. What's your typical approach to packaging and serving a model in batch versus real time, and how do you ensure training-serving feature parity?

    Asked once · last asked May 3 · Design · Senior

  11. How would you monitor a model when ground-truth labels arrive with a long delay or are partially missing, including your choice of proxies and evaluation setup?

    Asked once · last asked May 3 · Scenario · Senior

    Other ways it was asked
    • “How do you handle monitoring when ground-truth labels arrive with a long delay or are partially missing? What proxies or evaluation setup do you use?”
  12. In an end-to-end pipeline, how would you design training and serving feature engineering so that exactly the same transformations run in production and prevent train-serving skew?

    Asked once · last asked May 24 · Design · Senior

Show 6 more
  1. How would you choose and compute a drift metric for categorical features, and how would you set alert thresholds to avoid noisy paging?

    Asked once · last asked May 24 · Scenario · Senior

  2. In an end-to-end pipeline, how do you structure data preprocessing and feature generation so training and inference use identical transformations, and how do you version them?

    Asked once · last asked Jun 3 · Design · Senior

  3. How would you handle 100 concurrent requests in your system?

    Asked once · last asked Aug 2 · Scenario · Mid-level

  4. In an ML data pipeline, what concrete checks would you add to detect training-serving skew early, and where would you enforce them in code?

    Asked once · last asked Aug 13 · Scenario · Senior

  5. When leading model retraining in production, how do you choose between scheduled and drift-triggered retraining, and which signals or thresholds do you trust most?

    Asked once · last asked Aug 13 · Scenario · Senior

  6. How do you handle label delay and noisy labels when setting up drift monitoring and deciding whether to retrain a model?

    Asked once · last asked Aug 13 · Scenario · Senior

All MLOps interview questions

Machine learning system design and behavioral interview questions

Discuss product design, recommendations, fraud and healthcare applications, business trade-offs, responsible AI, stakeholder decisions, and your project experience. 39 questions.

  1. How would you define the prediction target and data granularity for a machine learning system?

    Asked once · last asked Aug 10 · Design · Mid-level

  2. Tell me about a time an AI tool produced an unsafe or incorrect output. What did you do to resolve it?

    Asked once · last asked Aug 26 · Behavioral · Mid-level

    Other ways it was asked
    • “Tell me about a time when an AI tool gave you an output that you found to be incorrect. How did you handle it?”
  3. How would you design and implement a wish-list feature for an e-commerce application, considering data storage, the user interface, and scalability?

    Asked once · last asked Mar 31 · Design · Mid-level

    Other ways it was asked
    • “What challenges might arise when developing a wish-list feature for an e-commerce application, and how would you address them?”
  4. If you were asked to implement an attendance system for a college, what would you do?

    Asked once · last asked Sep 10 · Design · Mid-level

    Other ways it was asked
    • “If a college asked you to build an attendance system, what would you consider and how would you implement it?”
  5. How would you decide whether to spend limited time collecting more data or improving the model’s algorithm to achieve the best results?

    Asked once · last asked Oct 20 · Scenario · Senior

    Other ways it was asked
    • “How would you decide whether to collect more data or improve a machine learning algorithm when time is limited?”
  6. How would you design a real-time anomaly detection platform that processes video from hundreds of cameras, identifies suspicious activities using AI models, and alerts human reviewers in under two seconds, addressing architecture, major components, scalability, low latency, and reliable alert delivery?

    Asked once · last asked Mar 27 · Design · Senior

    Other ways it was asked
    • “Design a real-time anomaly detection platform that processes video streams from hundreds of cameras, identifies suspicious activities using AI models, and alerts human reviewers in under two seconds. Explain the system architecture, its major components, and how you would ensure scalability, low latency, and reliable alert delivery.”
  7. How would you make a financial risk model that produces scores or percentages more interpretable, and how would you involve human reviewers so banks can understand its recommendations?

    Asked once · last asked Apr 20 · Scenario · Senior

  8. Imagine you're deciding whether to focus on enhancing the quality of your training data or refining your evaluation metrics to better capture edge cases. How would you approach making this decision, and what factors would influence your choice?

    Asked once · last asked Jul 23 · Scenario · Senior

  9. How would you design a system and take it from requirements through deployment?

    Asked once · last asked Jul 24 · Design · Mid-level

  10. How would you design a recommendation pipeline for a video streaming service using viewing history, search queries, and demographic data when viewing history is missing or sparse, especially for new users?

    Asked once · last asked Aug 1 · Design · Mid-level

    Other ways it was asked
    • “Suppose you are building a recommendation system for Amazon Prime Video using user viewing history, search queries, and demographic data, but a significant portion of viewing history is missing or sparse, especially for newer users. How would you design a machine learning pipeline to handle this data sparsity issue?”
  11. Which algorithms, data analysis steps, or engineering techniques would you evaluate to address data sparsity in a recommendation system?

    Asked once · last asked Aug 1 · Scenario · Mid-level

  12. Describe a production machine learning or computer vision decision you made and its measurable business impact.

    Asked once · last asked Aug 12 · Behavioral · Senior

Show 7 more
  1. When you work on customer churn analysis, how do you validate your model's results to ensure they are actionable?

    Asked once · last asked Aug 22 · Scenario · Mid-level

  2. How do you determine whether a model's predictions are practically useful for business decisions, beyond traditional evaluation metrics?

    Asked once · last asked Aug 22 · Scenario · Mid-level

  3. How do you ensure your models remain interpretable, especially when dealing with complex data?

    Asked once · last asked Aug 22 · Scenario · Mid-level

  4. If you had to choose between deploying a highly accurate but complex model and a slightly less accurate but more interpretable one, how would you make that decision?

    Asked once · last asked Aug 22 · Scenario · Mid-level

    Other ways it was asked
    • “When choosing between models, how do you assess whether the simpler model's interpretability is worth potentially sacrificing some accuracy?”
  5. How do you currently use AI tools in your engineering or coding workflow? Can you walk me through a specific example?

    Asked once · last asked Aug 26 · Tooling · Mid-level

  6. Can you describe a complex computer vision project you led or played a significant role in, the biggest technical challenge, how you collaborated with cross-functional teams, and the final outcome?

    Asked once · last asked Aug 27 · Behavioral · Mid-level

  7. Do you design the model architecture, or mainly evaluate different architectures, and what is the biggest challenge or interesting finding?

    Asked once · last asked Sep 8 · Behavioral · Mid-level

How this list is made

Every question here was asked by a real interviewer in a real job interview that a candidate ran MeetAssist in. After the call, the interviewer's questions are pulled from the transcript. Practice sessions, tests, exams and anything that was not a job interview are dropped.

Questions are rewritten so they make sense on their own: names of people, employers and clients are removed, and speech-to-text mistakes are fixed. Small talk, logistics and questions about one candidate's own résumé are left out. Rephrasings of the same question are merged, and the count is the number of different interviews it came up in.

The interviews come from candidates who use MeetAssist, so they lean towards software, data and AI roles: the shares describe these interviews, not every Machine Learning Engineer interview. Answers to the most asked questions are written and checked by an editor; a "common mistake" is shown only when reviews of real answers in these interviews show it, with the count.

69 interviews, 50 candidates, Dec 2025 to Oct 2026. Updated every month with new interviews.