3 min read

AI Eng · Interview Lab — Course Map

AI Engineering and GenAI with JS teach you to build LLM apps. This section is the practice for being interviewed on them.

Read this first. It takes five minutes.


What AI engineering interviews actually test

Interviews for AI product and AI engineer roles have settled into a few recognisable rounds. None of them is "explain what a transformer is":

RoundWhat they hand youWhat they're scoring
LLM system design"Design a support assistant over our docs" / "an agent that can issue refunds"Retrieval, model choice, tools, guardrails, evals, cost and latency, and what happens when the model is wrong
Code review of an LLM featureA repo with a chatbot, a RAG pipeline or an agentWhether you see prompt injection, unsafe output handling, runaway costs, and the ordinary bugs around them
Your own project"Walk me through the AI system you built"Whether you measured it, what broke, what you'd change
Practical / take-homeBuild a small feature with an LLM APIClean API use, structured output, streaming, error handling, and an eval that shows it works

The first two need practice that reading doesn't give you. That's this section.


How LLM bugs differ from ordinary bugs

Everything in Bug Hunt still applies to LLM apps. On top of that, LLM apps have one new property: part of the program is a component that reads instructions from its input. That creates new failure modes:

  • Everything that reaches the prompt can steer the model, not just the user's message: a retrieved document, an email, a web page, a tool's result.
  • Everything the model produces is untrusted input to your code: text, JSON, tool arguments, URLs, SQL.
  • The model is probabilistic and expensive. It can stop early, refuse, loop, or cost real money per call, so ordinary reliability bugs (retries, timeouts, caching) have new consequences.

Reading order

#ChapterYou'll be able to…
1The LLM Bug CatalogueName the bugs only LLM apps have, graded L1–L6 and mapped to the OWASP Top 10 for LLM Applications
2LLM Bug Hunt DrillsFind them in code: prompts, parsing, output handling, agents, RAG, streaming, cost, evals, plus a mock review
3LLM System Design: The MethodAnswer any "design an LLM feature" question in a structure interviewers recognise
4LLM System Design DrillsPractise five design prompts with model answers

How this connects to the rest of the site