LLM Inference & Serving
35 questionsLLM Inference & Serving Interview Questions
Prefill versus decode, the KV cache, PagedAttention and continuous batching, chunked prefill, speculative decoding, disaggregated serving, quantization, vLLM, SGLang and TensorRT-LLM, multi-LoRA and routing: hosting open-weight models at a latency SLO and a cost you can defend.
Learn how AI infrastructure works through explanations, worked examples and diagrams, then practise applying it to interview questions.
Work through the numbers
Change the assumptions in a free calculator, then explain what the result establishes and what still needs measurement.
A starting path through this topic
Start with a mechanism, then use a worked problem to explain a decision. Access labels below describe what is available without an account.
- Why do prefill and decode behave so differently, and why does that matter for the hardware you serve on?
Separate prompt processing from incremental generation when choosing capacity.
Public answer
The concepts behind LLM Inference & Serving
Review the ideas used in these questions. Each card shows whether the explanation is free, requires sign-in or is part of Premium.
