The Agentic AI Interview Handbook
Fifty questions across nine sections, from what a foundation model is through tokenization, encoder versus decoder models, attention, decoding with temperature and top-p, LoRA and catastrophic forgetting, RAG stages and safety in production. Use it as a map of the concept screen: answer each question aloud before reading the model answer, and mark the ones you cannot explain in two sentences.
Attention Is All You Need
A worked breakdown of the 2017 paper: why recurrent seq2seq models hit a bottleneck, how queries, keys and values become scaled dot-product attention, what multi-head attention and positional encoding add, and self-attention in about 30 lines of Python. It prepares you for the architecture question in its usual forms, such as why the scores are divided by the square root of the key dimension or why Transformers train faster than RNNs.
Softmax
You implement softmax(logits) against hidden tests, including the case written to catch the naive version: logits of 1000 that overflow unless you subtract the maximum before exponentiating. Expect follow-ups on why that shift leaves the result unchanged, what temperature does to the distribution, and why the output always sums to one.
Cosine Similarity
Implement cosine_similarity(a, b): the dot product divided by both Euclidean norms, the comparison behind most embedding search. Once it passes, practice the questions it opens up, such as why direction matters more than length for embeddings, when cosine and a plain dot product rank results identically, and what your function should do with a zero vector.
51 LLM Evals Interview Questions
Fifty-one questions on how LLM quality gets measured: golden datasets and contamination, why BLEU and exact match fail on generated text, the known biases of LLM judges and how to validate one, CI regression gates, and offline versus online evaluation. It is the vocabulary for the round where an interviewer asks how you would know a prompt change made things better rather than just different.
The Agent Evaluations Handbook
Agents fail differently from single calls, and this handbook builds the frame for grading them: task, agent and grader, the three grader families, rubrics an LLM judge will actually follow, and the math of non-determinism, including the gap between passing once in k tries and passing every time. It prepares you for the question of how you would test an agent before shipping it, which a one-shot accuracy number does not answer.
Token-Level F1
Token-level F1 is the SQuAD-style overlap score: lowercase and split both strings, count shared tokens as a multiset, then take the harmonic mean of precision and recall. Writing it by hand prepares you to explain what the metric rewards, why duplicate tokens must be counted carefully, and where a bag-of-words score misjudges a correct answer that is phrased differently.
The Senior AI Engineer Interview Handbook
Sixty questions at senior scope: designing an LLM serving platform for a million daily users, choosing between RAG and fine-tuning, debugging a production incident, stopping a runaway agent loop, scaling retrieval, and keeping cost and safety under control. This is where retrieval and serving enter the path, as design questions rather than separate lessons, so treat each one as a five-minute spoken answer with a diagram you could draw.