CCDV-F Exam Question 26

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?
  • CCDV-F Exam Question 27

    Your Claude agent's hooks are currently triggered for every action, which slows down the agent significantly even when actions pose no risk. The team wants to scope hooks more carefully.
    How would you scope the hooks?
  • CCDV-F Exam Question 28

    The Anthropic API deprecated a request parameter that your Claude application uses in approximately 40 places across the codebase. The deprecation notice gives a six-month window before the parameter is removed and recommends a replacement parameter with slightly different semantics.
    You would respond to the deprecation by...
  • CCDV-F Exam Question 29

    You are building an agent that needs to call several internal APIs and a database in a structured, repeatable way. Your team has decided to use the Claude Agent SDK rather than build a custom loop. You are setting up the agent's tool definitions and execution loop.
    How would you set up the tools and execution loop?
  • CCDV-F Exam Question 30

    The team is debating whether to build a new capability as a custom tool or to use an existing built-in tool that nearly covers the use case but lacks one specific feature.
    How would you decide?