Courseiva

CCAR-P Advanced Agentic Architecture Practice Question

When designing agents that interact with external APIs, which pattern best addresses the challenge of 'unreliable API latency' impacting the agent's reasoning chain?

⚠ Common exam trap

Candidates often try to solve latency by increasing the model's timeout settings. This leads to poor user experience and hangs the agent's reasoning process while it waits for slow responses.

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

✓

Use an asynchronous 'request-poll' pattern to decouple execution from reasoning.

To manage unpredictable API latency, you must decouple the agent's reasoning from the API execution through an asynchronous task queue. By allowing the agent to request an action and then continue other tasks or enter a wait state, you prevent the reasoning process from timing out or becoming blocked. This is critical for building responsive, reliable agentic systems that can handle real-world network instability and variable service performance.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Set the agent's request timeout to 60 seconds to ensure it eventually finishes.

    Why it's wrong here

    Simply increasing the timeout does not resolve the issue of latency; it only delays the failure. If the API is slow, the agent remains blocked and idle, wasting resources and potentially failing the user experience. A better approach is to offload the work to an asynchronous worker process.

  • ✓

    Use an asynchronous 'request-poll' pattern to decouple execution from reasoning.

    Why this is correct

    The request-poll pattern allows the agent to initiate an action and then focus on other tasks or enter a non-blocking wait. The agent can then poll for results, ensuring that the reasoning engine is not blocked by slow network responses, resulting in a more resilient and performant architecture.

  • ✗

    Hardcode a retry count of ten to force the API to respond faster.

    Why it's wrong here

    Retry counts do not influence API performance; they only increase the frequency of calls, which can exacerbate existing issues and lead to further latency or even service bans. Retries are for transient failures, not for addressing consistent latency issues that require architectural intervention like asynchronous handling.

  • ✗

    Instruct the model to wait for a response in its thinking process.

    Why it's wrong here

    Instructing a model to wait is effectively a no-op that just consumes tokens and increases cost. It does not mitigate network latency or prevent timeouts. The model's reasoning loop needs to be architecturally separated from the I/O-bound tasks to maintain responsiveness and avoid blocking the entire agentic pipeline.

About these practice questions

This CCAR-P question is part of Courseiva's 262-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.