Stage 13, Part 8 of 9 · p. 117, AI/ML Workload Orchestration

PART 8: INTERVIEW PREPARATION

34. Junior-Level Questions

QuestionExpected Answer
Why does default Kubernetes fail at AI?No gang scheduling, no topology awareness
What is gang scheduling?All-or-nothing pod placement
What is vLLM?High-throughput LLM inference engine
What is PagedAttention?Memory-efficient KV-cache management
What is continuous batching?Dynamic request batching

35. Mid-Level Questions

QuestionExpected Answer
Kueue vs Volcano?Kueue = admission; Volcano = full scheduler
What is a PodGroup?Group of pods scheduled together
How do you autoscale vLLM?KEDA with queue-depth metrics
What is KV-cache offloading?Tiered storage for KV-cache
What is model caching?Local NVMe caching for fast cold start

36. Senior-Level Questions

QuestionExpected Answer
How do you prevent training deadlocks?Gang scheduling with Volcano/KAI
How do you optimize cost per token?vLLM + continuous batching + KV-cache
What is cache-aware routing?Route requests to pods with warm cache
How do you handle cold starts?Model caching + warm pools
What is llm-d?Kubernetes-native distributed LLM inference

37. Staff/Principal Questions

QuestionExpected Answer
Design an end-to-end AI platform.Kueue + Volcano + vLLM + KEDA + model caching + llm-d
How do you get 73% cost reduction?vLLM migration (Stripe case study)
How do you scale AI inference to 1M RPS?Multi-region, cache-aware routing, warm pools
How do you handle multi-tenant GPU sharing?Kueue queues + KAI Scheduler + MIG
How do you migrate from default scheduler to KAI?Gradual, namespace by namespace

1:1 copy of the class Google Doc, code in code blocks.