Inference, Serving & Production·Question 42 of 76Advanced

What do you monitor in production LLM serving, and what pages someone at 3 a.m.?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

Four layers, each with distinct signals:

User-experience (SLO) layer: TTFT and ITL percentiles per feature and prompt-length bucket, request success rate, timeout rate, stream-abort rate, schema-valid output rate for structured endpoints. Measured at the gateway/edge, not just the engine.

Full worked answer

Four layers, each with distinct signals:

User-experience (SLO) layer: TTFT and ITL percentiles per feature and prompt-length bucket, request success rate, timeout rate, stream-abort rate, schema-valid output rate for structured endpoints. Measured at the gateway/edge, not just the engine.

Engine layer (vLLM et al. export these via Prometheus): queue depth and wait time, running/waiting sequence counts, batch size, KV-cache utilization, preemption/eviction counts, prefix-cache hit rate, tokens in/out per second. These are the leading indicators - KV utilization pegged plus rising preemptions predicts latency cliffs before users feel them.

Hardware layer: HBM usage, memory-bandwidth vs SM utilization (a memory-bound decode fleet showing "100% GPU util" is normal; the interesting question is which roof you're hitting), temperature/power throttling, ECC errors, NVLink/interconnect errors for TP groups, node health.

Cost & provider layer: tokens and $ per request/feature/tenant, cache hit rates (prompt + semantic), 429/5xx rates per provider, provider latency drift, budget burn anomalies.

Page at 3 a.m. (user-impacting, needs a human now): availability/error-rate SLO burn-rate alerts; sustained P99 TTFT/ITL breach; queue depth growing without bound (saturation/incident); replica crash-loop or OOM storm; provider hard-down with fallback also failing; security anomalies. Ticket for morning: cost anomalies, cache hit-rate regressions, single-replica degradation with headroom, gradual quality-signal drift. The 3 a.m. bar is "is user experience or data at risk and can a human act on it" - paging on cost or on raw GPU util is how teams burn out on-call.

Two practices worth naming: burn-rate alerting (alert on error-budget consumption speed, not instantaneous blips) and decomposition dashboards - when TTFT breaches, you want one screen separating queue wait vs prefill time vs provider time vs network, because the remediation for each is completely different.

What a good answer covers

  • User-experience (SLO) layer
  • Measured at the gateway/edge, not just the engine
  • Engine layer (vLLM et al
  • These are the leading indicators - KV utilization pegged plus rising preemptions predicts latency cliffs…
  • Hardware layer: HBM usage, memory-bandwidth vs SM utilization (a memory-bound decode fleet showing "100%…

Key terms: User-experience (SLO) layer · Engine layer · KV-cache utilization · preemption/eviction counts · Hardware layer · Cost & provider layer · Page at 3 a.m · Ticket for morning

Interviewer follow-ups to expect

  1. KV utilization is 95%, preemptions are climbing, but GPU "utilization" looks fine - what's happening and what do you do?

  2. What would you add for a multi-tenant platform?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep