← Questions

Decoder-only LLM architecture and how vLLM serves it

0
AmazonAI/ML designLast asked Sep 2026

An AI/ML design interview question asked in Amazon's system design round, last asked Sep 2026. It tests llm, inference and kv cache.

Two parts, asked conversationally at a whiteboard. First explain how a modern decoder-only transformer turns a prompt into a probability distribution over the next token.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

llm · inference · kv cache · vllm

Your canvas and the AI tutor open when you unlock this question.