Costs jumped after a prompt change that only added a little more context. What would you check first?
Instruction: Explain how you would investigate a prompt-related cost regression.
Context: Tests how the candidate diagnoses the problem, chooses the safest next step, and reasons through recovery. Explain how you would investigate a prompt-related cost regression.
Updated
Official answer available
Read the opening below, then unlock the full answer and practical guidance.
I would check whether the added context changed prompt length only slightly on average but pushed enough requests across a threshold where output length, routing behavior, or retrieval size expanded much more than expected...
Your preparation path
Work through these questions in order. Read the answer aloud, then explain it in your own words.
1. Start with the foundations
Build the vocabulary and explain the core decisions.
2. Apply it to a real workflow
Practice diagnosis, validation, and everyday tradeoffs.
- What signals matter most when optimizing cost without hiding quality loss? Free sample
- Traffic spikes create queueing even though the model service itself is healthy. How would you investigate? Member answer
- The product is fast on short prompts and unstable on long tool-using requests. What would you inspect? Member answer
3. Prepare for senior discussions
Explain failure boundaries, recovery, and production choices.
Related Questions
-
easy
-
easy
-
easy
-
easy
-
easy
-
easy