AI Certificates

CCDV-P Advanced Agent Architecture and Orchestration practice questions

17% of the CCDV-P exam. These worked examples come from free Form 1, with an explanation for every answer option.

D1 Advanced Agent Architecture and OrchestrationCCDV-P · Form 1 · free

A payments team's refund agent, built on the Claude Agent SDK, must get a supervisor's sign-off before issuing any refund above a set amount. In testing, the agent occasionally calls the refund tool directly when a customer insists the matter is urgent. How should the team enforce the sign-off?

  1. A

    Strengthen the system prompt with an explicit rule and several examples showing the agent declining urgent refunds that lack a sign-off.

    Better prompting improves adherence on average, but persuasion already defeats the written rule, and a hard financial control cannot rest on model compliance.

  2. B

    Add a PreToolUse hook that checks the refund amount and blocks or defers the call until an approval record exists for that refund.Correct

    A hook runs in code outside the model's discretion, so the approval requirement holds no matter how the conversation goes.

  3. C

    Lower the sampling temperature so the agent follows the written approval policy more consistently under persuasive customer pressure.

    Temperature affects output variability, not whether a policy is enforced; a persuaded model can still make the call at any setting.

  4. D

    Require a self-check reasoning step confirming policy compliance before each tool call, and log that step so auditors can review it.

    Self-checks and logs aid review after the fact, but the model still decides whether to call the tool, so the control remains bypassable.

The principle

Approval flows that must never be skipped belong in deterministic harness controls such as hooks or permission rules; prompts shape behavior, but only code-level gates enforce it.

D1 Advanced Agent Architecture and OrchestrationCCDV-P · Form 1 · free

A legal-compliance platform runs a supervisor agent that holds tools to file regulatory submissions and to email outside counsel. It dispatches reader subagents to summarize counterparty contracts uploaded by external parties. In a red-team test, text planted in a contract tells 'the reviewing system' to send the full matter file to an outside address; the reader's summary repeats this as a recommended next step, and the supervisor carries it out. Readers must still accept arbitrary uploads. Which change best addresses the failure?

  1. A

    Add a classifier in front of the readers that rejects any uploaded contract containing imperative text aimed at AI systems before summarization begins.

    A filter catches some phrasings, but it is bypassable and it rejects legitimate uploads, which the constraint rules out; it also leaves the privileged supervisor trusting free-text recommendations.

  2. B

    Strengthen the reader system prompt so it ignores instructions found inside documents and reports only the factual terms of each contract.

    A prompt instruction lowers the odds of the reader relaying the payload but is probabilistic, and the real flaw is that the supervisor acts on untrusted text with privileged tools.

  3. C

    Have readers return a fixed schema of extracted terms that the supervisor treats as data, and require human approval before outbound actions run.Correct

    Constraining the inter-agent channel to typed data and gating irreversible outbound tools on approval breaks the path from injected text to a privileged action even when a reader is fooled.

  4. D

    Move the outbound tools from the supervisor down to the reader subagents so each action is taken closest to the document it concerns.

    Pushing write tools to the agents that read untrusted content enlarges the blast radius instead of shrinking it; the reader would then exfiltrate directly.

The principle

In multi-agent systems, output from an agent that touched untrusted content is itself untrusted: pass it across the boundary as structured data and put deterministic approval gates in front of high-impact tools rather than relying on any single agent to resist injection.

D1 Advanced Agent Architecture and OrchestrationCCDV-P · Form 1 · free

An insurer's claims-triage supervisor dispatches six subagents in parallel per claim, covering policy lookup, fraud signals, medical-coding review and others, then merges their findings. Traces show that when one subagent stalls on a slow external service, the whole claim waits until a platform-level timeout kills the run and all six results are discarded. Adjusters say a triage decision with one clearly marked gap is acceptable; a silently incomplete one is not. Which two changes best address this?

  1. A

    Run the six subagents one after another so that a stalled call is easier to attribute and the platform timeout applies to each subagent separately.

    Serial execution makes attribution easier but multiplies latency and still lets one stall consume the run; it gives up parallelism without containing the failure.

  2. B

    Give each subagent its own deadline, and have the supervisor proceed with whichever results have arrived once those deadlines pass.Correct

    Per-worker deadlines isolate a stalled subagent so one slow dependency no longer takes down the other five results.

  3. C

    Raise the platform-level timeout so slow external services have enough time to respond before the orchestration run is killed.

    A longer timeout only lengthens the wait; when the service is truly stuck, every result is still discarded, just later.

  4. D

    Retry the entire fan-out from scratch whenever any subagent fails, so the merged decision is always built from a full set of results.

    Whole-fan-out retries repeat five successful workers and keep stalling on the same slow service, adding cost without resolving the gap.

  5. E

    Require the merge step to record each missing or failed subagent explicitly in the decision so that adjusters can see the gap.Correct

    Explicitly marking absent results turns a partial outcome into the visible, acceptable kind the adjusters asked for instead of a silent omission.

The principle

Parallel dispatch needs per-worker failure isolation plus explicit partial-result semantics: bound each worker independently and make every gap visible in the merged output rather than failing or hiding it.

Start free CCDV-P Form 1Format, domains and the 25 skills