CCAR-F practice › Agentic Architecture & Orchestration · Question 22 of 105
Agentic Architecture & Orchestration
An engineer asks an agent to "add comprehensive tests to this legacy codebase," which has 300 modules, almost no tests, and poorly documented dependencies. Which decomposition approach is most effective?
Show answer and explanation
Answer: A — Map structure and coverage, find high-impact areas, then build a prioritized plan that adapts as you go
Open-ended tasks call for dynamic decomposition: map the structure first, identify high-impact areas, then create a prioritized plan that adapts as dependencies are discovered. Alphabetical order (b) ignores impact, a fixed up-front list (c) can't respond to what's discovered, and a single pass (d) dilutes attention across the whole codebase.
Keep going
More Agentic Architecture & Orchestration questions
- Which two tasks are better suited to dynamic adaptive decomposition than to a fixed…
- A developer spends a day investigating a memory leak with Claude Code and wants to…
- After an agent has analyzed a payments service, the team wants to compare two…
- Two days into an investigation session, a large refactor is merged that moves and…
- A developer resumes a named session in which the agent had analyzed an authentication…