Interview preparation forAI infrastructure engineers
The questions under the GPUs, with the numbers worked out. Kernels, distributed training, inference and serving, and the clusters that run them: 413 questions with worked answers, hand-built diagrams and the follow-ups interviewers hold back, from loops at NVIDIA, OpenAI, Anthropic, Google, CoreWeave, Together AI and Fireworks.
no card · free answers in every topic · 41 company loops · 413 added or revised in the last 30 days
KV/token = 2 × 80 layers × 8 KV heads × 128 × 2 B
Which loop are you preparing for?
one title, four different interviewsNot sure which? The guide sorts the tracks out, or take the 15-minute readiness check.
Better than the answer a model gives you. That is the whole point.
You can get a definition from any chatbot. What you cannot get is the number worked through with its assumptions listed, the signal an on-call engineer actually reads, the decision table with the condition that flips it, and the follow-up the interviewer is holding in reserve. Every answer here carries at least three of those.
- Worked numbers with stated assumptions, checked against the calculators.
- Hand-built diagrams that show a mechanism: the ring, the bubble, the block table.
- Real failure signals: the XID code, the DCGM field, the NCCL log line.
- Decision tables with the reversal condition, not a menu of options.
- The accelerator canon beyond NVIDIA: TPU, Trainium, MI300-class.
- Every code snippet executed before it ships. No em dashes, no filler.
Grounded in real AI infrastructure interview loops and written to a senior-engineer editorial bar, with every number worked and every diagram hand-built.
Will Llama 3.1 70B serve 64 concurrent users at 32k context on 8 × H100? Show your work.
TL;DR: Not in bf16 for the cache. Weights take 141 GB, the 64 sequences need 687 GB of KV, and the node has 640 GB. Quantize the cache to fp8 or cap concurrency at about 40, and say which one the latency SLO prefers.
KV/token = 2 × 80 layers × 8 KV heads × 128 × 2 B = 327,680 B per seq = 327,680 B × 32,768 tokens = 10.7 GB 64 seqs = 687 GB weights (bf16) = 141 GB budget = 8 × 80 GB × 0.9 = 576 GB → 576 − 141 = 435 GB free max seqs = 435 / 10.7 ≈ 40 in bf16, ≈ 81 with fp8 KV
The interviewer is waiting for two things: that you reached for the KV cache before the weights, and that you said “8 KV heads” rather than 64. Using the query-head count makes the cache eight times bigger and the design wrong from the first line.
check it in the calculator →The hardware, dated, and not only NVIDIA.
Interviewers ask about the part your target company actually runs. The concept curriculum maps TPU, Trainium, MI300-class and Blackwell onto the same ideas, so the roofline you learn on an H100 still works when the interviewer says “Trillium”. Specs here are dense peaks, because the marketing numbers include sparsity and no dense GEMM reaches them.
41 company loops, tagged by what they weight.
all companies →Each company page carries the loop round by round with a confidence level, the signature questions that are publicly reported, and the tracks to drill for it. Never an invented round.
| Company | Kernels | Platform | Distributed | Design | Cost | Loop |
|---|---|---|---|---|---|---|
| OpenAI | documented | |||||
| Anthropic | documented | |||||
| Google DeepMind | partial | |||||
| Google Cloud and TPU | documented | |||||
| xAI | partial | |||||
| Meta | documented | |||||
| Mistral AI | limited | |||||
| Cohere | limited | |||||
| Amazon Web Services | partial | |||||
| Microsoft | limited | |||||
| Oracle Cloud Infrastructure | limited | |||||
| NVIDIA | documented | |||||
| AMD | partial | |||||
| Cerebras | limited | |||||
| Groq | limited | |||||
| SambaNova | limited | |||||
| Tenstorrent | limited | |||||
| Intel | limited |
Start with the must-know set. Free.
the whole map →13 topics, each a journey from easy to expert.
150 concepts · 400 practice items · 4 coursesOne payment unlocks all of it
Every answer across 13 topics, the full concept curriculum and all 4 courses, for 6 months. One payment, no auto-renewal. Start free, no card needed.
A worked AI infra interview question in your inbox each week. No spam, one click to leave.
