Free course
AI Engineering Interview Course
Everything AI and LLM engineering interviews test, in reading order: model fundamentals, building LLM applications, agents, serving and GPU infrastructure, fine-tuning, then worked practice questions. 30 of 88 lessons are out; new ones are added every few days.
1.Getting started
What AI engineering interviews cover and how this course is organised.
2.How LLMs work
The model-level ideas every AI engineering interview assumes.
- Tokenization: BPE, Vocabulary Size and Why Tokens Matter10 min
- The Transformer, Explained for Engineers8 min
- Decoding: Greedy, Temperature, Top-k and Top-p9 min
- Context Windows: Limits, Cost and Long-Context Behaviour9 min
- Embeddings: Representing Text as Vectors10 min
- Positional Information: Sinusoidal, Learned and RoPE8 min
- From Pretraining to Chat Model: SFT and RLHF8 min
- Why Language Models Hallucinate8 min
- Choosing a Model: Size, Open Weights and Cost9 min
- Multimodal Models: Images, Audio and Text9 min
3.Building LLM applications
Prompting, retrieval, evaluation and safety for production LLM features.
- Prompt Engineering That Survives Production9 min
- Getting Reliable JSON and Structured Output9 min
- Streaming and Latency Metrics: TTFT and Tokens per Second9 min
- Conversation Memory for Chat Applications10 min
- Vector Search: HNSW, IVF and Approximate Nearest Neighbours10 min
- Retrieval-Augmented Generation, End to End8 min
- Chunking Documents for Retrieval10 min
- Hybrid Search and Reranking9 min
- Evaluating a RAG System9 min
- LLM Evaluation and LLM-as-a-Judge9 min
- Prompt Injection and Guardrails9 min
- Semantic Caching for LLM Applications9 min
- Token Rate Limits, Quotas and Backpressure9 min
4.Agents
Tool use, agent loops and how to make agents reliable and safe.
- Tool Calling and the Agent Loop8 min
- Agent Patterns: ReAct, Plan-and-Execute and Reflection10 min
- Designing Tools an Agent Can Use8 min
- The Model Context Protocol (MCP)9 min
- Agent Memory and State10 min
- Multi-Agent Systems: When and HowComing soon
- Making Agents Reliable: Retries, Timeouts and CheckpointsComing soon
- Evaluating AgentsComing soon
- Agent Safety: Permissions, Sandboxing and Human ApprovalComing soon
- Browser and Computer-Use AgentsComing soon
5.Serving and infrastructure
Inference, training and data infrastructure behind LLM products.
- Prefill, Decode and the KV CacheComing soon
- Continuous Batching for LLM ServingComing soon
- PagedAttention and KV Cache Memory ManagementComing soon
- Prefix CachingComing soon
- Quantization: INT8, INT4 and FP8Coming soon
- Speculative DecodingComing soon
- FlashAttention and IO-Aware AttentionComing soon
- Serving LLMs: Metrics, Autoscaling and DisaggregationComing soon
- Parallelism for Training: Data, Tensor and PipelineComing soon
- Sharded Training State: ZeRO and FSDPComing soon
- Training Memory MathComing soon
- Mixed-Precision TrainingComing soon
- Checkpointing and Fault Tolerance in Long Training RunsComing soon
- GPU Fundamentals for AI EngineersComing soon
- Compute-Bound vs Memory-Bound: The Roofline ModelComing soon
- GPU Interconnects and Collective OperationsComing soon
- Scheduling GPU Jobs and QueuesComing soon
- GPU Utilisation and CostComing soon
- Building a Training Data PipelineComing soon
- Document Ingestion for RAGComing soon
- Synthetic Data for LLMsComing soon
- Labelling and Preference DataComing soon
- LLM Observability and TracingComing soon
- Versioning and Rolling Out Prompts and ModelsComing soon
- Online Evaluation and A/B Tests for LLM FeaturesComing soon
- Model Routing and FallbacksComing soon
6.Fine-tuning
When and how to adapt a model instead of prompting it.
- Fine-Tuning, RAG or Prompting: How to ChooseComing soon
- LoRA and QLoRAComing soon
- Supervised Fine-Tuning: Data and RecipeComing soon
- Preference Tuning: RLHF and DPOComing soon
- Distillation: Teaching a Small ModelComing soon
- Evaluating Fine-Tuned Models and Catastrophic ForgettingComing soon
7.Practice questions
Open-ended interview scenarios and coding exercises, worked through.
- How Would You Reduce Hallucinations in a Support Bot?ScenarioComing soon
- Your RAG System Gives Wrong Answers: How Do You Debug It?ScenarioComing soon
- How Would You Cut LLM Response Latency in Half?ScenarioComing soon
- How Would You Cut LLM Costs by 10x?ScenarioComing soon
- An Agent Keeps Looping: How Do You Fix It?ScenarioComing soon
- How Many GPUs Does It Take to Serve a 70B Model?ScenarioComing soon
- Training Loss Spiked: How Do You Find the Cause?ScenarioComing soon
- How Do You Ship a Prompt Change Safely?ScenarioComing soon
- Implement Numerically Stable Softmax and Cross-EntropyCodingComing soon
- Implement Multi-Head AttentionCodingComing soon
- Implement Top-k and Top-p SamplingCodingComing soon
- Implement a Byte-Pair Encoding TokenizerCodingComing soon
- Implement a KV Cache for Autoregressive GenerationCodingComing soon
- Implement Beam SearchCodingComing soon
- Implement Rotary Position EmbeddingsCodingComing soon
- Implement a LoRA Linear LayerCodingComing soon
- Implement Top-k Retrieval with Cosine SimilarityCodingComing soon
- Implement a Text Chunker with OverlapCodingComing soon
- Implement a Minimal Tool-Calling Agent LoopCodingComing soon
8.Before the interview
Quick-reference material for the last day.
- AI Engineering Interview Cheat SheetReviewComing soon
- Numbers Every AI Engineer Should KnowReviewComing soon