AI / ML Engineer Interview Prep
NewOverviewBuilds and owns classical ML models and LLM-backed features from data and training through serving and monitoring at a product company.
Curated: · Written: · Reviewed:
- Interview Q&A
- 100
- Practice MCQs
- 82
Top 100 AI / ML Engineer Interview Questions and Answers
The questions most likely to actually be asked, ranked by likelihood, with pro-level model answers.100 Q&ATop 100 AI / ML Engineer Practice MCQs
Quick multiple-choice self-checks covering the same high-value ground, with an explanation for every answer.82 MCQsThe role in one line
Builds and owns classical ML models and LLM-backed features, from training data through serving, monitoring and rollback.
The interview loop
| Round | What it scores |
|---|---|
| Recruiter screen | Scope you owned end to end, and in which production systems |
| ML fundamentals | Derives statistics and training results with real numbers, not from memory of a slogan |
| Modelling case | Tool choice (classifier, fine-tune, prompted LLM, decision model) and why each rejected option loses on data, latency or cost |
| Experimentation | Power, A/B design, multiple comparisons, early stopping |
| System design | Order of answer: data, model choice, evaluation, serving, rollback |
| Ownership | One degradation you diagnosed, how you told the causes apart, what you rolled back |
Five must-know areas
- Tool selection: when a trained classifier beats a prompted LLM on labelled data, latency and per-request cost.
- Offline-to-online transfer: why logged-click gains fail to show in A/B tests (position bias, feedback loops, metric mismatch).
- Thresholds and calibration: choosing an alert threshold at the real base rate, and whether scores can be read as probabilities.
- Leakage and split design: out-of-fold target encoding, time-based splits, rolling features that peek forward.
- Production diagnosis: input skew versus model decay, and canary plus rollback for both models and prompts.
Numbers and formulas to have ready
Sample size per arm for a two-proportion test (two-sided alpha 0.05, power 0.8, worked example with hypothetical lift):
CTR 4.0% to 4.4% gives delta 0.004 and pbar 0.042, so n is about 39.5k per arm.
Bonferroni threshold for m metrics: With 20 metrics, each test needs p below 0.0025.
Logistic coefficient as an odds ratio: For beta 0.69, OR is about 1.99.
Absolute risk for a given borrower: A 2% baseline moves to about 3.9%. A 30% baseline moves to about 46%.
Precision at base rate pi: At pi = 0.3%, a high ROC AUC still leaves most alerts false.
Gradient step:
L2 penalty as weight decay:
Calibration error:
Know the figures in your own questions cold: 0.82 to 0.89 AUC from 2k to 20k rows, 900 stores, 168-hour lag window, 24-hour horizon, 4% versus 11% MAPE.
Reference architecture
Strong vs weak answers
| Topic | Strong answer | Weak answer |
|---|---|---|
| Tool choice | Eight fixed classes and two years of labels: a trained classifier, since cost and latency per request are fixed and accuracy is measurable on a held-out set. An LLM only if labels are scarce or categories change weekly. | We would use an LLM, it understands text. |
| Threshold | Choose the threshold on precision-recall at 0.3% prevalence, then set the alert volume the review team can absorb. | Pick the threshold with the best ROC AUC. |
| Drift | Feature PSI moves with the model unchanged means skew. Labelled outcomes fall while inputs stay stable means decay. | We would retrain it. |
| A/B timing | Horizon fixed from power at about 39.5k per arm. No stop on day 3 unless a pre-set sequential boundary is crossed. | The p-value dipped, so ship it. |
| Offline gain | Logged clicks were shown under the old ranking, so the gain is biased. Check with interleaving or a small randomised test. | The NDCG gain is real, so ship it. |
Interview tips
- Derive numbers aloud, with the inputs written down before the formula.
- Name the failure mode before naming the metric.
- State the rollback path before the launch plan.
- Bring one degradation you owned, with the metric values before and after.
- For any time series, say which split is used for selection and which for the final test before you touch a model.
Last-week checklist:
- Re-derive the sample size, odds ratio and precision at 0.3% prevalence without notes.
- Work through the Concepts pages in order, from Probability Fundamentals to AI Security, Governance and Responsible AI.
- Answer five Top 100 production questions aloud in the order data, model, evaluation, serving, rollback.
- Finish the Practice MCQs for evaluation, leakage and calibration, and read every explanation.
- Write one page per owned project: model, data, metric, failure, rollback.
Feedback on this overview
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.