Tell me about a time a prompt change broke production.
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
What they're probing: whether you've internalised that prompts are code - versioned, reviewed, tested, and rolled back like code - and they're checking for the war story that usually teaches this. Almost everyone learns it the hard way; the question is what process existed after.
Full worked answer with diagram
What they're probing: whether you've internalised that prompts are code - versioned, reviewed, tested, and rolled back like code - and they're checking for the war story that usually teaches this. Almost everyone learns it the hard way; the question is what process existed after.
Strong answer structure: the change and why it looked safe → what broke, including why it wasn't caught immediately (prompt regressions are often silent - no errors, no latency spike, just quality quietly cratering on some slice) → detection and rollback → the process that now exists: prompts in version control, eval suite as a merge gate, staged rollout, monitoring on quality signals.
Example sketch: "Someone added a well-intentioned instruction - 'be concise' - to fix verbose answers. It worked; answers got shorter. It also broke our downstream JSON parser about 4% of the time, because conciseness made the model occasionally drop optional fields, and it degraded multi-step answers where length was correctness. No exceptions, no alerts - we found it three days later via a support ticket spike. Rollback was instant because prompts lived in git behind a config flag; that part we'd done right. What we hadn't: the eval suite ran nightly, not on merge, and had thin coverage of structured-output cases. Afterward: evals became a required CI gate on any prompt diff, we added schema-validation assertions for every structured output, and prompt changes ship canary-first at 5% with a quality-metric comparison before full rollout. The cultural fix mattered most - prompt edits stopped being 'just copy changes' anyone could hotfix."
Pitfalls: revealing prompts live outside version control (or worse, edited live in a dashboard) with no embarrassment about it; "we test prompts manually before shipping" as the whole safety story; not grasping why prompt regressions evade normal monitoring; a story with no process change at the end.
Worth sketching. It shows exactly why ordinary monitoring never fired, which is the part interviewers want you to understand.
flowchart LR
A["Prompt edit:<br/>be concise"] --> B["Answers get shorter"]
B --> C["Optional JSON fields<br/>dropped, 4% of calls"]
B --> D["Multi-step answers<br/>lose correctness"]
C --> E{"Errors, latency<br/>or alerts move?"}
D --> E
E -->|"no, all green"| F["Silent for 3 days"]
F --> G["Support ticket spike"]
G --> H["Rollback: prompts<br/>live in git"]
What a good answer covers
- What they're probing: whether you've internalised that prompts are code - versioned, reviewed, tested,…
- Almost everyone learns it the hard way; the question is what process existed after
- Strong answer structure: the change and why it looked safe → what broke, including why it wasn't caught…
- Example sketch: "Someone added a well-intentioned instruction - 'be concise' - to fix verbose answers
- It also broke our downstream JSON parser about 4% of the time, because conciseness made the model…
Key terms: What they're probing · Strong answer structure · Example sketch · Pitfalls
In the glossary: Structured output
Interviewer follow-ups to expect
How do you handle a prompt that must change for a model upgrade and behaves differently on both?
Who's allowed to change prompts on your team, and what gates it?
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