Edition 1 · PDF · 330 pages

AI Engineer Interview Pack

204 interview questions, 57 output drills, a 236-item cheatsheet and a 184-term glossary, for people moving into applied ML and LLM systems. Every runnable snippet was run on Python 3.13.5 with numpy 2.5.4 and scikit-learn 1.7.2. The output you see in the pack came from that run.

Launch price: ₹199 for the first 50 buyers

Regular price: ₹299

Apply coupon above, then buy — Razorpay opens after that

Pay, then download the PDF straight away. We also email you a copy. About 2.0 MB.

See a sample question ↓

For your own study only. Please don't share the file. Refund policy

Cover of the Schoolabe AI Engineer Interview Pack, Edition 1. The cover lists 204 interview questions, 57 output drills, 236 cheatsheet items and 184 glossary terms, and says all code was run on Python 3.13.5 with numpy 2.5.4 and scikit-learn 1.7.2.
  • 330 pages
  • 204 questions
  • 17 topics
  • 36 DSA coding questions
  • 57 output drills
  • 236 cheatsheet items
  • 184 glossary terms
  • Run on Python 3.13.5 + NumPy / scikit-learn

What's inside the AI Engineer pack

The questions start with classical ML metrics, then move through neural nets, transformers, RAG, agents, evaluation, serving and system design, and end with coding problems. After the questions come the drills, a cheatsheet and a glossary. You do not need to read it in one go. Treat it like a revision notebook.

TopicQuestionsCount
ML basicsQ1–Q2020
Neural network basicsQ21–Q3616
Transformers and attentionQ37–Q5014
TokenizationQ51–Q588
Embeddings and vector searchQ59–Q7012
RAGQ71–Q8616
Prompt engineeringQ87–Q9610
Fine-tuning, LoRA and quantizationQ97–Q10610
Agents and tool callingQ107–Q11610
MCP basicsQ117–Q1226
LLM evaluation and hallucinationsQ123–Q1308
Guardrails and safetyQ131–Q1366
Latency and costQ137–Q1426
Serving and inferenceQ143–Q15210
AI system designQ153–Q16210
Common trapsQ163–Q1686
Coding questions (DSA style)Q169–Q20436
  • How to use this pack and a 7-day revision plan, at the front.
  • Output prediction drills (P1–P57). Short snippets, a box for your guess, and "Answer on page N" under each one. All answers, with the "why", are together at the end of that section.
  • Cheatsheet: everyday AI Engineer reference — 236 items in 18 groups, from NumPy and metrics to attention, RAG parameters and decoding. Each row has a one-line description, a tiny example, and its real output (or a stated formula).
  • Glossary — 184 terms, in alphabetical order, each explained in a sentence or two.

Sample pages

These are real pages from the Edition 1 PDF, shown so you can judge the layout and the writing. They are not a free chapter.

One question, as it appears in the pack

This is Q1 from ML basics, copied from the PDF. The rest of the pack follows the same shape: a short answer, an "In simple words" line, why it works, the real output, common mistakes, and follow-ups.

Q1 · ML basics

What is the bias-variance tradeoff?

Bias is the error that stays when a model is too simple to capture the pattern (it underfits). Variance is the error that comes from a model changing a lot when you change the training sample (it overfits). Total expected error is the sum of bias, variance and irreducible noise. You want a model that is flexible enough to fit the signal, but stable enough that a new sample of the same data does not swing its predictions around.

In simple words: A model that is too stiff misses the pattern; a model that is too wiggly memorizes the sample you happened to get.

Why it works

Think of predicting a student's end-of-term mark from hours of study. A straight line through a clearly curved pattern is biased: it is wrong in a systematic way, even if you collect more students. A very flexible curve that ducks through every training point has low bias on that sample, but if you draw a new class of students the curve jumps. That jumpiness is variance.

The usual picture is a U-shaped test-error curve. As you add capacity (a more flexible model, more features, fewer constraints), bias falls and variance rises. The best test error sits in the middle. Regularization, more data, and ensembles are three different ways of moving that middle.

