Task Decomposition Strategies
Claude Certified Architect – Foundations (CCAR-F) exam practice questions · 10 flashcards
Question
Prompt chaining vs dynamic decomposition?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Task Decomposition Strategies practice questions and answers
- Prompt chaining vs dynamic decomposition?Chaining: fixed sequential steps for predictable work. Dynamic: subtasks generated from what's discovered.
- When is fixed prompt chaining best?For predictable multi-aspect work like reviewing each file then integrating findings.
- When is dynamic adaptive decomposition best?Open-ended investigation where next steps depend on intermediate findings.
- A 14-file code review gives inconsistent depth and contradictory feedback. Fix?Split into per-file local passes plus a separate cross-file integration pass.
- Why does reviewing many files in one pass fail?Attention dilutes across a large context: shallow comments, missed bugs, inconsistencies.
- How do you add tests to an unfamiliar legacy codebase?Map structure first, identify high-impact areas, then create a prioritized plan that adapts as you learn.
- What is the cross-file integration pass for?Catching issues spanning files: data flow, interfaces, contracts.
- Why decompose instead of a single giant prompt?Focused steps give more consistent, deeper, verifiable output.
- What's a sign decomposition is too coarse?Shallow or inconsistent output across parts of the task.
- What's a sign decomposition is too fine?Excessive overhead, lost context between steps, and fragmented results.