Courseiva

CCAR-P Advanced Agentic Architecture Practice Question

An agentic system is struggling with 'context fragmentation' over long-running sessions. What is the most effective architectural solution?

⚠ Common exam trap

Test-takers might suggest increasing the model's max context window or clearing history entirely, failing to recognize that summarization preserves necessary long-term context.

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

✓

Implement a hierarchical memory system with summarization.

Context fragmentation happens when the history becomes too large or disorganized. A 'summarization agent' or a 'memory manager' that periodically compresses the conversation history into a concise summary is the standard solution. This preserves core context while discarding transient details, ensuring the main agent remains focused on the long-term goal rather than getting lost in thousands of lines of previous chat history.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Increase the context window size of the model indefinitely.

    Why it's wrong here

    Increasing the context window does not solve fragmentation; it only delays the problem while increasing cost and latency. Larger windows don't automatically improve the model's ability to prioritize relevant past information, making this an expensive and ineffective band-aid that fails to address the underlying architectural issue.

  • ✓

    Implement a hierarchical memory system with summarization.

    Why this is correct

    Hierarchical memory allows the agent to access both recent, detailed context and summarized long-term history. By managing memory at different levels of abstraction, you keep the agent's prompts concise and relevant, significantly improving its performance and goal-tracking accuracy over sessions that span hours or days.

  • ✗

    Force the user to clear their history periodically.

    Why it's wrong here

    Forcing the user to manage their own history is a bad user experience and defeats the purpose of an autonomous agent. The agent should be architected to handle its own memory management automatically, providing a seamless experience that feels like a continuous, intelligent conversation without user intervention.

  • ✗

    Only use the most recent 10 messages of the history.

    Why it's wrong here

    Using a strict, small window size often leads to the loss of critical context from earlier in the conversation. This causes the agent to repeat mistakes or forget foundational instructions, making it ineffective for complex tasks that require maintaining a long chain of reasoning or context.

About these practice questions

Courseiva writes every CCAR-P question from scratch — 262 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.