Interview prep · free
Interviews
Questions you'll meet when interviewing for AI agent and LLM engineering roles. Each one has a scenario, a short answer, a full answer, follow-ups an interviewer might ask next, and the wrong answers they hear most. Try the question first, then open the answer. Every answer links to the lesson that teaches it.
Questions 50
Topics 8
Levels 4
Practiced 0
6 questions LLM foundations What the model returns, context windows, sampling, structured output, cost and model choice. L1 2 L2 3 L3 1 L4 0
7 questions Tool use Schemas, dispatchers, errors as observations, side effects, tool design and testing. L1 3 L2 4 L3 0 L4 0
7 questions The agent loop The loop itself, stop conditions, malformed actions, budgets, interrupts and graphs. L1 2 L2 3 L3 2 L4 0
6 questions Memory, context & RAG Growing context, what to remember, memory poisoning, retrieval as a tool, hybrid search. L1 0 L2 4 L3 2 L4 0
6 questions Planning & multi-agent Plan or act, verifiers, reflection, when to add agents, and what coordination costs. L1 0 L2 3 L3 2 L4 1
5 questions MCP & frameworks Why MCP exists, the protocol, third-party servers, and framework trade-offs. L1 1 L2 1 L3 3 L4 0
6 questions Evals & observability Why agent evals are hard, golden sets, trajectories, judges, traces and harnesses. L1 1 L2 2 L3 2 L4 1
7 questions Safety & security Prompt injection, the lethal trifecta, exfiltration, least privilege, sandboxes, approvals, audits. L1 1 L2 3 L3 2 L4 1
Search questions
Level All levels L1 · Fundamentals L2 · Practitioner L3 · Senior L4 · Staff
Type All types Concept Debug Design Trade-off Estimate Code
Topic All topics LLM foundations Tool use The agent loop Memory, context & RAG Planning & multi-agent MCP & frameworks Evals & observability Safety & security
Hide practiced
Random question
50 questions
01 The agent takes a different path every run, even at temperature 0 L1 · Fundamentals Concept LLM foundations ~6 min ✓
02 Thirty turns in, the agent forgets what it was asked to do L2 · Practitioner Debug LLM foundations ~8 min ✓
03 JSON that parses on Monday and breaks on Friday L2 · Practitioner Debug LLM foundations ~7 min ✓
04 Estimate what one support conversation costs L2 · Practitioner Estimate LLM foundations ~10 min ✓
05 One model for everything, or a different model per step? L3 · Senior Trade-off LLM foundations ~10 min ✓
06 The system prompt says one thing, the user says another L1 · Fundamentals Concept LLM foundations ~6 min ✓
07 What actually happens when the model "calls a tool" L1 · Fundamentals Concept Tool use ~6 min ✓
08 A tool raises an exception and the whole run dies L1 · Fundamentals Debug Tool use ~6 min ✓
09 The customer got refunded twice L2 · Practitioner Debug Tool use ~8 min ✓
10 Forty tools, and the model keeps picking the wrong one L2 · Practitioner Design Tool use ~10 min ✓
11 One tool result ate the context window L2 · Practitioner Design Tool use ~8 min ✓
12 The model asks for three tools in one turn L2 · Practitioner Concept Tool use ~7 min ✓
13 How do you test a tool without calling a model? L1 · Fundamentals Concept Tool use ~6 min ✓
14 Write the agent loop on a whiteboard L1 · Fundamentals Code The agent loop ~12 min ✓
15 The agent called search forty times with the same query L2 · Practitioner Debug The agent loop ~8 min ✓
16 When should an agent loop stop? L1 · Fundamentals Concept The agent loop ~6 min ✓
17 The model returned a tool call with broken arguments L2 · Practitioner Debug The agent loop ~7 min ✓
18 The user closes the tab halfway through a ten-minute task L3 · Senior Design The agent loop ~15 min ✓
19 A free-running loop or an explicit graph? L3 · Senior Trade-off The agent loop ~12 min ✓
20 Cap what a single task can spend L2 · Practitioner Estimate The agent loop ~10 min ✓
21 Conversation memory that grows forever L2 · Practitioner Design Memory, context & RAG ~10 min ✓
22 What should an agent remember about a user? L3 · Senior Design Memory, context & RAG ~12 min ✓
23 A note in memory keeps steering every session L3 · Senior Debug Memory, context & RAG ~10 min ✓
24 RAG returns the right document but the wrong answer L2 · Practitioner Debug Memory, context & RAG ~10 min ✓
25 Retrieve on every turn, or give the agent a search tool? L2 · Practitioner Trade-off Memory, context & RAG ~8 min ✓
26 Keyword search beats your embeddings on product codes L2 · Practitioner Concept Memory, context & RAG ~7 min ✓
27 Plan first, or act and observe? L2 · Practitioner Trade-off Planning & multi-agent ~10 min ✓
28 The agent confidently says the task is done when it isn't L2 · Practitioner Design Planning & multi-agent ~8 min ✓
29 Does asking the model to reflect actually help? L3 · Senior Concept Planning & multi-agent ~10 min ✓
30 When is one agent not enough? L2 · Practitioner Trade-off Planning & multi-agent ~8 min ✓
31 Design an orchestrator-worker research system L3 · Senior Design Planning & multi-agent ~15 min ✓
32 Five agents, five times the bill, and worse answers L4 · Staff Debug Planning & multi-agent ~15 min ✓
33 What problem does MCP actually solve? L1 · Fundamentals Concept MCP & frameworks ~6 min ✓
34 Walk through an MCP tool call over stdio L2 · Practitioner Concept MCP & frameworks ~8 min ✓
35 Someone wants to connect a third-party MCP server L3 · Senior Design MCP & frameworks ~12 min ✓
36 Framework or no framework? L3 · Senior Trade-off MCP & frameworks ~10 min ✓
37 Port an agent from one framework to another L3 · Senior Design MCP & frameworks ~10 min ✓
38 Why are agent evals harder than model evals? L1 · Fundamentals Concept Evals & observability ~6 min ✓
39 The golden set is all green, and users are unhappy L3 · Senior Debug Evals & observability ~10 min ✓
40 Grade the path, not just the answer L2 · Practitioner Concept Evals & observability ~8 min ✓
41 The LLM judge says 92%. Do you believe it? L3 · Senior Trade-off Evals & observability ~10 min ✓
42 A prompt change broke something, but what? L2 · Practitioner Debug Evals & observability ~10 min ✓
43 Design an eval harness for a coding agent L4 · Staff Design Evals & observability ~20 min ✓
44 Explain prompt injection to a product manager L1 · Fundamentals Concept Safety & security ~6 min ✓
45 Which of these three agents is dangerous? L2 · Practitioner Concept Safety & security ~8 min ✓
46 Data leaked, but the agent never called a send tool L2 · Practitioner Debug Safety & security ~8 min ✓
47 The agent needs database access L2 · Practitioner Design Safety & security ~10 min ✓
48 Run model-written code safely L3 · Senior Design Safety & security ~12 min ✓
49 Approval prompts that everyone clicks through L3 · Senior Trade-off Safety & security ~10 min ✓
50 The agent paid the wrong supplier. Investigate. L4 · Staff Design Safety & security ~20 min ✓
No question matches these filters.