The snippet below fits a straight line and a high-degree polynomial to the same noisy curve, then reports training and test mean squared error (MSE). MSE is the average of the squared gaps between prediction and true value.

import numpy as np
from sklearn.linear_model import LinearRegression
from sklearn.preprocessing import PolynomialFeatures
from sklearn.pipeline import make_pipeline
from sklearn.metrics import mean_squared_error
rng = np.random.default_rng(0)
X = np.linspace(0, 1, 40).reshape(-1, 1)
y = np.sin(2 * np.pi * X[:, 0]) + rng.normal(0, 0.25, size=40)
Xtr, Xte, ytr, yte = X[:30], X[30:], y[:30], y[30:]
for deg in (1, 9):
    model = make_pipeline(PolynomialFeatures(deg), LinearRegression())
    model.fit(Xtr, ytr)
    tr = mean_squared_error(ytr, model.predict(Xtr))
    te = mean_squared_error(yte, model.predict(Xte))
    print(f"degree {deg}: train MSE {tr:.3f}, test MSE {te:.3f}")

Output, real run on Python 3.13.5:

degree 1: train MSE 0.183, test MSE 0.604
degree 9: train MSE 0.022, test MSE 49603.677

The degree-1 line is too simple: both errors stay fairly high. The degree-9 curve almost memorizes the 30 training points (tiny train MSE) and then fails on the held-out points (huge test MSE). That is high variance in numbers, not in a slogan.

Common mistakes

  • Saying "bias is underfitting and variance is overfitting" and stopping. Those are the usual symptoms, but the definitions are about systematic error versus sensitivity to the training sample.
  • Thinking a more complex model is always better once training error is low. Look at test error.
  • Treating the tradeoff as a law that more data cannot change. More data usually lowers variance, so you can afford a more flexible model.

Follow-ups

  • Can a model have high bias and high variance at once? Yes. A messy, poorly specified model can be both systematically wrong and unstable.
  • Where does bagging help? Bagging (training the same kind of model on many bootstrap samples and averaging) mainly cuts variance. That is why random forests work well with deep trees.
  • What is irreducible error? (Advanced) Noise that no model can remove, because the same inputs can map to different outcomes in the real world.

Who this pack is for

This pack is for developers and data practitioners with up to a few years of experience who are preparing for AI Engineer interviews — applied ML, LLM systems, RAG, agents, evaluation and serving.

It will help if you already write some Python and want to revise the questions that come up when interviewers move past "what is a transformer?" into metrics, retrieval, fine-tuning, cost and system design.

It is not a first machine-learning tutorial, and it is not the Schoolabe AI chat product. If you are still learning the basics of Python or ML, learn those first, then use this pack when you are practising interview answers.

How to use the pack

  • You do not need to read 330 pages in one sitting. A useful session is a handful of questions, said out loud.
  • Read the question and say your answer out loud before you read the short answer, as if someone is sitting in front of you. Speaking is a different skill from knowing.
  • Before you look at the output of a code block, write down what you think it will print. Then check. The gap between your guess and the raw numbers is exactly what you need to revise.
  • Type the code into a file and run it with the same library versions, then change one thing: a temperature, a chunk size, a metric, a random seed. Five minutes of this beats an hour of reading.
  • Tick the box next to each question in the contents when you can answer it without looking. On Day 7, come back to every question you have not ticked.
  • In the real interview, start with the short answer. Stop. Let the interviewer decide whether to go deeper. A good answer has three parts: what it is, why it behaves that way, and when you would use it in a real system. For coding questions, say the simple idea first, then improve it, and state the time and space cost. For system-design questions, start from the requirements, sketch a path from data to answer, name the metrics you would watch, and state two tradeoffs.

A 7-day revision plan

The pack assumes about three hours a day: two for the topic questions, one for coding and output drills. If you have less time, do the must-know questions first. Every day ends with a few coding questions, so you practise problem solving all week instead of cramming it on the last day.

