CCDV-F practice question 8 of 10
Your Claude application runs long agentic workflows where the agent makes many tool calls, and the conversation history grows quickly. After about 20 tool calls, you notice the agent's responses become less focused and sometimes ignore earlier task constraints. How would you address this?
Full set: 95 questionsIn long-running agentic workflows, accumulating tool calls and their outputs can lead to context bloat, causing the model to lose focus, degrade in reasoning quality, or forget initial constraints. Anthropic recommends context management techniques such as pruning irrelevant tool outputs, summarizing past turns, or compacting the history. This keeps the active task state visible and maintains a focused, efficient context window without exceeding limits or degrading performance.
A: Removing tool calling eliminates the agent's ability to interact with external systems, defeating the purpose of the workflow. C: Simply increasing the context window does not solve the degradation of focus (the "lost in the middle" effect) and increases costs and latency. D: Restarting and losing all task state prevents the agent from completing complex tasks that require memory of previous steps and context.
- Anthropic Official Documentation: "Prompt engineering", Managing long contexts and context windows.
- Anthropic Official Documentation: "Building effective agents", Memory and context management in agentic loops.
Keep practicing
Take the free CCDV-F practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CCDV-F practice questions
- Question 1Your Claude application is deployed to development, staging, and production environments.…
- Question 2You are building a Claude application that needs to deliver model output to end users as …
- Question 3A teammate has asked you to explain why your Claude agent's tools include detailed descri…
- Question 4The team is debating whether to build a new capability as a custom tool or to use an exis…
- Question 5Your application uses the Messages API to handle multi-turn conversations. Each new turn …
- Question 6A teammate has asked how to extend Claude Code with a custom Skill that the team can invo…
