# AI Infra Interviews > Interview preparation for AI infrastructure engineers: researched questions about GPUs, distributed training, inference serving, clusters and napkin math, with worked answers that show their arithmetic. ## About AI Infra Interviews (aiinfrainterviews.com) publishes a researched question bank, a structured concept curriculum, a free guide to the AI infrastructure engineer role, and a blog. Question titles, teasers, concept summaries, and a free sample of full answers and concepts are public and may be cited with attribution and a link to https://aiinfrainterviews.com. The complete premium answers and the deeper curriculum concepts are proprietary, require a paid account, and are served only to entitled users. They are not available for crawling, training, or bulk extraction. ## Start here - [AI infrastructure for beginners](https://aiinfrainterviews.com/start): five free steps: CPU/GPU, model weights, request timing, an illustrative memory budget and free onward lessons; no login required - [The AI infra Guide](https://aiinfrainterviews.com/guide): role, day-to-day, deliverables, skills, salary - [The AI infra Blog](https://aiinfrainterviews.com/blog): interview strategy, company-by-company loops, prep plans, AI skills - [GPU glossary](https://aiinfrainterviews.com/gpu-glossary): free definitions, worked examples, interactive coalescing and bank mapping, primary sources, and access-labelled links to deeper study; JSON at /api/gpu-glossary - [The AI infra Curriculum](https://aiinfrainterviews.com/concepts): GPU architecture, kernels, training, inference, networking and fleet operations - [A beginner’s map of AI GPUs](https://aiinfrainterviews.com/hardware/start): public orientation to GPU families, generations, per-device memory and server/rack scope; no login required - [GPU and TPU hardware reference](https://aiinfrainterviews.com/hardware): free sourced accelerator profiles, cloud configurations and model memory estimates; no login required - [AI infrastructure guide library](https://aiinfrainterviews.com/reports): public catalog of illustrated PDFs, covers, sample-page links and access requirements - [The Beginner's Guide to AI Infrastructure](https://aiinfrainterviews.com/reports/beginners-guide-to-ai-infrastructure): public introduction, complete contents and three selected samples; GPUs, model memory, physical networking, training, inference, security and economics for beginners; complete illustrated PDF and tested laptop companion require paid Premium or approved access; referral Premium excluded - [AgentGym Engineering Handbook](https://aiinfrainterviews.com/reports/agentgym-reinforcement-learning-guide): public introduction, contents and three selected samples; AgentGym, AgentGym-RL, GRPO, ScalingInter-RL, rollout capacity, security and AgentGym2 evaluation; complete PDF and tested CPU companion require paid Premium or approved access; referral Premium excluded - [LLM Inference in Production](https://aiinfrainterviews.com/reports/llm-inference-in-production): public contents, a corrections summary and three sample pages; operator's handbook for vLLM, SGLang and TensorRT-LLM configuration, KV-cache and memory budgets, quantization, benchmarking, metrics, alerting, profiling, autoscaling, cost and repair runbooks; complete PDF and tested Python companion require paid Premium or approved access; referral Premium excluded - [AI Infra Glossary](https://aiinfrainterviews.com/reports/ai-infra-glossary): public contents and three selected samples; 110 terms, nine illustrated worked cases and linked study paths; complete PDF requires paid Premium or approved access; referral Premium excluded - [GPU Networking for AI Engineers](https://aiinfrainterviews.com/reports/gpu-networking-for-ai-engineers): public contents and three sample pages; illustrated guide to cables, NVLink, InfiniBand, RoCE, fabric sizing and enterprise security; complete PDF and planning companion require paid Premium or approved access; referral Premium excluded - [Proxmox GPU Server Guide](https://aiinfrainterviews.com/reports/proxmox-gpu-server-guide): public contents and three sample pages; complete Premium PDF covers installation, PCIe passthrough, B200 qualification, firewalls and recovery; paid Premium or approved complimentary access required; referral Premium excluded - [Self-Hosting Frontier Open-Weight Models](https://aiinfrainterviews.com/reports/self-hosting-open-weight-models): public contents and three sample pages with text equivalents; full PDF and Python companion require active paid Premium or approved complimentary access; referral Premium excludes these files - [RL Post-Training Infrastructure](https://aiinfrainterviews.com/reports/rl-post-training-infrastructure): public contents and three sample pages with text equivalents; full PDF and Python companion require active paid Premium or approved complimentary access; referral Premium excludes these files - [The Cost-per-Token Playbook](https://aiinfrainterviews.com/reports/cost-per-token-playbook): public contents and three sample pages with text equivalents; full PDF and Python companion require active paid Premium or approved complimentary access; referral Premium excludes these files - [AI Infrastructure System Design](https://aiinfrainterviews.com/reports/ai-infrastructure-system-design): public contents and three sample pages with text equivalents; full PDF and Python companion require active paid Premium or approved complimentary access; referral Premium excludes these files - [The LLM Inference Systems Design Handbook](https://aiinfrainterviews.com/reports/llm-inference-systems-design-handbook): public overview, contents, a worked KV-cache calculation and three image previews; complete PDF requires sign-in and paid Premium or approved complimentary access - [Distributed Inference on Kubernetes: Dynamo, llm-d and Disaggregated Serving](https://aiinfrainterviews.com/reports/distributed-inference-on-kubernetes): public overview, contents, a worked prefill/decode sizing calculation and three sample pages with text versions; complete PDF requires sign-in and paid Premium or approved complimentary access - [AI Infrastructure: A Beginner-to-Advanced Field Guide](https://aiinfrainterviews.com/reports/ai-infrastructure-field-guide): public introduction and three image previews; complete PDF requires sign-in and paid Premium or approved complimentary access - [AI Accelerator Field Guide, September 2026](https://aiinfrainterviews.com/reports/ai-accelerator-guide-2026): public summary and worked example; the free PDF download requires sign-in - [All interview topics](https://aiinfrainterviews.com/questions) - [Courses](https://aiinfrainterviews.com/courses): structured reading paths through the AI infra role - [AI infra Interview Readiness Assessment](https://aiinfrainterviews.com/assessment): free 15-minute diagnostic covering core AI infrastructure topics; returns a coverage profile and a study plan. No account required - [AI infra Practice Tests](https://aiinfrainterviews.com/practice): multiple-choice practice tests across the published AI infrastructure topics, easy to staff-level, every answer explained; free tests with an account, per-topic pages under /practice/ - [AI infrastructure jobs](https://aiinfrainterviews.com/jobs): Free public job board: selected GPU, training, inference and platform openings at tracked employers; apply directly with the employer - [Interview prep by company](https://aiinfrainterviews.com/companies): NVIDIA, AMD, OpenAI, Anthropic, Google, CoreWeave, and more - [Editorial approach and corrections](https://aiinfrainterviews.com/about): how the material is assembled, reviewed and corrected - [AI infrastructure interview questions](https://aiinfrainterviews.com/ai-infra-interview-questions): the question-bank overview and preparation routes - [Interview prep plan](https://aiinfrainterviews.com/essentials): choose a preparation path for your background - [AI infrastructure calculators](https://aiinfrainterviews.com/calculators): worked memory, training and serving estimates - [Inference economics workbench](https://aiinfrainterviews.com/calculators/inference-economics): seven free calculators for API budgets, fleet cost, peak capacity, break-even, caching, human review and ownership; hypothetical starting inputs, no account required - [Napkin-math formula sheet](https://aiinfrainterviews.com/formulas): formulas, assumptions and worked examples - [Pricing](https://aiinfrainterviews.com/pricing) - [Remote internships](https://aiinfrainterviews.com/internships): paid Community & Campus Internship; fully remote, US$25 per week, outcome-based content and community work; application details and form - [Community ambassadors](https://aiinfrainterviews.com/ambassadors): sharing on both LinkedIn and X required; reviewed program for signed-in members; approved contributions earn a badge and one 48-hour Premium pass - [FAQ](https://aiinfrainterviews.com/faq) ## Open model reference (public cards; report PDF requires paid Premium or approved complimentary access; referral Premium excludes downloads) - [Open models for beginners](https://aiinfrainterviews.com/models/start): public introduction to weights, parameters, quantization and choosing a first model - [Open model explorer](https://aiinfrainterviews.com/models): newest-first release timeline, model assessments, architecture and sourced deployment configurations - [Open Model Field Guide](https://aiinfrainterviews.com/reports/open-model-field-guide): public summary and selected previews; PDF requires sign-in and paid Premium or approved complimentary access - [Model labs](https://aiinfrainterviews.com/model-labs): lab profiles, architectural trajectories and covered-model timelines - [Moonshot AI](https://aiinfrainterviews.com/model-labs/moonshot-ai): Follow the jump from a coding update to a new attention stack. - [Alibaba Qwen](https://aiinfrainterviews.com/model-labs/qwen): One family spans tiny dense models, coding MoEs and conditional memory. - [Google DeepMind](https://aiinfrainterviews.com/model-labs/google-deepmind): Gemma is a family of different design choices, not just different sizes. - [Z.ai](https://aiinfrainterviews.com/model-labs/z-ai): Track the attention changes separately from the post-training gains. - [DeepSeek](https://aiinfrainterviews.com/model-labs/deepseek): Flash evolves from a post-training update into a different memory system. - [Meta](https://aiinfrainterviews.com/model-labs/meta): A local-agent release includes the runtime around the model. - [OpenAI](https://aiinfrainterviews.com/model-labs/openai): The older open release remains a useful compact reasoning baseline. - [MiniMax](https://aiinfrainterviews.com/model-labs/minimax): Study how sparse attention changes what the GPU reads. - [Mistral AI](https://aiinfrainterviews.com/model-labs/mistral-ai): Choose the artifact before choosing the GPU count. - [InclusionAI](https://aiinfrainterviews.com/model-labs/inclusion-ai): Hybrid state and checkpoint identity decide the rollout. - [Liquid AI](https://aiinfrainterviews.com/model-labs/liquid-ai): Local agents still need a complete state budget. - [Baidu](https://aiinfrainterviews.com/model-labs/baidu): A base release opens an adaptation path. - [NVIDIA](https://aiinfrainterviews.com/model-labs/nvidia): Compression and runtime support must travel together. - [ERNIE-5.5-Flash-Base](https://aiinfrainterviews.com/models/ernie-5.5-flash-base): A pretrained text model for adaptation, with compressed attention and sparse latent-attention layers. - [Kimi-K3.1-Pro](https://aiinfrainterviews.com/models/kimi-k3.1-pro): A 2.8T-parameter MoE post-trained from K3, with sparse attention replacing K3's full-attention layers. - [Mistral-Large-4-1T-A52B](https://aiinfrainterviews.com/models/mistral-large-4-1t-a52b): Mistral's 1T-parameter multimodal MoE with about 52B active parameters and a 1M context setting. - [LFM3-1.7B](https://aiinfrainterviews.com/models/lfm3-1.7b): A compact text-agent checkpoint with three distinct retained-state budgets. - [Ling-3.1-flash-1019](https://aiinfrainterviews.com/models/ling-3.1-flash-1019): A text-only expert model combining recurrent delta attention with nine latent-attention layers. - [MiniMax-M3.1-Flash](https://aiinfrainterviews.com/models/minimax-m3.1-flash): M3's 428B MoE with sparse attention in every layer, quantization-aware training and a DSpark draft head. - [DeepSeek-V4.1-Flash-1017](https://aiinfrainterviews.com/models/deepseek-v4.1-flash-1017): A post-training update to V4.1 Flash with an identical configuration and tensor payload. - [Nemotron 3.5 Bolt 74B-A9B 24GB](https://aiinfrainterviews.com/models/nemotron-3.5-bolt-74b-a9b-24gb): A compressed vision-language model whose 24 GB name describes packed weights, not a complete serving reservation. - [Nemotron 3.5 Super VL 120B-A12B NVFP4](https://aiinfrainterviews.com/models/nemotron-3.5-super-vl-120b-a12b-nvfp4): A vision-language hybrid with mixed NVFP4 storage and documented Hopper and Blackwell serving paths. - [LFM2.5-24B-A2B](https://aiinfrainterviews.com/models/lfm2.5-24b-a2b): A compact expert model with a 47.94 GB BF16 tensor payload and a separate active-compute count. - [Ling-3.1-flash](https://aiinfrainterviews.com/models/ling-3.1-flash): A text-only expert model combining recurrent delta attention with nine latent-attention layers. - [DeepSeek-V4.1-Flash](https://aiinfrainterviews.com/models/deepseek-v4.1-flash): A multimodal DeepSeek model with a 552B backbone and 196B Engram memory. - [GLM-5.3-Flash](https://aiinfrainterviews.com/models/glm-5.3-flash): A multimodal GLM MoE with 320B total and 18B active parameters. - [Qwen3.8-Flash-Next](https://aiinfrainterviews.com/models/qwen3.8-flash-next): A 125B backbone plus 51B n-gram memory and 4B MTP parameters. - [GLM-5.3](https://aiinfrainterviews.com/models/glm-5.3): A post-training release with a changed adoption decision. - [Qwen3.8-27B](https://aiinfrainterviews.com/models/qwen3.8-27b): A dense 27B Qwen3.8 model with text, image and video input. - [DeepSeek-V4-Pro-0813](https://aiinfrainterviews.com/models/deepseek-v4-pro-0813): The DeepSeek-V4 Pro 0813 revision, kept separate from the preview. - [Qwen3.8-2.4T-A95B](https://aiinfrainterviews.com/models/qwen3.8-2.4t-a95b): A 2.4T text checkpoint with 95B active parameters. - [Muse-Glimmer-30B](https://aiinfrainterviews.com/models/muse-glimmer-30b): A dense 29.6B model with image input and agent-oriented training. - [DeepSeek-V4-Flash-0731](https://aiinfrainterviews.com/models/deepseek-v4-flash-0731): A post-training update you can compare fairly. - [Kimi-K3](https://aiinfrainterviews.com/models/kimi-k3): A 2.8T-parameter MoE with hybrid attention and a 1M configuration. - [GLM-5.2](https://aiinfrainterviews.com/models/glm-5.2): A million-token setting backed by index sharing. - [Kimi-K2.7-Code](https://aiinfrainterviews.com/models/kimi-k2.7-code): The coding-focused K2 variant in this reference. - [diffusiongemma-26B-A4B-it](https://aiinfrainterviews.com/models/diffusiongemma-26b-a4b-it): A diffusion-style Gemma MoE with 25.2B reported parameters. - [gemma-4-12B-it](https://aiinfrainterviews.com/models/gemma-4-12b-it): A dense Gemma 4 model with text, image, video and audio input. - [MiniMax-M3](https://aiinfrainterviews.com/models/minimax-m3): A 428B multimodal MoE with about 23B active parameters. - [DeepSeek-V4-Flash](https://aiinfrainterviews.com/models/deepseek-v4-flash): The original DeepSeek-V4 Flash checkpoint: 284B total, 13B active. - [DeepSeek-V4-Pro](https://aiinfrainterviews.com/models/deepseek-v4-pro): The original 1.6T DeepSeek-V4 Pro model, with 49B active parameters. - [Qwen3.6-27B](https://aiinfrainterviews.com/models/qwen3.6-27b): A dense 27B Qwen3.6 checkpoint with hybrid attention. - [Kimi-K2.6](https://aiinfrainterviews.com/models/kimi-k2.6): A K2-generation multimodal checkpoint to evaluate for agent workloads. - [Qwen3.6-35B-A3B](https://aiinfrainterviews.com/models/qwen3.6-35b-a3b): A Qwen3.6 MoE with 35B total and 3B active parameters. - [GLM-5.1](https://aiinfrainterviews.com/models/glm-5.1): Longer agent runs need process-level evaluation. - [gemma-4-26B-A4B-it](https://aiinfrainterviews.com/models/gemma-4-26b-a4b-it): A Gemma 4 MoE with 25.2B total and 3.8B active parameters. - [gemma-4-31B-it](https://aiinfrainterviews.com/models/gemma-4-31b-it): The dense 30.7B Gemma 4 checkpoint in this reference. - [gemma-4-E2B-it](https://aiinfrainterviews.com/models/gemma-4-e2b-it): A small Gemma 4 model with 2.3B effective and 5.1B including embeddings. - [gemma-4-E4B-it](https://aiinfrainterviews.com/models/gemma-4-e4b-it): A Gemma 4 model with 4.5B effective and 8B including embeddings. - [Qwen3.5-0.8B](https://aiinfrainterviews.com/models/qwen3.5-0.8b): The smallest Qwen3.5 checkpoint in this reference. - [Qwen3.5-2B](https://aiinfrainterviews.com/models/qwen3.5-2b): A compact 2B multimodal checkpoint for constrained-task experiments. - [Qwen3.5-4B](https://aiinfrainterviews.com/models/qwen3.5-4b): A 4B Qwen3.5 starting point for small multimodal deployments. - [Qwen3.5-9B](https://aiinfrainterviews.com/models/qwen3.5-9b): A 9B dense Qwen3.5 checkpoint between tiny and mid-sized models. - [Qwen3.5-122B-A10B](https://aiinfrainterviews.com/models/qwen3.5-122b-a10b): A 122B MoE with 10B active parameters. - [Qwen3.5-27B](https://aiinfrainterviews.com/models/qwen3.5-27b): A dense 27B multimodal Qwen3.5 checkpoint. - [Qwen3.5-35B-A3B](https://aiinfrainterviews.com/models/qwen3.5-35b-a3b): A 35B MoE with 3B active parameters and multimodal inputs. - [Qwen3.5-397B-A17B](https://aiinfrainterviews.com/models/qwen3.5-397b-a17b): The 397B Qwen3.5 MoE, with 17B active per token. - [GLM-5](https://aiinfrainterviews.com/models/glm-5): A 744B GLM model with 40B active parameters and sparse attention. - [Qwen3-Coder-Next](https://aiinfrainterviews.com/models/qwen3-coder-next): An 80B coding MoE that activates 3B parameters per token. - [Kimi-K2.5](https://aiinfrainterviews.com/models/kimi-k2.5): A large multimodal MoE with a 256K context setting. - [GLM-4.7-Flash](https://aiinfrainterviews.com/models/glm-4.7-flash): A 30B GLM MoE with 3B active parameters. - [gpt-oss-120b](https://aiinfrainterviews.com/models/gpt-oss-120b): A 117B MoE with 5.1B active parameters and mixed MXFP4 expert weights. - [gpt-oss-20b](https://aiinfrainterviews.com/models/gpt-oss-20b): A 21B MoE with 3.6B active parameters for smaller deployments. ## Hardware profiles (free, full reference pages; no login required) - [NVIDIA T4](https://aiinfrainterviews.com/hardware/t4): 16 GB; A small inference GPU for a model that already fits. Its 16 GB capacity is usually the first limit a new LLM user encounters. - [NVIDIA A10](https://aiinfrainterviews.com/hardware/a10): 24 GB; A 24 GB graphics-capable server GPU. It offers more memory than T4, without the HBM or switched links of A100. - [NVIDIA L4](https://aiinfrainterviews.com/hardware/l4): 24 GB; A low-power 24 GB inference and media GPU. More compute does not imply more memory bandwidth: its published 300 GB/s is below A10. - [NVIDIA L40S](https://aiinfrainterviews.com/hardware/l40s): 48 GB; A 48 GB server card for inference, fine-tuning and graphics. The extra capacity is useful; it does not bring an HGX interconnect. - [NVIDIA A100 40 GB SXM](https://aiinfrainterviews.com/hardware/a100-40-sxm): 40 GB; 40 GB of HBM on the SXM4 form factor. A100 remains useful for BF16 training and supported inference, but cannot execute Hopper’s native FP8 Tensor Core path. - [NVIDIA A100 80 GB SXM](https://aiinfrainterviews.com/hardware/a100-80-sxm): 80 GB; 80 GB of HBM on the SXM4 form factor. A100 remains useful for BF16 training and supported inference, but cannot execute Hopper’s native FP8 Tensor Core path. - [NVIDIA A100 80 GB PCIe](https://aiinfrainterviews.com/hardware/a100-80-pcie): 80 GB; 80 GB of HBM on the PCIe form factor. A100 remains useful for BF16 training and supported inference, but cannot execute Hopper’s native FP8 Tensor Core path. - [NVIDIA H100 80 GB SXM](https://aiinfrainterviews.com/hardware/h100-sxm): 80 GB; The common eight-GPU training-node H100. Its fast local GPU fabric is separate from whatever network connects the node to another node. - [NVIDIA H100 80 GB PCIe](https://aiinfrainterviews.com/hardware/h100-pcie): 80 GB; The 80 GB PCIe H100 is a different operating point from the SXM card. The same H100 name does not promise 3.35 TB/s memory bandwidth. - [NVIDIA H100 NVL](https://aiinfrainterviews.com/hardware/h100-nvl): 94 GB; H100 NVL is a 94 GB PCIe GPU often discussed as a two-card, 188 GB pair. Always count how many cards the listing includes. - [NVIDIA H200 SXM](https://aiinfrainterviews.com/hardware/h200): 141 GB; Hopper with a larger, faster memory system: 141 GB at 4.8 TB/s. Its value over H100 is easiest to see in memory capacity and memory traffic. - [NVIDIA B200 HGX](https://aiinfrainterviews.com/hardware/b200): 180 GB; An HBM-rich Blackwell GPU for large training and inference jobs. Use the 180 GB HGX usable-memory specification, not an early 192 GB announcement. - [NVIDIA B300 HGX](https://aiinfrainterviews.com/hardware/b300): 288 GB; Blackwell Ultra’s larger HBM budget helps large models and long context. A cloud allocation may expose less memory than the 288 GB physical-product figure. - [NVIDIA GB200 NVL72](https://aiinfrainterviews.com/hardware/gb200): 186 GB; A rack-scale system, not a single PCIe card. This comparison uses 186 GB per GPU from GCP’s four-GPU VM configuration; the full rack includes 72 GPUs and 36 Grace CPUs. - [NVIDIA GB300 NVL72](https://aiinfrainterviews.com/hardware/gb300): 279 GB; A rack-scale system, not a single PCIe card. This comparison uses 279 GB per GPU from GCP’s four-GPU VM configuration; the full rack includes 72 GPUs and 36 Grace CPUs. - [NVIDIA Vera Rubin NVL72](https://aiinfrainterviews.com/hardware/rubin-nvl72): 288 GB; NVIDIA's rack-scale successor to GB300: 72 Rubin GPUs and 36 Vera CPUs. Each GPU has 288 GB of HBM, the same figure as the B300 profile here, and published memory bandwidth rises to 19.2 TB/s. - [RTX PRO 6000 Blackwell Server Edition](https://aiinfrainterviews.com/hardware/rtx-pro-6000-blackwell): 96 GB; 96 GB of GDDR7 makes this an interesting inference and mixed AI/graphics card. Its memory capacity sits above H100, but its bandwidth does not. - [AMD Instinct MI300X](https://aiinfrainterviews.com/hardware/mi300x): 192 GB; 192 GB of HBM on an AMD CDNA 3 accelerator. The memory is useful only after the model’s kernels and serving engine work on the ROCm target. - [AMD Instinct MI325X](https://aiinfrainterviews.com/hardware/mi325x): 256 GB; 256 GB of HBM on an AMD CDNA 3 accelerator. The memory is useful only after the model’s kernels and serving engine work on the ROCm target. - [AMD Instinct MI355X](https://aiinfrainterviews.com/hardware/mi355x): 288 GB; 288 GB of HBM on an AMD CDNA 4 accelerator. The memory is useful only after the model’s kernels and serving engine work on the ROCm target. - [AMD Instinct MI455X](https://aiinfrainterviews.com/hardware/mi455x): 432 GB; AMD's CDNA 5 accelerator for the Helios rack. At 432 GB of HBM4 it has the largest per-device memory in this reference, 1.5 times MI355X's 288 GB. - [Google TPU v4](https://aiinfrainterviews.com/hardware/tpu-v4): 32 GiB; A mature training-oriented TPU with 32 GiB per chip. Existing XLA jobs can be a better starting point than porting a CUDA-only workload. - [Google TPU v5e](https://aiinfrainterviews.com/hardware/tpu-v5e): 16 GB; The smaller-memory TPU branch for economical training and serving. Eight chips provide eight 16 GB budgets, not one shared 128 GB allocation. - [Google TPU v5p](https://aiinfrainterviews.com/hardware/tpu-v5p): 95 GiB; A large-pod training TPU with 95 GiB per chip, much more memory than v5e. The suffix identifies a different design, not a larger v5e VM. - [Google TPU v6e (Trillium)](https://aiinfrainterviews.com/hardware/tpu-v6e): 32 GB; Trillium doubles v5e’s nominal memory to 32 GB and increases BF16 compute. It retains a 256-chip, 2D pod design. - [Google TPU7x (Ironwood)](https://aiinfrainterviews.com/hardware/tpu-v7): 192 GiB; Ironwood adds a much larger HBM budget and native FP8. Google’s technical name is TPU7x; its two chiplets are visible as two framework devices per chip. - [Google TPU 8t](https://aiinfrainterviews.com/hardware/tpu-8t): 216 GB; Google’s announced eighth-generation training design. It emphasizes large-scale pre-training, a 3D torus and a new scale-out network. - [Google TPU 8i](https://aiinfrainterviews.com/hardware/tpu-8i): 288 GB; Google’s announced eighth-generation serving design. Larger SRAM and Boardfly target communication and state movement in reasoning workloads. - [AWS Trainium2](https://aiinfrainterviews.com/hardware/trainium2): 96 GiB; AWS’s own training accelerator, also used for supported inference. It runs the Neuron stack rather than a CUDA binary. - [GeForce RTX 5090](https://aiinfrainterviews.com/hardware/rtx-5090): 32 GB; A 32 GB desktop card for local learning and supported small-model inference. The memory limit remains real even when the compute headline looks large. - [GeForce RTX 5080](https://aiinfrainterviews.com/hardware/rtx-5080): 16 GB; A 16 GB desktop card for local learning and supported small-model inference. The memory limit remains real even when the compute headline looks large. - [GeForce RTX 5070](https://aiinfrainterviews.com/hardware/rtx-5070): 12 GB; A 12 GB desktop card for local learning and supported small-model inference. The memory limit remains real even when the compute headline looks large. - [NVIDIA BlueField-3 DPU](https://aiinfrainterviews.com/hardware/bluefield-3): Not a model-memory device; A DPU moves infrastructure work such as networking, security and storage off the host. It is not another name for Google TPU. - [AWS Inferentia2](https://aiinfrainterviews.com/hardware/inferentia2): 32 GiB; An inference-focused AWS chip with two NeuronCore-v2 cores. Inf2 instances can contain up to twelve chips. - [AWS Trainium3](https://aiinfrainterviews.com/hardware/trainium3): 144 GiB; Eight NeuronCore-v4 cores and 144 GiB of HBM per chip. Its low-precision and memory upgrades are much larger than its dense BF16 compute increase over Trainium2. - [NVIDIA A30](https://aiinfrainterviews.com/hardware/a30): 24 GB; A 24 GB HBM2 accelerator for shared enterprise servers. It has more memory bandwidth than L4, but an older compute architecture. - [NVIDIA H200 NVL](https://aiinfrainterviews.com/hardware/h200-nvl): 141 GB; NVIDIA H200 NVL is a dual-slot PCIe GPU with 141 GB HBM3e, 4.8 TB/s memory bandwidth and up to 600 W configurable power. Its dense BF16/FP16 peak is 835.5 TFLOPS; compare its bridge topology and compute limits with H200 SXM below. - [RTX PRO 6000 Blackwell Workstation Edition](https://aiinfrainterviews.com/hardware/rtx-pro-6000-workstation): 96 GB; A desktop card with 96 GB of memory for local model work and graphics. Its 1.792 TB/s specification differs from the Server Edition’s 1.597 TB/s. - [AMD Instinct MI350X](https://aiinfrainterviews.com/hardware/mi350x): 288 GB; MI350X and MI355X share 288 GB of HBM3e and 8 TB/s peak bandwidth. MI350X has a lower board-power specification and lower compute peaks. ## Interview topics (13 published categories) - [GPU & Accelerator Architecture](https://aiinfrainterviews.com/c/gpu-architecture) - [Hardware, Cabling & Cluster Build-Out](https://aiinfrainterviews.com/c/hardware-deployment) - [CUDA, Triton & Kernel Engineering](https://aiinfrainterviews.com/c/cuda-kernels) - [Distributed Training & Parallelism](https://aiinfrainterviews.com/c/distributed-training) - [LLM Inference & Serving](https://aiinfrainterviews.com/c/inference-serving) - [Open-Weights Models & Serving Engines](https://aiinfrainterviews.com/c/open-weights-serving) - [Napkin Math, Cost & Capacity](https://aiinfrainterviews.com/c/napkin-math) - [Networking, Interconnects & Storage](https://aiinfrainterviews.com/c/networking-storage) - [Kubernetes, Slurm & GPU Scheduling](https://aiinfrainterviews.com/c/cluster-orchestration) - [GPU Fleet Reliability & Observability](https://aiinfrainterviews.com/c/reliability-observability) - [AI Infrastructure System Design](https://aiinfrainterviews.com/c/ai-systems-design) - [Coding for Infra](https://aiinfrainterviews.com/c/coding-systems) - [Behavioral & Ownership](https://aiinfrainterviews.com/c/behavioral-ownership) ## Free interview answers (full explanations; no login required) - [Walk me through the CUDA execution model: what are grids, blocks and warps, and what does the hardware actually schedule?](https://aiinfrainterviews.com/q/cuda-execution-model-grids-blocks-warps) - [Describe the GPU memory hierarchy. Where can a byte live on an H100, and what does each level cost?](https://aiinfrainterviews.com/q/gpu-memory-hierarchy-where-a-byte-lives) - [Why are GPUs so much faster than CPUs for deep learning? Be specific about what the silicon is doing differently.](https://aiinfrainterviews.com/q/why-gpus-beat-cpus-for-deep-learning) - [What is a tensor core, and what does a kernel have to do to actually use one?](https://aiinfrainterviews.com/q/what-is-a-tensor-core-and-what-does-it-need) - [Explain arithmetic intensity and the roofline model. Where is the ridge point on an H100, and what does it tell you about a kernel?](https://aiinfrainterviews.com/q/arithmetic-intensity-and-the-roofline) - [Is LLM decode memory-bound or compute-bound? Show me the arithmetic that decides it.](https://aiinfrainterviews.com/q/is-llm-decode-memory-or-compute-bound) - [bf16, fp16, fp8: what is the difference at the bit level, and where does each one belong in training and serving?](https://aiinfrainterviews.com/q/bf16-vs-fp16-vs-fp8-where-each-belongs) - [How much faster is an H200 than an H100, really? Which workloads see the gain and which do not?](https://aiinfrainterviews.com/q/how-much-faster-is-h200-than-h100-really) - [NVLink versus PCIe: when does the interconnect actually matter for an LLM workload, and when can you get away with PCIe?](https://aiinfrainterviews.com/q/nvlink-vs-pcie-when-does-it-matter) - [What is warp divergence, why does it cost you, and how would you find and fix it in a kernel?](https://aiinfrainterviews.com/q/warp-divergence-and-why-it-costs-you) - [You have budget for roughly 1,000 GPUs and a greenfield site. Specify the cluster.](https://aiinfrainterviews.com/q/size-a-1000-gpu-training-cluster-from-scratch) - [Your fleet is decode-heavy. Is a B300 worth 1.4 times a B200's power for 1.6 times the memory?](https://aiinfrainterviews.com/q/h100-b200-or-b300-for-a-decode-heavy-fleet) - [Leadership bought GB300 NVL72 racks. Your datacenter is built for 15 kW cabinets. What do you tell them?](https://aiinfrainterviews.com/q/your-datacenter-cannot-take-an-nvl72-rack) - [After recabling a row to 800G, a third of the links will not come up. Find the cause.](https://aiinfrainterviews.com/q/800g-links-will-not-come-up-after-a-cable-swap) - [How much power does a 512-GPU cluster actually draw, end to end?](https://aiinfrainterviews.com/q/how-much-power-does-a-512-gpu-cluster-need) - [Design the cooling for a 40-rack hall of liquid-cooled GPU racks.](https://aiinfrainterviews.com/q/design-the-cooling-for-a-40-rack-gpu-hall) - [During acceptance, seven rails hit expected bandwidth and one is 15 percent low. Find it.](https://aiinfrainterviews.com/q/one-rail-is-slower-than-the-other-seven) - [New nodes arrive with no software. Walk me through bring-up, and say why the order matters.](https://aiinfrainterviews.com/q/what-is-the-bring-up-order-and-why) - [512 GPUs are installed and the vendor wants sign-off. Design the acceptance test.](https://aiinfrainterviews.com/q/design-an-acceptance-test-for-512-new-gpus) - [You are building a fine-tuning service for customer models under 30B. RTX PRO 6000 or H100?](https://aiinfrainterviews.com/q/rtx-pro-6000-or-h100-for-a-fine-tuning-service) - [Write a CUDA vector add and explain the launch: grid math, the bounds check, and why the copies dominate.](https://aiinfrainterviews.com/q/write-a-cuda-vector-add-and-explain-the-launch) - [What is memory coalescing, why does a strided access pattern hurt, and how do you see it in a profiler?](https://aiinfrainterviews.com/q/memory-coalescing-what-it-is-and-how-to-see-it) - [Given the addresses each thread in a warp touched, classify the access pattern: coalesced, strided or random. Write the classifier.](https://aiinfrainterviews.com/q/classify-access-patterns-from-a-kernel-trace) - [Explain shared memory bank conflicts with the bank arithmetic, show a kernel that has them, and fix it with padding.](https://aiinfrainterviews.com/q/shared-memory-bank-conflicts-and-the-padding-fix) - [Why fuse kernels, how much does it save, and what can fusion not fix?](https://aiinfrainterviews.com/q/why-fuse-kernels-and-what-fusion-cannot-fix) - [Write a fused row softmax in Triton, explain its memory traffic, and say where it stops scaling.](https://aiinfrainterviews.com/q/write-a-fused-softmax-in-triton) - [Take a GEMM from naive to 70% of peak: the steps, the speedup at each, and the arithmetic that says why.](https://aiinfrainterviews.com/q/tiled-gemm-from-naive-to-70-percent-of-peak) - [Explain occupancy and register pressure: launch bounds, spills, the calculator, and why 50% occupancy can beat 100%.](https://aiinfrainterviews.com/q/occupancy-registers-and-when-to-limit-them) - [Explain FlashAttention. Why is it called IO-aware, and what does it actually save?](https://aiinfrainterviews.com/q/explain-flashattention-and-why-it-is-io-aware) - [What changed between FlashAttention 1, 2 and 3, and why did each change buy what it did?](https://aiinfrainterviews.com/q/flashattention-2-vs-3-what-changed) - [In data-parallel training, what actually gets communicated between GPUs, and how much is it per step?](https://aiinfrainterviews.com/q/data-parallel-training-what-actually-gets-communicated) - [Compare data, tensor and pipeline parallelism. What does each one shard, what does each one communicate, and where does each one live?](https://aiinfrainterviews.com/q/data-tensor-pipeline-parallelism-compared) - [What is MFU, how do you compute it from a running job, and what counts as a good number?](https://aiinfrainterviews.com/q/what-is-mfu-and-what-is-a-good-number) - [Explain ZeRO stages 1, 2 and 3. How much memory does each stage leave per GPU for a 70B model?](https://aiinfrainterviews.com/q/explain-zero-stages-1-2-3) - [FSDP or DeepSpeed ZeRO-3: which would you pick for a new training codebase today, and why?](https://aiinfrainterviews.com/q/fsdp-vs-deepspeed-zero-3-which-and-why) - [You need to train a 100B dense model and it does not fit on one node. Walk me through how you would lay it out.](https://aiinfrainterviews.com/q/train-a-100b-model-that-does-not-fit-on-one-node) - [Derive the cost of a ring all-reduce. Why is it bandwidth-optimal, and where does it stop scaling?](https://aiinfrainterviews.com/q/derive-ring-all-reduce-cost) - [Do the pipeline bubble math for me. How do micro-batches shrink it, and what does 1F1B change?](https://aiinfrainterviews.com/q/pipeline-bubble-math-and-1f1b) - [Does tensor parallelism have to stop at 8? Show me the numbers.](https://aiinfrainterviews.com/q/why-tensor-parallel-stops-at-8) - [Gradient accumulation versus a bigger per-GPU batch: same result or not, and what changes underneath?](https://aiinfrainterviews.com/q/gradient-accumulation-vs-bigger-batch) - [Why do prefill and decode behave so differently, and why does that matter for the hardware you serve on?](https://aiinfrainterviews.com/q/prefill-vs-decode-why-they-need-different-hardware) - [What is the KV cache, and why does it keep growing while a request is being served?](https://aiinfrainterviews.com/q/what-is-the-kv-cache-and-why-does-it-grow) - [What is the difference between static and continuous batching, and why did it change LLM serving?](https://aiinfrainterviews.com/q/static-vs-continuous-batching) - [How does PagedAttention work, and what problem was it solving?](https://aiinfrainterviews.com/q/how-pagedattention-works) - [Define TTFT, TPOT and goodput, and tell me how you would measure each one in production.](https://aiinfrainterviews.com/q/ttft-tpot-and-goodput-define-and-measure) - [You have eight H100s and Llama 3.1 70B. How many concurrent users can you serve, and what changes the number?](https://aiinfrainterviews.com/q/serve-llama-70b-on-8-h100s-what-concurrency) - [A long prompt arrives while sixty users are mid-generation. What happens, and how does chunked prefill fix it?](https://aiinfrainterviews.com/q/chunked-prefill-and-head-of-line-blocking) - [When does speculative decoding speed up serving, and when does it break even or hurt?](https://aiinfrainterviews.com/q/speculative-decoding-when-it-helps-and-when-it-breaks-even) - [Compare the KV cache footprint of multi-head, grouped-query and multi-head latent attention with numbers.](https://aiinfrainterviews.com/q/gqa-vs-mha-vs-mla-kv-footprint) - [You need to quantize a model for serving. Which method do you pick, and what do you measure before shipping it?](https://aiinfrainterviews.com/q/quantize-a-model-for-serving-which-method) - [You need to deploy GLM-5.3. How many GPUs do you need, and what would you verify first?](https://aiinfrainterviews.com/q/how-many-gpus-to-serve-glm-5-3) - [vLLM crashes with out of memory during startup on a model that should fit. Debug it.](https://aiinfrainterviews.com/q/vllm-ooms-at-launch-debug-it) - [A model you have never heard of trends on Hugging Face. Estimate the deployment before downloading it.](https://aiinfrainterviews.com/q/a-new-model-dropped-estimate-before-downloading) - [Your expert-parallel deployment is slower than the tensor-parallel one. Find out why.](https://aiinfrainterviews.com/q/is-it-the-all-to-all-or-the-experts) - [You are serving an agent product with long shared prompts. vLLM or SGLang?](https://aiinfrainterviews.com/q/vllm-or-sglang-for-an-agent-workload) - [Serve Kimi K3, a 2.8 trillion parameter model. What is the minimum viable configuration?](https://aiinfrainterviews.com/q/serve-kimi-k3-minimum-viable-config) - [Your model decodes at a tenth of its bandwidth bound at batch one. Explain the gap.](https://aiinfrainterviews.com/q/why-is-batch-one-decode-so-far-below-the-bound) - [Set max-model-len and max-num-seqs for a chat product from first principles.](https://aiinfrainterviews.com/q/set-max-model-len-and-max-num-seqs) - [Your new model deployment produces fluent answers that score badly on evaluations. Where do you look?](https://aiinfrainterviews.com/q/outputs-are-subtly-wrong-after-deployment) - [Design the benchmark you would run before putting a new open-weights model into production.](https://aiinfrainterviews.com/q/design-a-benchmark-for-a-new-model) - [How much GPU memory does it take to run Llama 3.1 70B?](https://aiinfrainterviews.com/q/how-much-memory-to-run-llama-70b) - [How big is the KV cache for Llama 3.1 70B at a 128k context?](https://aiinfrainterviews.com/q/kv-cache-size-for-llama-70b-at-128k) - [How many FLOPs does it take to train a 70B model on 15 trillion tokens?](https://aiinfrainterviews.com/q/how-many-flops-to-train-a-70b-on-15t-tokens) - [How long does that 70B run take on 16,384 H100s at 40% MFU?](https://aiinfrainterviews.com/q/how-long-on-16k-h100s-at-40-percent-mfu) - [How many H100s do you need to train a 70B model on 15 trillion tokens in 30 days?](https://aiinfrainterviews.com/q/how-many-gpus-to-train-70b-in-30-days) - [How many tokens per second can a 70B model generate for a single user on H100s?](https://aiinfrainterviews.com/q/tokens-per-second-for-70b-single-stream-on-h100) - [What does it cost per million output tokens to serve a 70B model on eight H100s?](https://aiinfrainterviews.com/q/cost-per-million-tokens-on-8-h100s) - [How much memory does it take to fine-tune a 70B model, full fine-tuning versus LoRA?](https://aiinfrainterviews.com/q/memory-to-fine-tune-70b-full-vs-lora) - [A kernel does 4 TFLOP and moves 40 GB in one call. On an H100, is it memory-bound or compute-bound?](https://aiinfrainterviews.com/q/is-this-kernel-memory-bound-given-these-counters) - [How much network bandwidth does data-parallel training need?](https://aiinfrainterviews.com/q/how-much-network-bandwidth-does-ddp-need) - [What does NCCL actually do when you call all-reduce, and how does it decide which algorithm to use?](https://aiinfrainterviews.com/q/what-nccl-does-and-how-it-picks-an-algorithm) - [Name the four collectives a training job uses, say what each moves, and match them to the parallelism that needs them.](https://aiinfrainterviews.com/q/all-reduce-all-gather-reduce-scatter-all-to-all) - [InfiniBand or RoCE version 2 for a new GPU training cluster. Make the call and say what would reverse it.](https://aiinfrainterviews.com/q/infiniband-vs-rocev2-for-a-gpu-cluster) - [What is RDMA, and when does it help a training cluster more than TCP?](https://aiinfrainterviews.com/q/what-rdma-is-and-why-training-needs-it) - [Explain a rail-optimized fabric. What does it buy over a plain fat tree, and how many switches does one need?](https://aiinfrainterviews.com/q/rail-optimized-topology-explained) - [A 64-node job's all-reduce runs at a third of the expected bandwidth. Walk me through finding the cause.](https://aiinfrainterviews.com/q/debug-a-slow-all-reduce) - [Design the fabric for 4,096 GPUs with 64-port switches. What does 1:1 cost, and what does 2:1 give up?](https://aiinfrainterviews.com/q/fat-tree-oversubscription-math-for-4096-gpus) - [What is incast, why does it break an RDMA fabric, and what do ECN and priority flow control each do about it?](https://aiinfrainterviews.com/q/congestion-control-incast-and-why-ecn-matters) - [When does GPUDirect Storage actually help, and when is it just a more complicated read?](https://aiinfrainterviews.com/q/gpudirect-storage-when-does-it-help) - [Parallel filesystem or object storage for training data? Make the call and explain the two-tier pattern most clusters end up with.](https://aiinfrainterviews.com/q/lustre-vs-object-storage-for-training-data) - [Walk me through what happens when a pod asks Kubernetes for four GPUs, from the manifest to the container seeing them.](https://aiinfrainterviews.com/q/how-kubernetes-schedules-a-gpu) - [MIG, time-slicing and MPS all let several jobs share one GPU. What is the difference, and when would you pick each?](https://aiinfrainterviews.com/q/mig-vs-time-slicing-vs-mps) - [Slurm or Kubernetes for a 2,000-GPU training cluster? Make the case, and tell me what you lose either way.](https://aiinfrainterviews.com/q/slurm-vs-kubernetes-for-training) - [What is gang scheduling, and what goes wrong on a Kubernetes cluster that does not have it?](https://aiinfrainterviews.com/q/what-is-gang-scheduling-and-why-training-needs-it) - [Design a GPU-aware scheduler that supports fractional GPUs: what isolation does each fraction get, and where does it break?](https://aiinfrainterviews.com/q/design-a-gpu-aware-scheduler-with-fractional-gpus) - [Two identical 8-GPU jobs get 8 GPUs each. One runs at half the speed of the other. What did the scheduler do, and how do you stop it?](https://aiinfrainterviews.com/q/topology-aware-scheduling-why-placement-changes-throughput) - [Eight research teams share 1,024 GPUs. Design the quota and fairness policy, and tell me how they will game it.](https://aiinfrainterviews.com/q/quotas-and-fair-share-across-research-teams) - [Here is a Kubernetes GPU node. Pods requesting nvidia.com/gpu stay Pending. Fix it in front of me and narrate what you check.](https://aiinfrainterviews.com/q/fix-this-broken-kubernetes-gpu-node) - [What does the NVIDIA GPU Operator actually install on a node, and what is Node Feature Discovery doing underneath it?](https://aiinfrainterviews.com/q/node-feature-discovery-and-the-gpu-operator) - [Design a serverless GPU platform where a function that loads a 7B model cold-starts in under a second. Where does every second go today?](https://aiinfrainterviews.com/q/serverless-gpu-platform-sub-second-cold-starts) - [How do GPUs actually fail at fleet scale, how often, and which failures should the platform expect to handle every day?](https://aiinfrainterviews.com/q/how-do-gpus-fail-in-a-fleet) - [What is an XID error, which ones mean the hardware is bad, and which ones mean somebody's kernel has a bug?](https://aiinfrainterviews.com/q/what-is-an-xid-error-and-which-ones-matter) - [With DCGM available on every node, what do you actually collect, what do you alert on, and what do you deliberately ignore?](https://aiinfrainterviews.com/q/dcgm-what-do-you-monitor-and-alert-on) - [Design observability for a large training cluster. What do you collect, what does each signal answer, and what pages someone?](https://aiinfrainterviews.com/q/design-observability-for-a-training-cluster) - [One GPU's correctable memory error rate has been climbing for a week. What does that predict and what do you do about it?](https://aiinfrainterviews.com/q/ecc-single-bit-errors-are-rising-on-one-gpu) - [A node reports a GPU has fallen off the bus. What happened, what can software do, and what should the platform do automatically?](https://aiinfrainterviews.com/q/gpu-fell-off-the-bus-xid-79) - [A training run hangs every few hours with no error, and the GPUs sit idle until the timeout fires. Find the cause.](https://aiinfrainterviews.com/q/the-training-run-hangs-every-few-hours-find-it) - [One node in a job runs at half the speed of its peers. What do you check, in what order, and what does each answer rule out?](https://aiinfrainterviews.com/q/a-node-is-2x-slower-than-its-peers) - [At 16,384 GPUs something fails every three hours. How often should you checkpoint, and what goodput does that leave?](https://aiinfrainterviews.com/q/mtbf-math-at-16k-gpus) - [What service level objectives would you promise researchers on a training platform, and how would you measure each?](https://aiinfrainterviews.com/q/slos-for-a-training-platform) - [Walk me through an inference platform for a hosted LLM. What are the pieces, and what does each one do?](https://aiinfrainterviews.com/q/walk-me-through-an-inference-platform) - [You have 45 minutes and the prompt is 'design our serving platform'. How do you run the round?](https://aiinfrainterviews.com/q/how-would-you-run-the-design-round) - [Design an LLM batching system end to end: the queue, the batch, the KV cache and streaming. Give me numbers.](https://aiinfrainterviews.com/q/design-an-llm-batching-system-end-to-end) - [Design a GPU credit system: accounts, spending rates, priorities and fairness. Start with the data model.](https://aiinfrainterviews.com/q/design-a-gpu-credit-system) - [Design a distributed search system with an LLM answer layer at 10,000 queries per second. Size both tiers and name the SLOs.](https://aiinfrainterviews.com/q/design-distributed-search-plus-llm-at-10k-rps) - [Design a training cluster for 10,000 GPUs: pods, fabric, storage, failure domains and the scheduler. Justify every number.](https://aiinfrainterviews.com/q/design-a-training-cluster-for-10k-gpus) - [Design a job scheduler for 100,000 jobs on a shared GPU cluster, with preemption and checkpointing. Show me the state machine.](https://aiinfrainterviews.com/q/design-a-job-scheduler-for-100k-jobs-with-preemption-and-checkpointing) - [Design a serverless GPU platform: a customer deploys a function with a model and pays per second. Where does the cold start budget go?](https://aiinfrainterviews.com/q/design-a-serverless-gpu-platform) - [Design the eval pipeline for a frontier model: thousands of evals per checkpoint, sharded inference, caching, reproducible results.](https://aiinfrainterviews.com/q/design-an-eval-pipeline-for-a-frontier-model) - [Design the pipeline that produces 15 trillion training tokens: ingest, dedup, tokenize, shard, serve. Throughput per stage.](https://aiinfrainterviews.com/q/design-a-training-data-pipeline-for-15t-tokens) - [Given usage records of GPU allocations, compute what each tenant owes. Write it, and say what you would test.](https://aiinfrainterviews.com/q/implement-a-gpu-credit-calculator) - [Implement a token bucket rate limiter. Make it thread-safe, and explain what the two parameters actually control.](https://aiinfrainterviews.com/q/implement-a-token-bucket-rate-limiter) - [Given per-GPU idle intervals, compute when any GPU was idle and when every GPU was idle. Write both.](https://aiinfrainterviews.com/q/merge-gpu-idle-intervals-across-a-fleet) - [Implement retry with exponential backoff and jitter. Why is the jitter the part that matters, and what must never be retried?](https://aiinfrainterviews.com/q/implement-retry-with-exponential-backoff-and-jitter) - [Implement a key-value store where a read can ask for the value as of an earlier version. What is the data structure?](https://aiinfrainterviews.com/q/implement-a-versioned-kv-store) - [Implement a batcher that flushes when the batch is full or when a timeout expires. What breaks in the timer path?](https://aiinfrainterviews.com/q/implement-a-request-batcher-with-a-timeout) - [Implement a scheduler that admits jobs by priority and preempts lower-priority work when it must. What are the rules?](https://aiinfrainterviews.com/q/implement-a-priority-job-queue-with-preemption) - [You are handed a 40 GB kernel trace. Write the parser that turns it into per-instruction access statistics without running out of memory.](https://aiinfrainterviews.com/q/parse-a-kernel-trace-and-classify-access-patterns) - [Implement a cache for model weights on a serving node. What makes it different from a normal LRU?](https://aiinfrainterviews.com/q/implement-an-lru-cache-for-model-weights) - [Write a producer-consumer pipeline with a bounded queue. What are the three bugs that show up in every first attempt?](https://aiinfrainterviews.com/q/producer-consumer-with-bounded-queue-in-python) - [Tell me about a time you pushed back on a launch because of a reliability concern.](https://aiinfrainterviews.com/q/tell-me-about-a-time-you-pushed-back-on-a-launch-for-reliability) - [Walk me through the worst on-call incident you have handled.](https://aiinfrainterviews.com/q/walk-me-through-your-worst-on-call-incident) - [Why do you want to work in AI infrastructure, and why now?](https://aiinfrainterviews.com/q/why-ai-infrastructure-and-why-now) - [A researcher needs 256 GPUs today and the cluster is full. How do you handle it?](https://aiinfrainterviews.com/q/how-do-you-work-with-researchers-who-want-the-cluster-now) - [Describe a migration nobody wanted. How did you get it done without losing the team's trust?](https://aiinfrainterviews.com/q/describe-a-migration-nobody-wanted) - [What is your view on AI safety, and what does it actually mean for infrastructure work?](https://aiinfrainterviews.com/q/what-is-your-view-on-ai-safety-and-how-does-it-affect-infra) - [Tell me about a performance win you are proud of. How did you measure it?](https://aiinfrainterviews.com/q/tell-me-about-a-performance-win-you-are-proud-of) - [Your team is drowning in manual work. How do you decide what to automate first?](https://aiinfrainterviews.com/q/how-do-you-decide-what-to-automate-first) - [Describe a time you were confidently wrong about a root cause. What did it cost?](https://aiinfrainterviews.com/q/describe-a-time-you-were-wrong-about-a-root-cause) - [You are joining a team running a 10,000 GPU cluster. What do you do in your first month?](https://aiinfrainterviews.com/q/how-would-you-onboard-to-a-10k-gpu-cluster-in-your-first-month) ## GPU Lab - [GPU Lab: online GPU emulator](https://aiinfrainterviews.com/lab): hands-on NVIDIA command sandbox; nvidia-smi, memory troubleshooting and service recovery; A100, H100, H200 and B200 profiles; command emulation, no CUDA execution - [GPU cluster sandbox](https://aiinfrainterviews.com/lab/sandbox): free eight-node GPU workload emulator with selectable inference/training/stress loads, live graphs, process monitoring, fault controls and local InfiniBand views - [GPU command reference](https://aiinfrainterviews.com/lab/reference): free supported command guide, troubleshooting playbooks, Xid reference and glossary - [GPU troubleshooting challenges](https://aiinfrainterviews.com/lab/challenges): practice missions with guidance hidden; public summaries, mission access varies by tier - [First contact](https://aiinfrainterviews.com/lab/first-contact): Find your bearings on an eight-GPU node. Free mission, no login required. - [Idle, but not empty](https://aiinfrainterviews.com/lab/memory-is-not-work): Find the process holding 56 GiB of GPU memory. Free mission, no login required. - [The version trap](https://aiinfrainterviews.com/lab/three-versions): Separate the driver, its CUDA ceiling and the compiler. Free mission, no login required. - [Bring it online](https://aiinfrainterviews.com/lab/first-endpoint): Take a model service from stopped to healthy. Public summary; mission requires Premium. - [Make it fit](https://aiinfrainterviews.com/lab/memory-budget): Repair an impossible context and concurrency budget. Public summary; mission requires Premium. - [The silent endpoint](https://aiinfrainterviews.com/lab/wrong-port): A running process, a client pointed somewhere else. Public summary; mission requires Premium. - [Which GPU is zero?](https://aiinfrainterviews.com/lab/wrong-device): Follow device visibility through a model launch. Public summary; mission requires Premium. - [Read the fabric](https://aiinfrainterviews.com/lab/read-the-fabric): Discover what a topology table can and cannot tell you. Public summary; mission requires Premium. - [Night shift](https://aiinfrainterviews.com/lab/night-shift): Recover a failed endpoint with fewer instructions. Public summary; mission requires Premium. - [A missing link](https://aiinfrainterviews.com/lab/nvlink-investigation): Trace a local link fault without treating topology as a benchmark. Public summary; mission requires Premium. - [The first hop](https://aiinfrainterviews.com/lab/fabric-first-hop): Locate an InfiniBand problem at the node boundary. Public summary; mission requires Premium. - [After an ECC event](https://aiinfrainterviews.com/lab/ecc-recovery): Separate device recovery from application recovery. Public summary; mission requires Premium. - [Yesterday’s error, today’s state](https://aiinfrainterviews.com/lab/counter-history): Interpret an error counter without erasing history. Public summary; mission requires Premium. - [What did the check test?](https://aiinfrainterviews.com/lab/software-preflight): Use DCGM preflight without treating Pass as a certificate. Public summary; mission requires Premium. - [The file will not parse](https://aiinfrainterviews.com/lab/invalid-config): Recover from a configuration syntax failure. Public summary; mission requires Premium. - [Spend the KV budget](https://aiinfrainterviews.com/lab/context-concurrency): Trade concurrency for longer contexts using explicit arithmetic. Public summary; mission requires Premium. - [Free memory, rejected launch](https://aiinfrainterviews.com/lab/fraction-is-a-budget): Distinguish available capacity from the configured fraction. Public summary; mission requires Premium. - [Saved is not applied](https://aiinfrainterviews.com/lab/config-drift): Observe the boundary between a file and a live process. Public summary; mission requires Premium. - [Find capacity without collateral damage](https://aiinfrainterviews.com/lab/respect-the-owner): Place a service around another team’s allocation. Public summary; mission requires Premium. - [Two faults, two fabrics](https://aiinfrainterviews.com/lab/two-fabrics): Separate a local GPU link from a network adapter incident. Public summary; mission requires Premium. - [The second blocker](https://aiinfrainterviews.com/lab/masked-capacity): Recover a launch with a bad configuration and a bad target. Public summary; mission requires Premium. - [Follow the client to the device](https://aiinfrainterviews.com/lab/placement-and-port): Verify the full endpoint identity after a migration. Public summary; mission requires Premium. - [The green check’s blind spot](https://aiinfrainterviews.com/lab/preflight-blind-spot): Diagnose a fabric fault that software preflight does not cover. Public summary; mission requires Premium. - [Close the shift](https://aiinfrainterviews.com/lab/shift-handoff): Recover a device, a memory budget and the endpoint contract. Public summary; mission requires Premium. ## Interactive explainers - [Interactive explainers](https://aiinfrainterviews.com/explain): visual explanations that run real models or simulations in the browser - [How a language model serves your prompt](https://aiinfrainterviews.com/explain/inference): Follow one prompt through a real model running in your browser: tokens, prefill, the KV cache, decode and sampling, with the time, bytes and memory each step costs. Free to explore; the production-scale stage is Premium. - [How one server serves many people at once](https://aiinfrainterviews.com/explain/batching): Batching, continuous batching and the paged KV cache, run on a scheduler you can watch pass by pass, with every pass time measured on a real model. Two stages free; the scheduler simulations and production scale are Premium. - [How GPUs add up their gradients](https://aiinfrainterviews.com/explain/allreduce): The all-reduce behind every data-parallel training step, run on real numbers in your browser: the ring, its cost, trees for small messages, hierarchical topology and overlap with the backward pass. Two stages free; the ring simulations, cost, topology, overlap and production scale are Premium. ## Hands-on projects - [Hands-on library](https://aiinfrainterviews.com/hands-on): step-by-step training, fine-tuning, streaming inference, performance tuning and private hosting; execution status stated on every page - [Train a tiny language model from scratch with PyTorch](https://aiinfrainterviews.com/hands-on/train-tiny-language-model-pytorch): Build a 470,528-parameter causal language model on a CPU. Train it, inspect validation loss, save a checkpoint and resume the same run. Complete guide and files readable without login. CPU workflow executed. - [Prepare a JSONL dataset for small-model fine-tuning](https://aiinfrainterviews.com/hands-on/prepare-fine-tuning-dataset): Validate conversation records, reject conflicting duplicates, split source groups and save a data manifest before spending GPU time. Complete guide and files readable without login. CPU workflow executed. - [Fine-tune and serve Qwen3-0.6B with Unsloth](https://aiinfrainterviews.com/hands-on/fine-tune-qwen3-unsloth): Train a LoRA adapter on a BF16 base or a QLoRA adapter on a 4-bit base, compare held-out labels, reload the saved files and serve the same Qwen3 adapter through a local vLLM API. Public overview; complete guide and files require a free account. GPU run executed. - [Deploy Qwen3.5-4B with vLLM on an NVIDIA L4](https://aiinfrainterviews.com/hands-on/deploy-qwen35-vllm-l4): Start a text-only Qwen3.5 API with pinned model files, a recorded container digest, bounded context, local access and a checked response. Complete guide and files readable without login. GPU run pending. - [Benchmark a vLLM service and build a release gate](https://aiinfrainterviews.com/hands-on/benchmark-vllm-release): Run repeatable HTTP checks, retain failed requests, measure end-to-end latency and require correct, complete answers within a declared deadline. Public overview; complete guide and files require Premium. Client tested · GPU run pending. - [Stream vLLM responses with Python and detect incomplete answers](https://aiinfrainterviews.com/hands-on/stream-vllm-responses-python): Build a text-stream client, measure first visible output, preserve partial failures and test SSE parsing before connecting to a model. Complete guide and files readable without login. HTTP fixtures and small-model streaming executed. - [Secure a model endpoint with SSH tunnels and HTTPS](https://aiinfrainterviews.com/hands-on/secure-model-endpoint-ssh-nginx): Configure private model access, verified TLS and an Nginx streaming proxy. Test authentication, route limits, buffering and upstream failures. Complete guide and files readable without login. Local TLS and proxy executed. - [Tune vLLM serving parameters with controlled experiments](https://aiinfrainterviews.com/hands-on/tune-vllm-serving-parameters): Compare token budgets or sequence limits with matched workloads, all-attempt goodput and repeated paired runs. Includes a small-model RTX 5070 branch. Public overview; complete guide and files require Premium. Small-model GPU branch executed · L4 branch pending. - [Evaluate fine-tuned adapters and freeze a model selection](https://aiinfrainterviews.com/hands-on/evaluate-fine-tuned-adapters): Compare Unsloth training budgets against the base model, inspect paired regressions, bind predictions to artifacts and keep test data outside selection. Public overview; complete guide and files require Premium. CPU selection checks executed · GPU run pending. - [Train your own decision model with Unsloth and Qwen3.5](https://aiinfrainterviews.com/hands-on/train-decision-model-unsloth): Turn Qwen3.5-0.8B into a decision model that returns calibrated probabilities instead of text. GPU-executed on an RTX 5070: 36% to 69% on 2,000 held-out decisions in 4.3 minutes. Complete guide and files readable without login. GPU workflow executed. - [Observe a GPU service and distinguish missing signals from healthy hardware](https://aiinfrainterviews.com/hands-on/observe-gpu-service): Capture real device samples, expose local metrics and correlate hardware activity with request failures. Build a dashboard that preserves missing data. Public overview; complete guide and files require Premium. Device capture executed · dashboard deployment pending. - [Build a prefix-aware routing proxy and test its failure paths](https://aiinfrainterviews.com/hands-on/route-prefix-aware-requests): Compare round-robin, prefix affinity and a load-aware policy. Stream responses through a bounded local proxy and account for busy or failed replicas. Public overview; complete guide and files require Premium. HTTP routing executed · GPU cache experiment pending. - [Write a fused RMSNorm kernel in Triton and benchmark fair baselines](https://aiinfrainterviews.com/hands-on/fuse-rmsnorm-triton): Implement masked RMSNorm, check three dtypes and compare eager PyTorch, torch.compile, native RMSNorm and a custom GPU kernel. Public overview; complete guide and files require Premium. GPU kernel and four baselines executed. - [Defend an inference benchmark with quality gates and cost evidence](https://aiinfrainterviews.com/hands-on/defend-inference-benchmark): Turn paired request records into an auditable cost, latency and useful-throughput comparison. Reject confounded runs and candidates that miss the quality rule. Public overview; complete guide and files require Premium. Report checks executed · local GPU evidence available. - [Trace inference requests with OpenTelemetry, Jaeger and Grafana](https://aiinfrainterviews.com/hands-on/trace-inference-with-opentelemetry): Build a local vLLM observability lab, follow native engine spans, verify request metrics, and test sampling and collector outages against an independent journal. Public overview; complete guide and files require Premium. Local GPU and monitoring stack executed. - [Speculative decoding: measure when it helps](https://aiinfrainterviews.com/hands-on/measure-speculative-decoding): Benchmark vLLM prompt-lookup speculation against ordinary decoding. Check acceptance, output correctness, latency and goodput with matched GPU runs. Public overview; complete guide and files require Premium. Paired GPU experiment executed. - [Model GPU work mapping and parallel scans](https://aiinfrainterviews.com/hands-on/gpu-work-mapping-models): Run CPU models for GEMM scheduling, tensor offsets, prefix scans and softmax state merging. Inspect intermediate values and test the assumptions before writing a GPU kernel. Public overview; complete guide and files require Premium. 13 CPU tests executed. - [Qualify and benchmark a Triton kernel](https://aiinfrainterviews.com/hands-on/qualify-a-triton-kernel): Test an FP32 residual-plus-ReLU kernel against adversarial cases, eager PyTorch and a compiled baseline. Retain GPU timings, source hashes, PTX and native artifacts. Public overview; complete guide and files require Premium. GPU qualification and timing executed. - [Run Muse Spark Open locally with llama.cpp: hardware, quants and setup](https://aiinfrainterviews.com/hands-on/run-muse-spark-open-locally): Run Meta's 816B Muse Spark Open on one machine. Pick a GGUF quant from real file sizes, start llama.cpp, set reasoning effort and verify the local API. Complete guide and files readable without login. Planner and client CPU-executed; model run pending. - [Post-train an LLM from scratch in PyTorch: SFT, DPO, PPO and GRPO](https://aiinfrainterviews.com/hands-on/post-train-tiny-language-model): Implement the full LLM post-training pipeline in pure PyTorch on a CPU. Pretrain a tiny Transformer, then compare SFT, a reward model, DPO, PPO and GRPO with a verifiable reward. Public overview; complete guide and files require Premium. CPU workflow executed across five seeds. - [KV cache offloading: measure what a CPU tier saves](https://aiinfrainterviews.com/hands-on/offload-kv-cache-to-cpu-memory): Force a vLLM prefix cache past its capacity, add a host-memory KV tier, and measure tokens loaded, tokens recomputed and time to first token per request. Public overview; complete guide and files require Premium. Paired GPU experiment executed. - [Quantization: measure what FP8, INT8 and AWQ cost](https://aiinfrainterviews.com/hands-on/measure-quantization-accuracy-and-speed): Serve one model in BF16, FP8 and INT8 and a larger one in FP8 and 4-bit AWQ, then measure memory, decode speed and GSM8K accuracy question by question. Public overview; complete guide and files require Premium. Paired GPU experiment executed. - [Verify KV-cache correctness with a CPU attention lab](https://aiinfrainterviews.com/hands-on/verify-kv-cache-correctness): Compare full, cached and paged attention on identical synthetic inputs. Reject six deliberate indexing bugs and separate numerical agreement from modeled history-gathering work. Public overview; complete guide and files require Premium. 13 CPU tests executed. - [Audit an incident replay for future-evidence leakage](https://aiinfrainterviews.com/hands-on/audit-incident-replay): Build a frozen evidence selector with two clocks and explicit case scope. Reject four broken policies, inspect the leaked records and preserve a reproducible CPU report. Public overview; complete guide and files require Premium. 14 CPU tests executed. - [Compare local inference energy per useful answer](https://aiinfrainterviews.com/hands-on/compare-local-inference-energy): Audit paired request journals, preserve failed-work energy and reject incompatible captures. Build a reproducible CPU report before making NPU or GPU efficiency claims. Public overview; complete guide and files require Premium. 18 CPU tests executed. ## Role guides (free) - [What is an AI Infrastructure Engineer?](https://aiinfrainterviews.com/guide/what-is-an-ai-infrastructure-engineer) - [What Does an AI Infrastructure Engineer Do All Day?](https://aiinfrainterviews.com/guide/what-does-an-ai-infrastructure-engineer-do) - [AI Infrastructure Engineer Salary: US & India (2026)](https://aiinfrainterviews.com/guide/ai-infrastructure-engineer-salary) - [AI Infrastructure Engineer Skills: A Practical Preparation Map](https://aiinfrainterviews.com/guide/ai-infrastructure-engineer-skills) - [The AI Infrastructure Engineer Interview Process](https://aiinfrainterviews.com/guide/ai-infrastructure-engineer-interview-process) - [AI Infrastructure Engineer vs SRE, MLOps, ML Engineer and Other Roles](https://aiinfrainterviews.com/guide/ai-infrastructure-engineer-vs-other-roles) - [Companies Hiring AI Infrastructure Engineers in 2026](https://aiinfrainterviews.com/guide/companies-hiring-ai-infrastructure-engineers) ## Essential interview questions (public previews; full-answer access varies) - [Walk me through the CUDA execution model: what are grids, blocks and warps, and what does the hardware actually schedule?](https://aiinfrainterviews.com/q/cuda-execution-model-grids-blocks-warps) - [You have budget for roughly 1,000 GPUs and a greenfield site. Specify the cluster.](https://aiinfrainterviews.com/q/size-a-1000-gpu-training-cluster-from-scratch) - [In data-parallel training, what actually gets communicated between GPUs, and how much is it per step?](https://aiinfrainterviews.com/q/data-parallel-training-what-actually-gets-communicated) - [Why do prefill and decode behave so differently, and why does that matter for the hardware you serve on?](https://aiinfrainterviews.com/q/prefill-vs-decode-why-they-need-different-hardware) - [You need to deploy GLM-5.3. How many GPUs do you need, and what would you verify first?](https://aiinfrainterviews.com/q/how-many-gpus-to-serve-glm-5-3) - [How much GPU memory does it take to run Llama 3.1 70B?](https://aiinfrainterviews.com/q/how-much-memory-to-run-llama-70b) - [What does NCCL actually do when you call all-reduce, and how does it decide which algorithm to use?](https://aiinfrainterviews.com/q/what-nccl-does-and-how-it-picks-an-algorithm) - [Walk me through what happens when a pod asks Kubernetes for four GPUs, from the manifest to the container seeing them.](https://aiinfrainterviews.com/q/how-kubernetes-schedules-a-gpu) - [How do GPUs actually fail at fleet scale, how often, and which failures should the platform expect to handle every day?](https://aiinfrainterviews.com/q/how-do-gpus-fail-in-a-fleet) - [Walk me through an inference platform for a hosted LLM. What are the pieces, and what does each one do?](https://aiinfrainterviews.com/q/walk-me-through-an-inference-platform) - [Given usage records of GPU allocations, compute what each tenant owes. Write it, and say what you would test.](https://aiinfrainterviews.com/q/implement-a-gpu-credit-calculator) - [Tell me about a time you pushed back on a launch because of a reliability concern.](https://aiinfrainterviews.com/q/tell-me-about-a-time-you-pushed-back-on-a-launch-for-reliability) - [Compare data, tensor and pipeline parallelism. What does each one shard, what does each one communicate, and where does each one live?](https://aiinfrainterviews.com/q/data-tensor-pipeline-parallelism-compared) - [What is the KV cache, and why does it keep growing while a request is being served?](https://aiinfrainterviews.com/q/what-is-the-kv-cache-and-why-does-it-grow) - [How big is the KV cache for Llama 3.1 70B at a 128k context?](https://aiinfrainterviews.com/q/kv-cache-size-for-llama-70b-at-128k) - [Name the four collectives a training job uses, say what each moves, and match them to the parallelism that needs them.](https://aiinfrainterviews.com/q/all-reduce-all-gather-reduce-scatter-all-to-all) - [MIG, time-slicing and MPS all let several jobs share one GPU. What is the difference, and when would you pick each?](https://aiinfrainterviews.com/q/mig-vs-time-slicing-vs-mps) - [What is an XID error, which ones mean the hardware is bad, and which ones mean somebody's kernel has a bug?](https://aiinfrainterviews.com/q/what-is-an-xid-error-and-which-ones-matter) - [Implement a token bucket rate limiter. Make it thread-safe, and explain what the two parameters actually control.](https://aiinfrainterviews.com/q/implement-a-token-bucket-rate-limiter) - [Walk me through the worst on-call incident you have handled.](https://aiinfrainterviews.com/q/walk-me-through-your-worst-on-call-incident) - [Leadership bought GB300 NVL72 racks. Your datacenter is built for 15 kW cabinets. What do you tell them?](https://aiinfrainterviews.com/q/your-datacenter-cannot-take-an-nvl72-rack) - [What is MFU, how do you compute it from a running job, and what counts as a good number?](https://aiinfrainterviews.com/q/what-is-mfu-and-what-is-a-good-number) - [What is the difference between static and continuous batching, and why did it change LLM serving?](https://aiinfrainterviews.com/q/static-vs-continuous-batching) - [A model you have never heard of trends on Hugging Face. Estimate the deployment before downloading it.](https://aiinfrainterviews.com/q/a-new-model-dropped-estimate-before-downloading) - [How many FLOPs does it take to train a 70B model on 15 trillion tokens?](https://aiinfrainterviews.com/q/how-many-flops-to-train-a-70b-on-15t-tokens) - [InfiniBand or RoCE version 2 for a new GPU training cluster. Make the call and say what would reverse it.](https://aiinfrainterviews.com/q/infiniband-vs-rocev2-for-a-gpu-cluster) - [Slurm or Kubernetes for a 2,000-GPU training cluster? Make the case, and tell me what you lose either way.](https://aiinfrainterviews.com/q/slurm-vs-kubernetes-for-training) - [With DCGM available on every node, what do you actually collect, what do you alert on, and what do you deliberately ignore?](https://aiinfrainterviews.com/q/dcgm-what-do-you-monitor-and-alert-on) - [Design an LLM batching system end to end: the queue, the batch, the KV cache and streaming. Give me numbers.](https://aiinfrainterviews.com/q/design-an-llm-batching-system-end-to-end) - [Given per-GPU idle intervals, compute when any GPU was idle and when every GPU was idle. Write both.](https://aiinfrainterviews.com/q/merge-gpu-idle-intervals-across-a-fleet) - [Why do you want to work in AI infrastructure, and why now?](https://aiinfrainterviews.com/q/why-ai-infrastructure-and-why-now) - [How does PagedAttention work, and what problem was it solving?](https://aiinfrainterviews.com/q/how-pagedattention-works) - [Design observability for a large training cluster. What do you collect, what does each signal answer, and what pages someone?](https://aiinfrainterviews.com/q/design-observability-for-a-training-cluster) - [Design a GPU credit system: accounts, spending rates, priorities and fairness. Start with the data model.](https://aiinfrainterviews.com/q/design-a-gpu-credit-system) - [A researcher needs 256 GPUs today and the cluster is full. How do you handle it?](https://aiinfrainterviews.com/q/how-do-you-work-with-researchers-who-want-the-cluster-now) - [Explain arithmetic intensity and the roofline model. Where is the ridge point on an H100, and what does it tell you about a kernel?](https://aiinfrainterviews.com/q/arithmetic-intensity-and-the-roofline) - [How many H100s do you need to train a 70B model on 15 trillion tokens in 30 days?](https://aiinfrainterviews.com/q/how-many-gpus-to-train-70b-in-30-days) - [Explain a rail-optimized fabric. What does it buy over a plain fat tree, and how many switches does one need?](https://aiinfrainterviews.com/q/rail-optimized-topology-explained) - [Design a GPU-aware scheduler that supports fractional GPUs: what isolation does each fraction get, and where does it break?](https://aiinfrainterviews.com/q/design-a-gpu-aware-scheduler-with-fractional-gpus) - [Design a distributed search system with an LLM answer layer at 10,000 queries per second. Size both tiers and name the SLOs.](https://aiinfrainterviews.com/q/design-distributed-search-plus-llm-at-10k-rps) - [Implement a key-value store where a read can ask for the value as of an earlier version. What is the data structure?](https://aiinfrainterviews.com/q/implement-a-versioned-kv-store) - [Is LLM decode memory-bound or compute-bound? Show me the arithmetic that decides it.](https://aiinfrainterviews.com/q/is-llm-decode-memory-or-compute-bound) - [You need to train a 100B dense model and it does not fit on one node. Walk me through how you would lay it out.](https://aiinfrainterviews.com/q/train-a-100b-model-that-does-not-fit-on-one-node) - [You have eight H100s and Llama 3.1 70B. How many concurrent users can you serve, and what changes the number?](https://aiinfrainterviews.com/q/serve-llama-70b-on-8-h100s-what-concurrency) - [Serve Kimi K3, a 2.8 trillion parameter model. What is the minimum viable configuration?](https://aiinfrainterviews.com/q/serve-kimi-k3-minimum-viable-config) - [A 64-node job's all-reduce runs at a third of the expected bandwidth. Walk me through finding the cause.](https://aiinfrainterviews.com/q/debug-a-slow-all-reduce) - [Design a training cluster for 10,000 GPUs: pods, fabric, storage, failure domains and the scheduler. Justify every number.](https://aiinfrainterviews.com/q/design-a-training-cluster-for-10k-gpus) - [Implement a batcher that flushes when the batch is full or when a timeout expires. What breaks in the timer path?](https://aiinfrainterviews.com/q/implement-a-request-batcher-with-a-timeout) - [What is your view on AI safety, and what does it actually mean for infrastructure work?](https://aiinfrainterviews.com/q/what-is-your-view-on-ai-safety-and-how-does-it-affect-infra) - [What does it cost per million output tokens to serve a 70B model on eight H100s?](https://aiinfrainterviews.com/q/cost-per-million-tokens-on-8-h100s) - [A training run hangs every few hours with no error, and the GPUs sit idle until the timeout fires. Find the cause.](https://aiinfrainterviews.com/q/the-training-run-hangs-every-few-hours-find-it) - [New nodes arrive with no software. Walk me through bring-up, and say why the order matters.](https://aiinfrainterviews.com/q/what-is-the-bring-up-order-and-why) - [When does speculative decoding speed up serving, and when does it break even or hurt?](https://aiinfrainterviews.com/q/speculative-decoding-when-it-helps-and-when-it-breaks-even) - [Here is a Kubernetes GPU node. Pods requesting nvidia.com/gpu stay Pending. Fix it in front of me and narrate what you check.](https://aiinfrainterviews.com/q/fix-this-broken-kubernetes-gpu-node) - [Design a serverless GPU platform: a customer deploys a function with a model and pays per second. Where does the cold start budget go?](https://aiinfrainterviews.com/q/design-a-serverless-gpu-platform) - [You are handed a 40 GB kernel trace. Write the parser that turns it into per-instruction access statistics without running out of memory.](https://aiinfrainterviews.com/q/parse-a-kernel-trace-and-classify-access-patterns) - [Explain FlashAttention. Why is it called IO-aware, and what does it actually save?](https://aiinfrainterviews.com/q/explain-flashattention-and-why-it-is-io-aware) - [At 16,384 GPUs something fails every three hours. How often should you checkpoint, and what goodput does that leave?](https://aiinfrainterviews.com/q/mtbf-math-at-16k-gpus) - [Design a serverless GPU platform where a function that loads a 7B model cold-starts in under a second. Where does every second go today?](https://aiinfrainterviews.com/q/serverless-gpu-platform-sub-second-cold-starts) - [When does splitting prefill and decode onto separate GPU pools pay for itself, and what does the KV transfer cost?](https://aiinfrainterviews.com/q/disaggregated-prefill-decode-when-it-pays) - [The GPUs are idle between steps and the profiler says the data loader. Find the actual constraint and fix it.](https://aiinfrainterviews.com/q/the-dataloader-is-starving-the-gpus-fix-it) - [You have one GPU and a synchronous API that receives 100 documents at once. Design the batching, and show the latency math.](https://aiinfrainterviews.com/q/design-batching-for-a-single-gpu-100-inputs-synchronous) - [Size an inference fleet for a 70B model serving 1,000 concurrent users](https://aiinfrainterviews.com/q/size-an-inference-fleet-for-1000-concurrent-users) - [One fleet: training that wants every idle GPU, and inference with a p99 SLO. Separate pools, or one pool with preemption? Show the numbers.](https://aiinfrainterviews.com/q/multi-tenancy-mixed-training-and-latency-sensitive-inference) - [You have trained on GPUs. What transfers to training on TPUs, and what do you have to relearn?](https://aiinfrainterviews.com/q/tpu-vs-gpu-for-training-what-transfers) - [Your p99 TTFT tripled last night and p50 did not move. Walk me through how you find the cause.](https://aiinfrainterviews.com/q/p99-latency-spiked-p50-flat-debug-it) - [You have 16,384 H100s and a 405B dense model. Choose the parallelism layout and justify the order of the axes.](https://aiinfrainterviews.com/q/choose-a-3d-parallel-layout-for-405b-on-16k-h100s) - [Your training run delivers only 60% of the throughput you projected. How do you find out whether it is compute, memory, network or I/O?](https://aiinfrainterviews.com/q/your-training-run-is-slow-compute-memory-network-or-io) - [Design an autoscaler for GPU inference replicas that reacts to load without thrashing.](https://aiinfrainterviews.com/q/autoscale-gpu-replicas-on-queue-depth-without-thrashing) - [Should we buy or rent 1,000 H100s for the next two years?](https://aiinfrainterviews.com/q/buy-vs-rent-1000-gpus-for-two-years) - [A take-home gives you a working layernorm kernel at a tenth of memory bandwidth. Make it fast and justify every change.](https://aiinfrainterviews.com/q/optimize-this-layernorm-kernel-8x-take-home) - [Design the complete network for a 1,024-GPU cluster: compute fabric, storage, management. What are the counts and where does the money go?](https://aiinfrainterviews.com/q/design-the-network-for-a-1000-gpu-cluster) - [A GPU cluster has four separate networks. Name them and say what each one carries.](https://aiinfrainterviews.com/q/explain-the-four-networks-in-a-gpu-cluster) - [Design the API for a GPU job scheduler in 45 minutes. What are the resources, states and semantics?](https://aiinfrainterviews.com/q/design-an-api-for-a-job-scheduler-in-45-minutes) - [A new GPU generation is arriving. Plan the migration of a live 2,048-GPU cluster.](https://aiinfrainterviews.com/q/migrate-a-live-cluster-to-a-new-gpu-generation) - [Plan a 10-trillion-token pre-training run end to end: compute, fleet, layout, data, checkpoints and a schedule with a failure budget.](https://aiinfrainterviews.com/q/plan-a-10-trillion-token-run-end-to-end) - [Design an inference platform for 10,000 requests per second on a 70B model. Size it and name the SLOs.](https://aiinfrainterviews.com/q/design-an-inference-platform-at-10k-requests-per-second) - [Design a deployment that serves a trillion-parameter model at a million tokens of context with usable latency.](https://aiinfrainterviews.com/q/design-a-million-token-low-latency-deployment) - [A vendor claims 10,000 tokens per second per GPU. Sanity-check it.](https://aiinfrainterviews.com/q/sanity-check-a-claim-of-10000-tokens-per-second-per-gpu) - [Your fleet is replacing one percent of its GPUs every month. Is that normal, and how would you find out?](https://aiinfrainterviews.com/q/your-fleet-loses-1-percent-of-gpus-a-month-is-that-normal) - [A multi-GPU training job hangs at step 400 with every GPU at 100 percent utilization. Debug it.](https://aiinfrainterviews.com/q/debug-this-deadlock-in-a-multi-gpu-training-script) - [Where do you think AI infrastructure is going over the next five years?](https://aiinfrainterviews.com/q/where-is-ai-infrastructure-going-in-five-years) - [Design a training cluster for a one-trillion-parameter MoE. Size it, choose the parallel layout, and map it onto the fabric.](https://aiinfrainterviews.com/q/design-a-training-cluster-for-a-1t-moe) - [An entire rack stops responding at 2 a.m. Walk me through the first thirty minutes.](https://aiinfrainterviews.com/q/an-entire-rack-goes-dark) - [You must serve a frontier open-weights model on non-NVIDIA accelerators. Plan it.](https://aiinfrainterviews.com/q/run-an-open-weights-model-on-non-nvidia-hardware) ## Core concepts (free, full explanations are public and citable) - [GPU Execution Model](https://aiinfrainterviews.com/concepts/gpu-execution-model) - [Accelerator Selection: H100 to B300 and RTX PRO 6000](https://aiinfrainterviews.com/concepts/accelerator-selection) - [CUDA Programming Model](https://aiinfrainterviews.com/concepts/cuda-programming-model) - [Data Parallelism and DDP](https://aiinfrainterviews.com/concepts/data-parallelism-and-ddp) - [Prefill vs Decode](https://aiinfrainterviews.com/concepts/prefill-vs-decode) - [Open-Weights Models of 2026](https://aiinfrainterviews.com/concepts/open-weights-models-2026) - [Model Memory Footprint](https://aiinfrainterviews.com/concepts/model-memory-footprint) - [NCCL and Collective Algorithms](https://aiinfrainterviews.com/concepts/nccl-and-collective-algorithms) - [Kubernetes GPU Scheduling](https://aiinfrainterviews.com/concepts/kubernetes-gpu-scheduling) - [GPU Failure Modes and XID Errors](https://aiinfrainterviews.com/concepts/gpu-failure-modes-and-xid-errors) - [Inference Platform Architecture](https://aiinfrainterviews.com/concepts/inference-platform-architecture) - [The GPU Credit Scheduler Pattern](https://aiinfrainterviews.com/concepts/gpu-credit-scheduler) - [The Reliability Pushback Story](https://aiinfrainterviews.com/concepts/reliability-pushback-story) - [GPU Memory Hierarchy](https://aiinfrainterviews.com/concepts/gpu-memory-hierarchy) - [SXM, PCIe and Rack-Scale Form Factors](https://aiinfrainterviews.com/concepts/sxm-pcie-and-rack-scale-form-factors) - [The KV Cache](https://aiinfrainterviews.com/concepts/kv-cache) - [Reading config.json to Size a Model You Have Never Run](https://aiinfrainterviews.com/concepts/reading-config-json) - [KV Cache Sizing](https://aiinfrainterviews.com/concepts/kv-cache-sizing) - [NVLink Domains and the NVL72 Rack](https://aiinfrainterviews.com/concepts/nvlink-domains-and-the-nvl72-rack) - [Multi-Head Latent Attention and Sparse Indexers](https://aiinfrainterviews.com/concepts/mla-and-sparse-indexers) - [Training FLOPs: 6ND](https://aiinfrainterviews.com/concepts/training-flops-6nd) - [Roofline Model](https://aiinfrainterviews.com/concepts/roofline-model) - [Scale-Out Fabric Choice: InfiniBand XDR vs Spectrum-X](https://aiinfrainterviews.com/concepts/scale-out-fabric-choice) - [vLLM Server Arguments That Matter](https://aiinfrainterviews.com/concepts/vllm-server-arguments) - [Cables, Transceivers and the Optics Power Budget](https://aiinfrainterviews.com/concepts/cables-transceivers-and-the-optics-power-budget) - [Kernel Fusion](https://aiinfrainterviews.com/concepts/kernel-fusion) - [SGLang Server Arguments That Matter](https://aiinfrainterviews.com/concepts/sglang-server-arguments) - [Safety and Mission Rounds at the Labs](https://aiinfrainterviews.com/concepts/safety-and-mission-rounds) - [Rack Power Delivery and Busways](https://aiinfrainterviews.com/concepts/rack-power-delivery) - [Expert Parallel and All-to-All Backends](https://aiinfrainterviews.com/concepts/expert-parallel-and-all-to-all) - [Slurm vs Kubernetes](https://aiinfrainterviews.com/concepts/slurm-vs-kubernetes) - [Direct-to-Chip Liquid Cooling and CDUs](https://aiinfrainterviews.com/concepts/liquid-cooling-and-cdus) - [Collective Communication Primitives](https://aiinfrainterviews.com/concepts/collective-communication) - [Weight Formats: FP8 Blocks, MXFP4 and AWQ](https://aiinfrainterviews.com/concepts/weight-formats-fp8-mxfp4-awq) - [Training Uptime and Interruption Statistics](https://aiinfrainterviews.com/concepts/training-interruption-statistics) - [The Bill of Materials for a Training Cluster](https://aiinfrainterviews.com/concepts/cluster-bill-of-materials) - [Multi-Node Serving Topologies](https://aiinfrainterviews.com/concepts/multi-node-serving-topologies) - [Deciding Under Incomplete Information](https://aiinfrainterviews.com/concepts/deciding-under-incomplete-information) - [Cluster Bring-Up: Firmware, Drivers and the Stack](https://aiinfrainterviews.com/concepts/cluster-bring-up) - [Serving Benchmarks That Do Not Lie](https://aiinfrainterviews.com/concepts/serving-benchmarks) - [The Practical Coding Screen Playbook](https://aiinfrainterviews.com/concepts/practical-coding-screen-playbook) - [Escalation That Works](https://aiinfrainterviews.com/concepts/escalation-that-works) - [Burn-In and Acceptance Testing](https://aiinfrainterviews.com/concepts/burn-in-and-acceptance-testing) - [Capacity Planning for Open-Weights Fleets](https://aiinfrainterviews.com/concepts/open-weights-capacity-planning) - [Debugging a Slow All-Reduce](https://aiinfrainterviews.com/concepts/debugging-a-slow-all-reduce) - [The AI Infra Design Round Playbook](https://aiinfrainterviews.com/concepts/design-round-playbook) - [Cache-Friendly Data Structures](https://aiinfrainterviews.com/concepts/cache-friendly-data-structures) - [Mentoring and Growing Engineers](https://aiinfrainterviews.com/concepts/mentoring-and-growing-engineers) - [Colocation, Power Contracts and Site Selection](https://aiinfrainterviews.com/concepts/colocation-and-power-contracts) - [Model Onboarding: From Hugging Face to Production](https://aiinfrainterviews.com/concepts/model-onboarding) - [Dataset Lifecycle: Ingest, Shard and Retain](https://aiinfrainterviews.com/concepts/dataset-lifecycle) - [Node Lifecycle: Drain, Upgrade and Return](https://aiinfrainterviews.com/concepts/node-lifecycle) - [Alert Design and On-Call Load](https://aiinfrainterviews.com/concepts/alert-design-and-on-call-load) - [Control Plane and API Design for GPU Platforms](https://aiinfrainterviews.com/concepts/control-plane-and-api-design) - [Consistent Hashing and Sharding](https://aiinfrainterviews.com/concepts/consistent-hashing-and-sharding) - [Talking About Cost and Capacity with Leadership](https://aiinfrainterviews.com/concepts/cost-and-capacity-conversations) - [Latency Metrics: TTFT, TPOT and Goodput](https://aiinfrainterviews.com/concepts/latency-metrics-ttft-tpot-goodput) - [Multi-Region Serving and Failover](https://aiinfrainterviews.com/concepts/multi-region-serving-and-failover) ## Courses - [From Model to Service](https://aiinfrainterviews.com/courses/from-model-to-service): beginner, 15 lessons - [Foundations of AI Infrastructure](https://aiinfrainterviews.com/courses/ai-infra-foundations): beginner, 15 lessons - [Inference Engineering](https://aiinfrainterviews.com/courses/inference-engineering): advanced, 26 lessons - [Training at Scale](https://aiinfrainterviews.com/courses/training-at-scale): advanced, 12 lessons - [Agent Post-Training Systems](https://aiinfrainterviews.com/courses/agent-post-training): advanced, 6 lessons - [Fleet and Reliability](https://aiinfrainterviews.com/courses/fleet-and-reliability): advanced, 15 lessons - [Kernels and the Machine](https://aiinfrainterviews.com/courses/kernels-and-the-machine): advanced, 22 lessons ## Course lessons (free, long-form, structured) - [Trace a request before choosing a platform](https://aiinfrainterviews.com/courses/from-model-to-service/service-boundaries/trace-a-request-before-choosing-a-platform) - [Measure useful answers before renting more compute](https://aiinfrainterviews.com/courses/from-model-to-service/quality-and-retrieval/measure-useful-answers) - [Read the client clock before tuning the server](https://aiinfrainterviews.com/courses/from-model-to-service/serve-under-load/read-the-client-clock) - [Start with bytes when sizing low-batch decode](https://aiinfrainterviews.com/courses/ai-infra-foundations/the-machine/a-gpu-is-a-bandwidth-machine) - [Follow operands from memory to execution units](https://aiinfrainterviews.com/courses/ai-infra-foundations/the-machine/tensor-cores-are-not-memory) - [Find a performance limit before choosing a fix](https://aiinfrainterviews.com/courses/ai-infra-foundations/the-machine/bound-before-anything-else) - [A request becomes tokens, and tokens become two different workloads](https://aiinfrainterviews.com/courses/ai-infra-foundations/the-request/a-request-becomes-two-workloads) - [Weight reuse explains why prefill and decode need different tuning](https://aiinfrainterviews.com/courses/ai-infra-foundations/the-request/prefill-is-a-matmul-decode-is-a-memory-read) - [Follow two requests through one loaded model](https://aiinfrainterviews.com/courses/inference-engineering/the-engine/an-engine-is-a-scheduler-and-an-allocator) - [A serving benchmark needs a workload and an arrival model](https://aiinfrainterviews.com/courses/inference-engineering/the-engine/benchmarks-lie-without-real-lengths) - [A training step follows a critical path through compute, exchange and update](https://aiinfrainterviews.com/courses/training-at-scale/the-run/a-step-is-four-costs) - [Choose a training signal before choosing a trainer](https://aiinfrainterviews.com/courses/agent-post-training/the-training-signal/choose-a-signal-before-a-trainer) - [Allocated, active and placeable are different capacity measurements](https://aiinfrainterviews.com/courses/fleet-and-reliability/the-scheduler/ninety-percent-allocated-thirty-percent-used) - [A warp is the unit of execution, and every kernel bug starts there](https://aiinfrainterviews.com/courses/kernels-and-the-machine/the-execution-model/a-warp-is-the-unit-of-execution) ## Articles (free, in-depth) - [8 Ways to Reduce KV Cache Memory: What Each Actually Saves](https://aiinfrainterviews.com/blog/eight-ways-to-reduce-kv-cache-memory) - [Inkling 2 Mini Explained: Looped Inference and Memory Costs](https://aiinfrainterviews.com/blog/inkling-2-mini-looped-inference-explained) - [Karpathy’s 7 Repositories: A Practical AI Engineering Learning Path](https://aiinfrainterviews.com/blog/karpathy-repositories-ai-engineering-learning-path) - [Murmur ASR Explained: Faster Long-Audio Transcription](https://aiinfrainterviews.com/blog/murmur-asr-long-audio-inference) - [Learn LLM Training with MiniMind: A Code-Reading Guide](https://aiinfrainterviews.com/blog/minimind-llm-training-code-reading-guide) - [Unsloth Dynamic v3.1 GGUFs: Read the Benchmark Before You Deploy](https://aiinfrainterviews.com/blog/unsloth-dynamic-gguf-benchmarks-explained) - [Looped Transformer Training: Fewer Weights, More Computation](https://aiinfrainterviews.com/blog/looped-transformer-training-cost) - [AMD NPU Local LLM Inference: What to Verify Before Switching](https://aiinfrainterviews.com/blog/amd-npu-local-llm-inference) - [How LLM Architecture Changes Memory and Serving Decisions](https://aiinfrainterviews.com/blog/llm-architecture-serving-decisions) - [How to Evaluate AI SRE Agents: Evidence Before Accuracy](https://aiinfrainterviews.com/blog/evaluate-ai-sre-agents) - [LLM Inference from Scratch: What to Test Before You Optimize](https://aiinfrainterviews.com/blog/llm-inference-from-scratch-correctness) - [TPU Model Co-Design: Shapes, Expert Traffic and Training Budgets](https://aiinfrainterviews.com/blog/tpu-model-codesign) - [TorchTPU Migration Guide: Native PyTorch on Google TPUs](https://aiinfrainterviews.com/blog/torchtpu-pytorch-migration-guide) - [TPU 8i Max vs 8tx vs 8t vs 8i: What Changed?](https://aiinfrainterviews.com/blog/tpu-8i-max-vs-8tx-vs-8t-vs-8i) - [TPU Agent Suite: Model Porting, Profiling and Evidence](https://aiinfrainterviews.com/blog/tpu-agent-suite-model-porting) - [TPU Generations Compared: v4, v5e, v5p, Trillium and Ironwood](https://aiinfrainterviews.com/blog/tpu-generations-v4-v5e-v5p-v6e-ironwood) - [TPU Sync Explained: KV Cache, Memory Tiers and Transfers](https://aiinfrainterviews.com/blog/tpu-sync-kv-cache-transfer) - [XLA Serving Engine Explained: Python Export, C++ Inference](https://aiinfrainterviews.com/blog/xla-serving-engine-explained) - [Confidential GPU Inference: Encryption, Attestation and Air-Gapped Deployment](https://aiinfrainterviews.com/blog/confidential-gpu-inference-air-gapped-deployments) - [FP8 vs INT8 vs AWQ in vLLM: Accuracy and Speed, Measured on One GPU](https://aiinfrainterviews.com/blog/vllm-fp8-int8-awq-quantization-accuracy) - [vLLM KV Cache CPU Offloading: When a Host Tier Pays, With Measurements](https://aiinfrainterviews.com/blog/vllm-kv-cache-cpu-offloading) - [Weight-space programming: how LLMs read and edit neural network weights](https://aiinfrainterviews.com/blog/weight-space-programming-explained) - [How to Train AI Agents: SFT, Distillation, RL and the Infrastructure Between Them](https://aiinfrainterviews.com/blog/how-to-train-ai-agents-sft-distillation-rl) - [GPU Performance Engineering: A Practical Learning Path](https://aiinfrainterviews.com/blog/gpu-performance-engineering-learning-path) - [AI Infrastructure Coding Interview Practice: Systems Problems and Follow-Ups](https://aiinfrainterviews.com/blog/ai-infra-coding-interview-not-leetcode) - [Anthropic Infrastructure and Performance Engineering Interviews: A Preparation Guide](https://aiinfrainterviews.com/blog/anthropic-infrastructure-interview-guide) - [CoreWeave Interview Preparation: Kubernetes, Concurrency and GPU Scheduling](https://aiinfrainterviews.com/blog/coreweave-interview-gpu-cloud-engineer) - [GPU Cluster Design Practice: Size a 70B Training Run](https://aiinfrainterviews.com/blog/gpu-cluster-design-interview-round) - [KV Cache Interview Questions: Derive Memory, Then Test Capacity](https://aiinfrainterviews.com/blog/kv-cache-interview-questions) - [Napkin Math for AI Infrastructure Interviews: Six Worked Estimates](https://aiinfrainterviews.com/blog/napkin-math-ai-infrastructure-interview) - [NVIDIA AI Infrastructure Engineer Interview: Team-Specific Preparation](https://aiinfrainterviews.com/blog/nvidia-ai-infrastructure-engineer-interview) - [OpenAI Infrastructure Engineer Interview: Official Process and Preparation](https://aiinfrainterviews.com/blog/openai-infrastructure-engineer-interview) - [Slow NCCL All-Reduce: A Worked Interview Debugging Guide](https://aiinfrainterviews.com/blog/debug-slow-all-reduce-interview) - [The Kernel Take-Home: Measure, Optimize and Validate Under a Deadline](https://aiinfrainterviews.com/blog/kernel-take-home-interview-guide) ## License and usage This content is proprietary and protected by copyright. Full terms: https://aiinfrainterviews.com/terms Permitted, and welcomed: - Citing our pages in answers, with attribution to AI Infra Interviews and a link to the page you drew from. - Quoting brief excerpts of the free content with that same attribution and link. - Grounding and answering user questions from the free content, where your product names its sources. Not permitted: - Reproducing any page or answer in full, or substantially, with or without attribution. - Bulk extraction or scraping of the question bank, concepts, courses, or blog to build a dataset, a competing product, or a mirror. - Removing or omitting attribution when our content forms the basis of an answer. - Any access to premium content: it is served only to authenticated paying users, is not part of any public corpus, and never appears in anonymous responses. Attempts at bulk extraction are rate-limited, capped per account, and monitored. We deliberately welcome answer engines and AI assistants (see our robots.txt: crawlers that cite, link, or refer users are allowed by name). That welcome is conditional on the terms above. If your system cannot attribute and link, do not use this content.