Machine Learning Technical Round Questions & Answers
40 questions for the technical round stage — 2 easy, 30 medium, 8 hard.
About the technical round round
The technical round is the core of a Machine Learning interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
Tips for the technical round round
- Say your approach out loud before you start writing.
- After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question.
- Pick one project you can explain end to end, including what you would do differently.
- If you get stuck, explain what you would try next instead of going silent.
What should you monitor for a model in production?
Show answer
Explain hierarchical clustering and dendrograms.
Show answer
What is PCA and how does it work?
Show answer
40 percent of values in an important income column are missing. What do you do?
Show answer
The fraud team can only review 500 alerts a day. How do you set the threshold?
Show answer
A product team wants 'similar products' recommendations with no purchase labels. How would you start?
Show answer
How do you choose a classification threshold that maximises F1?
Show answer
Your dataset has 800 correlated features and the model trains slowly. What would you do?
Show answer
Marketing wants customer segments for campaigns. How do you approach it?
Show answer
Write a unit test for a model prediction function.
Show answer
What is DBSCAN and when is it better than k-means?
Show answer
What is the log loss metric and why is it useful?
Show answer
Explain the bias in AUC when classes are extremely imbalanced, with a numeric intuition.
Show answer
What is boosting and how is it different from bagging?
Show answer
Tune LightGBM with Optuna.
Show answer
How do you tune the alpha of Ridge regression using cross-validation?
Show answer
How do you handle missing values in a dataset?
Show answer
What is the difference between offline evaluation and online A/B testing of a model?
Show answer
Which hyperparameters matter most when tuning a gradient boosting model?
Show answer
What is multicollinearity and how do you detect it?
Show answer
Why do skewed features often need a log or power transform?
Show answer
What is the difference between batch, stochastic and mini-batch gradient descent?
Show answer
A credit model's probability of 0.3 is used to set interest rates, but defaults in that band are 12 percent. What is wrong?
Show answer
How do you approach a time series forecasting problem differently from normal regression?
Show answer
How do one-vs-rest and multinomial approaches differ for multiclass classification?
Show answer
k-means gives one huge cluster and several tiny ones. What could be wrong?
Show answer
Run DBSCAN and count clusters and noise points.
Show answer
Compare filter, wrapper and embedded feature selection methods.
Show answer
What is a model registry and why is it useful?
Show answer
How do you detect and treat outliers?
Show answer
How do you apply SMOTE correctly without leakage?
Show answer
Detect anomalies with Isolation Forest.
Show answer
Explain gradient descent and the role of the learning rate.
Show answer
What is feature engineering and why does it matter?
Show answer
Build RFM features for customer segmentation in pandas.
Show answer
Why can impurity-based feature importance be misleading?
Show answer
What makes XGBoost, LightGBM and CatBoost different?
Show answer
Log a training run to MLflow.
Show answer
Get a bootstrap confidence interval for a test metric.
Show answer
Frequently asked questions
What happens in the Machine Learning technical round round?
The technical round is the core of a Machine Learning interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
How do I clear the technical round round?
Say your approach out loud before you start writing. After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question. Pick one project you can explain end to end, including what you would do differently.
Which round comes next?
A typical order is online assessment, telephonic screening, one or two technical rounds, a managerial round and HR. Use the other round pages to practise each stage.