Interview practice
Set a timer, answer aloud, then open the scoring notes.
Coding · 35 min
Build a cancellable bounded worker pool. A worker raises while two callers disconnect. How does shutdown finish?
Scoring notes
Test full queue, empty queue, exception and disconnect. Bound both waiting and active work. Pair each consumed item with task_done and each reservation with cleanup.
Coding · 25 min
Implement a per-tenant token bucket with an injectable clock. Walk through a burst after ten idle seconds.
Scoring notes
Use monotonic elapsed time, cap at capacity, debit atomically and test boundary timestamps. Explain eviction and the limits of per-process enforcement.
Capacity · 10 min
Eight replicas each complete 12 requests/s at your chosen SLO. Can the pool handle 80 requests/s after a replica fails?
Scoring notes
Seven replicas give 84 requests/s under the measured mix, about 95% utilization. Test tail latency, uneven routing and startup delay before calling that headroom sufficient.
System design · 45 min
Serve two model sizes on mixed GPUs across two zones. Long prompts triple at noon. How does a request reach a healthy worker?
Scoring notes
Quantify arrival and token distributions. Budget weights and KV, filter by fit, discuss topology and cache locality, assign ownership to the planner, and walk through a lost zone.
Incident · 15 min
First-token latency doubled after a rollout while decode speed stayed flat. What do you inspect first?
Scoring notes
Split queue wait from prefill time. Compare prompt mix, ready replica count, cache hit rate and per-version distributions. State a rollback trigger and verify recovery.
Ownership · 10 min
Tell one inference incident story and one shipping decision. What did you personally decide, and what would change your mind?
Scoring notes
Use a private timeline. State the constraint, alternatives, your contribution, observed outcome and missing evidence. Give an honest boundary around fleet scale and measurements.
December 10 exit check
Score each item 0 (blocked), 1 (needed a prompt), or 2 (independent with evidence). Practice target: ≥15/18, with a 2 on coding and failure recovery. Repeat any missed item on a fresh example.
- Trace an HTTP request to GPU and back.
- Budget weights and KV cache with units.
- Explain prefill, decode and batching.
- Place two models on heterogeneous GPUs.
- Explain scheduling, readiness and recovery.
- Derive an autoscaler and handle cold starts.
- Demonstrate a worker dying mid-stream.
- Code a concurrent scheduler from scratch.
- Defend two private project decisions with evidence.