Traffic doubles overnight and you can't get more GPU capacity for a week. What are your graceful-degradation options?
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
The principle: degrade quality and features before availability, and degrade the least valuable traffic first. Have the ladder designed, flagged, and load-tested before the incident.
Full worked answer
The principle: degrade quality and features before availability, and degrade the least valuable traffic first. Have the ladder designed, flagged, and load-tested before the incident.
Roughly in order of user pain:
- Shift work off-peak/offline: anything non-interactive (enrichment, evals, digests) → batch API or paused. Often recovers 20-40% of capacity instantly because background loads hide inside "production" traffic.
- Maximise cache aggression: raise prompt-cache TTLs, precompute popular responses, cautiously loosen semantic-cache thresholds for FAQ-like traffic (watching hit precision).
- Shrink tokens per request: cap
max_tokensharder, trim history windows and RAG chunk counts, reduce reasoning-effort settings, disable verbose modes. Cuts both compute and KV footprint - recall each resident token is KV memory, so context trimming directly raises concurrency. - Model downshift: route mid-difficulty traffic to a smaller/cheaper model (already warm, already eval'd - this is why cascades should exist before you need them). Users get slightly worse answers; they still get answers.
- Feature shedding: turn off LLM-powered nice-to-haves (suggestions, auto-summaries, speculative prefetch) via kill switches.
- Prioritised admission control: interactive > background; paying tiers > free; within tier, queue with honest UX (position/ETA) rather than timeouts. Explicit load shedding of lowest-priority requests with a clear error beats everyone timing out.
- Burst overflow to an API provider (if policy allows): the rented warm pool. Costs money, saves the SLO.
- Last resort: waitlist/static responses for the lowest tier - an honest "we're at capacity" preserves trust better than a hung spinner.
Two operational notes that distinguish senior answers: every rung needs a feature flag and a rollback, exercised in game days, because inventing degradation during an incident fails; and instrument the degraded modes separately - you need to know how much capacity each rung actually recovered, and product needs to consent to the quality ladder in advance, not at 3 a.m.
What a good answer covers
- The principle: degrade quality and features before availability, and degrade the least valuable traffic first
- Have the ladder designed, flagged, and load-tested before the incident
- Shift work off-peak/offline: anything non-interactive (enrichment, evals, digests) → batch API or paused
- Maximise cache aggression
- Shrink tokens per request
Key terms: Shift work off-peak/offline · Maximise cache aggression · Shrink tokens per request · Model downshift · Feature shedding · Prioritised admission control · Last resort · feature flag and a rollback
Interviewer follow-ups to expect
Which of these change KV-memory pressure vs compute pressure?
How do you decide the priority order between free-tier chat and paid-tier background jobs?
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