CCDV-F Practice Questions: Agents and Workflows Domain
Test your CCDV-F knowledge with 10 practice questions from the Agents and Workflows domain. Includes detailed explanations and answers.
CCDV-F Practice Questions
Master the Agents and Workflows Domain
Test your knowledge in the Agents and Workflows domain with these 10 practice questions. Each question is designed to help you prepare for the CCDV-F certification exam with detailed explanations to reinforce your learning.
Question 1
A small product team is piloting a Claude-powered internal planning agent. They want the fastest operational path and have no unusual runtime, observability, network, or custom policy requirements for the pilot. Artifact: ``` Team size: 2 developers Pilot duration: 4 weeks Primary goal: minimize setup and maintenance Custom infrastructure integration: none Need for low-level orchestration control: low ``` Which deployment choice is most appropriate for the pilot?
Show Answer & Explanation
Correct Answer: B
Correct answer (B): Managed agent deployment is appropriate when the team wants to reduce setup and maintenance burden and does not need unusual low-level orchestration or custom infrastructure integration. Self-hosting can offer more control, but it adds implementation and operational responsibility that the pilot does not require.
Why the other options are wrong:
- Option A: Self-hosting provides more direct control, but the scenario explicitly says low-level control and custom infrastructure needs are low.
- Option C: A custom framework may be justified for complex orchestration needs, but it conflicts with the pilot goal of minimizing setup and maintenance.
- Option D: Unmanaged scripts may seem simple initially, but they do not provide a coherent agent deployment path and can increase maintenance overhead.
Question 2
A platform team is replacing an ad hoc agent script for vendor-risk reviews. The new design must make state transitions auditable, validate handoff objects, and allow retries from named checkpoints. Artifact: ``` Required states: intake -> evidence_collection -> risk_analysis -> legal_review -> final_report Each state has typed inputs and outputs Failures must resume from the failed state, not restart the whole run Goal: reusable orchestration across review types ``` Which approach best matches these requirements?
Show Answer & Explanation
Correct Answer: B
Correct answer (B): A graph or typed-state agent framework is useful when an application benefits from explicit state transitions, structured handoffs, checkpointed retries, and reusable orchestration patterns. The requirements are not just for model reasoning; they are for controlled workflow state and recoverability.
Why the other options are wrong:
- Option A: A free-form loop can support agentic behavior, but it does not naturally provide auditable named states, typed handoffs, or checkpointed retries.
- Option C: A prompt can describe states, but it does not by itself enforce typed transitions, retries, or resumable orchestration.
- Option D: Prior review memory may provide useful context, but it does not implement the required state machine or validation behavior.
Question 3
A content operations agent drafts release-note summaries. The final summary must always be written to the team's tracking system using a fixed template after the agent finishes its analysis. Artifact excerpt: Current trace: Step 1: analyze merged changes Step 2: draft summary Step 3: model says, "I will update the tracker later" Step 4: run ends with no tracker update What is the best change to make the tracker update reliable?
Show Answer & Explanation
Correct Answer: A
Correct answer (A): Hooks provide deterministic application behavior around agent execution. A post-run hook is the right control point when a fixed action must occur after the agent produces the required artifact, rather than relying on the model to remember to perform that step.
Why the other options are wrong:
- Option B: Prompt instructions can guide behavior, but they are not the best mechanism for a required deterministic post-processing action.
- Option C: Memory examples may improve style consistency, but they do not reliably trigger a required application-side update.
- Option D: Subagents address specialization or context isolation, not a missing deterministic post-run action.
Question 4
A startup is building its first Claude-powered operations agent. The team wants supported agent-building abstractions for loop handling and tool dispatch, and it does not need custom state-machine behavior yet. Which implementation choice is most appropriate?
Show Answer & Explanation
Correct Answer: A
Correct answer (A): The Claude Agent SDK is appropriate when the team wants supported abstractions instead of implementing loop, state, and tool-dispatch behavior manually. A custom harness is better reserved for cases needing tight orchestration control or specialized integration behavior.
Why the other options are wrong:
- Option B: A custom harness can be valuable, but the scenario says the team wants supported abstractions and lacks special state-machine requirements.
- Option C: A static prompt does not provide the agent loop and tool-dispatch behavior the team is explicitly seeking.
- Option D: Subagents should be introduced to solve decomposition or context-isolation needs, not before the main task and architecture are defined.
Question 5
A research agent sometimes runs for 40 minutes without producing an answer. Log excerpt: Step 12: search("quarterly revenue filing") -> no new results Step 13: plan: "Search with a broader phrase." Step 14: search("company revenue filing") -> same 8 results as Step 9 Step 15: plan: "Search again to be certain." Step 16: search("company revenue filing") -> same 8 results What is the BEST primary fix to the agent loop?
Show Answer & Explanation
Correct Answer: A
Correct answer (A): The log shows a runaway loop that repeats the same ineffective action. Agent loops should track state, detect repeated observations or failed actions, enforce retry limits, and terminate when no useful progress is being made.
Why the other options are wrong:
- Option B: Persisting full history may preserve evidence, but it does not prevent the current loop from repeating the same failed action indefinitely.
- Option C: Fresh subagents might reduce context contamination, but delegation alone does not create loop termination or repeated-result safeguards.
- Option D: A fixed number of searches limits runtime, but always doing 20 searches is inefficient and does not address progress-based stopping.
Question 6
A team built one large Claude agent to prepare database-migration pull requests. It handles schema diffs, test updates, documentation, and rollout notes in a single context. Results are drifting: test advice includes documentation snippets, and rollout summaries cite irrelevant schema details. Artifact: ``` Current run context: - 40 schema diff chunks - 18 failing test logs - 12 docs pages - 9 deployment checklist items Observed issue: later steps quote earlier unrelated evidence Goal: keep specialized reasoning focused and return concise results ``` Which redesign is best?
Show Answer & Explanation
Correct Answer: D
Correct answer (D): A supervisor/subagent pattern fits when related subtasks need coordination but benefit from isolated context. The supervisor can assign schema, test, documentation, and rollout subtasks to specialized subagents, then integrate concise summaries or structured results instead of carrying all raw evidence in one monolithic context.
Why the other options are wrong:
- Option A: A larger context can hold more data, but it does not solve context drift from unrelated evidence influencing later reasoning.
- Option B: Independent prompts may isolate work, but without a coordinating parent and handoff summaries, integration and consistency across the migration plan are weaker.
- Option C: Durable memory is for relevant future-use information, not for indiscriminately storing transient migration evidence from the current run.
Question 7
A claims-processing system has two very different parts. Eligibility checks must follow fixed regulatory rules with auditable outcomes. However, investigating ambiguous claims requires Claude to decide which internal records to inspect next, revise its plan after each observation, and stop when evidence is sufficient. Which architecture best balances these requirements?
Show Answer & Explanation
Correct Answer: A
Correct answer (A): The best design separates deterministic and agentic responsibilities. Fixed, auditable eligibility rules should stay in a deterministic workflow. Ambiguous investigations that require planning, dynamic record selection, observations, and stopping conditions fit an agent loop. This hybrid approach preserves compliance where rules are explicit while allowing autonomy where the path is unknown.
Why the other options are wrong:
- Option B: A single autonomous agent gives unnecessary discretion over fixed regulatory checks that should remain deterministic and auditable.
- Option C: A fully fixed workflow handles rule checks well, but it is too rigid for investigations where the next step depends on observations.
- Option D: A manager-subagent hierarchy adds broad complexity and does not distinguish between fixed rule evaluation and dynamic investigation needs.
Question 8
A platform team is building an internal operations agent. They must expose step-by-step state in existing dashboards, enforce a maximum of two retries per action, pause for an internal review queue on ambiguous observations, and store handoff events in their own event log. Artifact excerpt: Design requirement: - Existing observability system is mandatory - Retry policy differs by action type - Stopping and escalation rules must be testable in unit tests - Team accepts additional implementation responsibility Which approach best matches these requirements?
Show Answer & Explanation
Correct Answer: A
Correct answer (A): A custom agent loop is appropriate when the team needs fine-grained control over state, retry behavior, stopping conditions, observability, and handoffs, and is willing to own the implementation burden. The requirements explicitly call for testable execution control and integration with existing telemetry.
Why the other options are wrong:
- Option B: Prompting Claude to describe retries does not provide deterministic, testable control over execution state.
- Option C: A framework can reduce boilerplate, but hiding state transitions conflicts with the stated observability requirement.
- Option D: A deterministic workflow may be testable, but the scenario requires adaptation to observations and varied retry behavior.
Question 9
A custom Claude agent investigates failed payment jobs. In staging, one run consumed far more tool calls than expected. Artifact: ``` 00:00 plan: inspect failed job 8431 00:01 tool: get_job(8431) -> status=failed, reason=timeout 00:02 tool: get_job(8431) -> status=failed, reason=timeout 00:03 tool: get_job(8431) -> status=failed, reason=timeout 00:04 note: "Need more confidence before final answer" 00:05 tool: get_job(8431) -> status=failed, reason=timeout Loop config: max_iterations unset, retry_limit unset ``` What is the best next change?
Show Answer & Explanation
Correct Answer: A
Correct answer (A): The log shows repeated identical tool calls despite stable observations, and the loop configuration has no maximum iteration setting or retry limit. A practical Claude agent loop needs explicit termination criteria, iteration bounds, timeout handling, and retry behavior to prevent runaway or repetitive execution.
Why the other options are wrong:
- Option B: Memory may preserve useful durable information, but storing repeated transient observations does not stop the current loop from repeating.
- Option C: A larger payload might provide more detail in some cases, but the evidence already repeats the same result and the missing loop controls are the direct failure mode.
- Option D: Subagents can isolate complex subtasks, but delegating identical lookups would multiply cost and does not address the missing termination controls.
Question 10
A finance team is automating vendor invoice handling with Claude. The process is predictable and audited weekly. Artifact excerpt: Runbook: 1. Extract invoice fields from PDF text. 2. If amount < $5,000 and vendor is approved, create payment draft. 3. If amount >= $5,000, route to manager approval. 4. If tax ID is missing, reject with a fixed reason. 5. Log each branch decision. Which architecture is the best fit for this automation?
Show Answer & Explanation
Correct Answer: B
Correct answer (B): A deterministic workflow is best when the sequence of steps, branching rules, and audit requirements are stable. Claude can still be used inside bounded steps, such as extracting fields or drafting messages, while the application enforces approval routing and logging deterministically.
Why the other options are wrong:
- Option A: A free-form agent may seem flexible, but the process does not require dynamic planning and would be harder to audit than fixed branching logic.
- Option C: A manager/subagent design adds coordination overhead without a need for specialized decomposition or context isolation.
- Option D: Memory from prior invoices is not the primary need, and storing approval history in agent memory could weaken auditability.
Ready to Accelerate Your CCDV-F Preparation?
Join thousands of professionals who are advancing their careers through expert certification preparation with FlashGenius.
- ✅ Unlimited practice questions across all CCDV-F domains
- ✅ Full-length exam simulations with real-time scoring
- ✅ AI-powered performance tracking and weak area identification
- ✅ Personalized study plans with adaptive learning
- ✅ Mobile-friendly platform for studying anywhere, anytime
- ✅ Expert explanations and study resources
Already have an account? Sign in here
About CCDV-F Certification
The CCDV-F certification validates your expertise in agents and workflows and other critical domains. Our comprehensive practice questions are carefully crafted to mirror the actual exam experience and help you identify knowledge gaps before test day.
More CCDV-F Practice Questions by Domain
- CCDV-F Practice Questions: Applications and Integration — 33.1% of the exam
- CCDV-F Practice Questions: Model Selection and Optimization — 16.8% of the exam
- CCDV-F Practice Questions: Prompt and Context Engineering — 11.0% of the exam
- CCDV-F Practice Questions: Tools and MCPs — 10.6% of the exam
- CCDV-F Practice Questions: Security and Safety — 8.1% of the exam
- CCDV-F Practice Questions: Claude Code — 3.1% of the exam
- CCDV-F Practice Questions: Eval, Testing and Debugging — 2.6% of the exam
Want more? Take the free CCDV-F sample tests across all 8 domains, review the CCDV-F cheat sheet for last-minute revision, or work through the CCDV-F interactive guide.