CCAR-P Advanced Agentic Architecture Practice Question
An architect needs to build an agent that handles complex, multi-step data migrations where each step depends on the output of the previous one. Which approach is most robust for ensuring the agent doesn't lose track of the long-term goal during execution?
⚠ Common exam trap
Candidates often suggest a simple ReAct or sequential chain. They fail to realize that complex, multi-dependency tasks require an explicit planning phase to prevent the agent from drifting off-target mid-execution.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Plan-and-Execute Pattern
For multi-dependency tasks, a Plan-and-Execute pattern is superior because it separates the high-level strategy from the low-level tool interactions. By maintaining an explicit plan that is updated after each step, the agent can track its progress against the original goal and adjust its future actions based on the results of completed tasks.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Reactive Tool Calling (ReAct)
Why it's wrong here
The ReAct pattern focuses on the immediate next step based on the current observation. While flexible, it can easily lose the 'big picture' in long migrations with many dependencies, leading the agent to wander off-task or fail to recognize that a previous failure has invalidated the entire migration plan.
- ✗
Zero-shot prompting with all tools
Why it's wrong here
Asking a model to perform a complex migration in a single turn without a structured loop is highly likely to result in failure. The model cannot anticipate the output of intermediate steps, leading to hallucinations about data states or the generation of invalid commands that haven't been tested against real-world results.
- ✗
Few-shot prompting with migration examples
Why it's wrong here
Few-shot examples help with formatting and style but do not provide the structural state management needed for complex, multi-dependency workflows. Examples cannot cover every edge case in a migration, and the agent still lacks a mechanism to track its current progress through a long-running, stateful sequence of operations.
- ✗
Parallel Sub-tasking
Why it's wrong here
Parallel execution is inappropriate for tasks with strict sequential dependencies. If step B requires the output of step A, running them simultaneously will cause step B to fail. This architecture is designed for independent workloads and would break the logic required for a coherent, step-by-step data migration process.
- ✓
Plan-and-Execute Pattern
Why this is correct
This pattern involves an initial planning phase to decompose the migration into discrete steps, followed by an execution loop that references and updates the plan. This separation of concerns ensures the agent maintains a stable roadmap, allowing it to verify each dependency before proceeding to the next migration phase.
About these practice questions
One of 262 original CCAR-P practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Anthropic exam blueprint
This CCAR-P practice question is part of Courseiva's free Anthropic certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CCAR-P exam.