AI Certificates

CCDV-F Agents and Workflows practice questions

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

D1 Agents and WorkflowsCCDV-F · Form 1 · free

A developer is deciding between a fixed workflow and an autonomous agent for a document-processing pipeline. Which TWO characteristics of the task would most strongly favor implementing it as a workflow?

  1. A

    The pipeline must handle several thousand documents every day

    High volume is a real constraint, but both workflows and agents scale horizontally, so it does not discriminate between the two architectures.

  2. B

    The processing steps are identical and known in advanceCorrect

    When every input follows the same predetermined steps, hard-coding the sequence as a workflow is simpler, cheaper, and more reliable than letting a model choose the path.

  3. C

    The documents arrive from many different upstream systems

    Source variety affects ingestion and parsing, not whether orchestration should be model-directed or predefined.

  4. D

    Each document requires calls to several external APIs

    Both workflows and agents call external tools and APIs; tool use alone does not favor either architecture.

  5. E

    Every run must be predictable and auditable step by stepCorrect

    Workflows execute a fixed sequence, which makes each run reproducible and easy to audit — exactly the property an agent's dynamic decision-making gives up.

The principle

Choose a workflow when the path is known in advance and predictability matters; reserve agents for tasks where the model must decide the next step dynamically.

D1 Agents and WorkflowsCCDV-F · Form 1 · free

Harborline Logistics built a research agent that reviews shipping regulations across 14 jurisdictions in a single run. The orchestrator's context fills with lengthy source documents, and answer quality drops noticeably after the eighth jurisdiction. The team wants better late-run quality without moving to a model with a larger context window. Which change best addresses the problem?

  1. A

    Switch the orchestrator to a larger model tier so it can reason over more retrieved material at once

    A stronger model improves reasoning quality, but the failure here is context saturation, which a bigger model tier does not fix.

  2. B

    Prompt the orchestrator to summarize its accumulated context after finishing each jurisdiction

    Summarization slows context growth, but the full documents still pass through the single orchestrator context first, and each compaction discards detail later jurisdictions may need.

  3. C

    Have a subagent research each jurisdiction and return only a condensed findings reportCorrect

    Subagents give each jurisdiction a fresh, isolated context for the heavy reading, so the orchestrator only ever holds short reports and stays far from saturation.

  4. D

    Enable prompt caching on the source documents so repeated reads cost fewer tokens

    Prompt caching reduces cost and latency for repeated prefixes; it does not reduce how much material occupies the orchestrator's context.

The principle

Subagents improve long-task quality through context isolation: heavy raw material stays in the worker's window while the orchestrator receives only distilled results.

D1 Agents and WorkflowsCCDV-F · Form 1 · free

A developer wants a linter to run every time a coding agent edits a file, without depending on the model remembering to do it. Which mechanism best guarantees this?

  1. A

    A hook that fires the lint command automatically on each edit tool callCorrect

    Hooks fire deterministically on matching events, so the linter runs on every edit regardless of what the model decides.

  2. B

    A system-prompt instruction directing the agent to lint after each file edit

    Prompt instructions steer behavior, but the model can still skip or forget the step — exactly what the developer wants to rule out.

  3. C

    A skill that documents the team's linting commands and conventions

    A skill supplies knowledge the model can load when relevant; it does not guarantee that any action actually executes.

  4. D

    A dedicated review subagent that checks code style when the task ends

    An end-of-task reviewer catches issues late and still depends on the model invoking it, rather than running on each edit.

The principle

When an action must happen every time, attach it as a hook: hooks are deterministic harness behavior, while prompts and skills only influence what the model chooses to do.

Start free CCDV-F Form 1Agents and Workflows