DayTopicsCodingDrillsMust-know first
1ML basics (Q1–Q20), Neural network basics (Q21–Q36)Q169–Q172P1–P8Q1, Q2, Q7, Q9, Q10, Q15
2Transformers and attention (Q37–Q50), Tokenization (Q51–Q58)Q173–Q176P9–P16Q38, Q39, Q41, Q44, Q52, Q55
3Embeddings and vector search (Q59–Q70), RAG (Q71–Q86)Q177–Q181P17–P28Q60, Q63, Q65, Q73, Q76, Q78, Q81
4Prompt engineering (Q87–Q96), Fine-tuning, LoRA and quantization (Q97–Q106)Q182–Q184P29–P36Q88, Q90, Q97, Q101, Q104
5Agents and tool calling (Q107–Q116), MCP basics (Q117–Q122), LLM evaluation and hallucinations (Q123–Q130), Guardrails and safety (Q131–Q136)Q185–Q189P37–P46Q107, Q108, Q117, Q123, Q126, Q133
6Latency and cost (Q137–Q142), Serving and inference (Q143–Q152), AI system design (Q153–Q162)Q190–Q197P47–P57Q141, Q143, Q147, Q153, Q157
7Common traps (Q163–Q168), then every question you have not tickedQ198–Q204Every drill you got wrongQ163, Q164, Q165, Q166

On Day 7, the pack suggests finishing with a 30-minute mock interview with a friend: they pick random question numbers, you answer out loud, then you solve one coding question while explaining your thinking, and you sketch one system (a RAG chatbot or an eval pipeline) on paper.

Each day also has cheatsheet groups to skim: read the example, guess the output, then check the output column. Day 7 is a slow pass over every group, the evening before your interview.

Licence and refunds

The PDF is licensed to you, the person who bought it, for your own personal study only. You may read it on your own devices, print one copy for yourself, and copy the code examples into your own practice files and projects.

You may not share the file, or any part of it, with other people, for free or for money; resell it or include it in another product; upload it to a website, drive, group, channel or file-sharing service; or remove the Schoolabe name and copyright lines.

If a friend would find this pack useful, please send them to schoolabe.com instead of sending them the file.

Refunds follow Schoolabe's refund policy. That page says digital products that have been fully accessed or downloaded are generally non-refundable. Please read the policy before you buy.

Python is a trademark of the Python Software Foundation. NumPy, scikit-learn and SciPy are trademarks of their respective projects. This pack is not made or endorsed by those projects.

Questions about the AI Engineer pack

How many questions are in the AI Engineer Interview Pack?

204 interview questions across 17 topics, including 36 DSA-style coding questions. There are also 57 output-prediction drills, a 236-item cheatsheet and a 184-term glossary. The PDF is 330 pages.

Was the code in the pack actually run?

Yes. Every runnable snippet was executed on Python 3.13.5 with numpy 2.5.4 and scikit-learn 1.7.2, and the output was copied from that run by a script, not typed by hand. A few blocks marked "Example code, not run here" are API or client patterns only; they have no output because the pack never makes paid or network calls.

Does this pack include Schoolabe AI chat?

No. This is a downloadable PDF interview pack. It is separate from any Schoolabe AI chat product.

I am new to machine learning. Should I buy this?

Only if you already write some Python and have basic ML or software experience, and you are preparing for AI Engineer interviews. This is a revision pack, not a first tutorial.

What Python and library versions should I practise on?

The pack was run on Python 3.13.5 with numpy 2.5.4 and scikit-learn 1.7.2. Matching those versions keeps the numerical outputs aligned with the PDF.

How do I get the file, and can I print it?

After you pay, you download the PDF straight away, and we email you a copy. The licence allows one printed copy for your own use.

Can I share it with my classmates?

No. The licence is for the person who bought it. Please point classmates to schoolabe.com.

What is the refund policy?

See Schoolabe's refund policy. Digital products that have been fully accessed or downloaded are generally non-refundable under that policy.

Free practice stays at /interview-prep.