Weekend Sale Special Limited Time 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: CFsave75

Anthropic Claude Certified Architect – Foundations CCAR-F Question # 27 Topic 3 Discussion

Anthropic Claude Certified Architect – Foundations CCAR-F Question # 27 Topic 3 Discussion

CCAR-F Exam Topic 3 Question 27 Discussion:
Question #: 27
Topic #: 3

You are building developer productivity tools using the Claude Agent SDK. The agent helps engineers explore unfamiliar codebases, understand legacy systems, generate boilerplate code, and automate repetitive tasks. It uses the built-in tools (Read, Write, Bash, Grep, Glob) and integrates with Model Context Protocol (MCP) servers.

A developer asks the agent to investigate why a specific API endpoint intermittently returns 500 errors. The codebase has 200+ files and the developer doesn’t know which components are involved. The agent must trace the error through routing, middleware, business logic, and database layers.

What task decomposition approach would be most effective?


A.

Have the agent first create a comprehensive plan mapping all code paths through the endpoint before beginning any file exploration or code reading.


B.

Define a fixed sequence of investigation steps upfront—grep for error patterns, then read error handlers, then check database queries, then examine middleware—executing each step regardless of intermediate findings.


C.

Run parallel worker agents that simultaneously investigate all four layers, then synthesize their findings to identify where the error originates.


D.

Have the agent dynamically generate investigation subtasks based on what it discovers at each step, adapting its exploration plan as new information about the error path emerges.


Get Premium CCAR-F Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.