Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 12 of 44
Free Preview · 44 of 145 · questions 1–44 of 145 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
- Correct answer : A — Introduce context compaction that summarizes older turns and superseded tool results before the context window becomes full. A . Correct. Repeated redundant tool calls and contradictory answers indicate that the model's reasoning is being degraded by an overlong context. Context compaction summarizes older turns and superseded tool results, preserving essential facts while removing noise, which restores reliable behavior for long sessions. B . Incorrect. Increasing the maximum token limit for model responses only makes each response longer; it does not resolve the underlying problem of an overly long context collapsing reasoning. In fact, longer responses add more tokens to the conversation history, which can further dilute the model's ability to recall earlier facts and increase the chance of contradictions. C . Incorrect. Switching to a higher-latency reasoning endpoint provides more compute time per turn but does not mitigate the real issue: the agent's context has become overloaded with accumulated history. The repeated tool calls and contradictions stem from a diluted context, not insufficient processing time, so this intervention would not restore reliable behavior. D . Incorrect. Adding more few-shot examples to the system prompt directly increases the token count in an already strained context, which is likely to exacerbate the degradation. This intervention does not remove accumulated noise and may even intensify contradictions and redundant calls by further diluting the model's attention.