Question 380
The Claude application case reports: A retrieval pipeline fills the entire context window and leaves no room for model output. Select TWO: a safe corrective action and an independent acceptance test for this failure. (Select TWO.)
Explanation
Correct Answers
This corrective action targets A retrieval pipeline fills the entire context window and leaves no room for model output by applying: Estimate context and output tokens using supported token counting rather than equating them to bytes or characters. It addresses: Incorrect token arithmetic causes truncated requests, cost surprises, and false assumptions about language length.
This evidence independently verifies the intervention for A retrieval pipeline fills the entire context window and leaves no room for model output: A test set of multilingual inputs is token-counted and remains within a documented request and cost budget.
Incorrect Answers
Sampling parameters and deterministic checks: Using temperature settings as a correctness guarantee can allow unsupported answers into automated business workflows. That mechanism alone cannot establish Tokens versus characters and budget estimation for this question.
Context windows and message compaction: Unbounded conversation history can exceed context limits or discard vital constraints during compression. Here the decisive check is Tokens versus characters and budget estimation, not that separate capability.
Output length and reasoning budget management: An insufficient max_tokens setting can cut off machine-readable results, while excessive budgets waste time and money. The observed issue still requires Tokens versus characters and budget estimation; the proposed alternative tests another control.