CCDV-F domain - 2.6% of the exam

Eval, Testing, and Debugging

Eval, Testing, and Debugging is 2.6% of the CCDV-F exam. These are the objectives it covers, each with practice questions, with every answer explained.

The domain in numbers

8
Practice questions
1
Objectives
8
Medium

Where people go wrong

  • Blaming the model when the integration failed

    The wrong answers reach for tool description rewrites, sampling changes, a model swap or firmer instructions. In the trace, the tool was called and returned a timeout error, so the fault sits in how the application handles a failed call. In the supplier case the field was renamed, so no instruction can recover a value the model was never sent. Locate the layer from the recorded evidence first, then fix that layer.

    See it in a sample question
  • Retrying every failure the same way

    The wrong answers retry immediately, on a fixed gap, or without a bound on attempts. Immediate retries add load while the service is shedding it, a fixed gap ignores the four second budget, and a malformed item code fails identically every time. A hung dependency never returns, so retries only lengthen the stall. The correct policy retries only transient failures, with growing randomised waits and a cap, and reports permanent failures at once.

    See it in a sample question
  • Keeping records that cannot rebuild a run

    The wrong answers keep records that cannot rebuild the run they describe: a raw response body without its inputs, a higher log level kept for a fortnight, a transcript with no link to the prompt revision in force, or a baseline taken from whatever configuration was live that week. The correct answers record the configuration each run used and, under one correlation identifier, the prompt revision, the tool definitions in force, every tool call with its arguments and result, and why each response stopped.

    See it in a sample question

Objectives in this domain

Sample questions from this domain

Free sampleEval, Testing, and Debuggingmedium

An expenses assistant reads a tool that returns a supplier record. A platform team renamed the result field holding the supplier's tax identifier, and since that release reviewers have logged answers stating that no tax identifier is held for suppliers that plainly have one. The tool handler logs the raw payload it returns. A logged payload and the tool's declared result contract are reproduced below. Which diagnosis fits, and what is the correct first correction?

declared result contract: { "supplier": "string", "tax_id": "string" }
logged payload:          { "supplier": "Bramley Ltd", "tax_ref": "GB4471902" }
  • AThe model misread a correct payload, so the system prompt should instruct it to check every field of a supplier record before stating that a value is absent from the record.
  • BThe payload no longer matches the declared result contract, so the handler should validate the payload against that contract and fail the call loudly instead of returning an unrecognised shape. Correct
  • CThe record was too large for the working context, so the handler should trim the payload to the fields the assistant reasons over before the result is appended to the conversation.
  • DThe upstream release was faulty, so the assistant repository should pin the previous version of the supplier service and leave the tool result contract exactly as it stands today.
A renamed field in a tool result is a schema mismatch at the integration boundary, caught by validating results rather than by instructing the model. The declared contract names a tax identifier field that the payload does not contain, so the value never reached the model and its answer is a faithful report of what it was given. This is an integration-layer fault, and the durable correction is to validate each tool result against the shape the application promised before it is handed on. A validation failure is visible and attributable at the moment the upstream shape changes, whereas an unvalidated result turns a rename into a quiet content error that only reviewers catch weeks later.

Why A is wrong: Tempting because instructions can improve careful reading, but the declared field genuinely is not in the payload, so no amount of instruction can recover a value the model was never sent.

Why B is correct: Correct: a schema mismatch at the integration boundary is the recorded cause, and validating the result turns a silent renamed field into an explicit failure the team can see and fix.

Why C is wrong: Tempting because pruning oversized tool output is a genuine technique, but the logged payload is two fields long and pruning would discard the renamed value rather than surface the mismatch.

Why D is wrong: Tempting because pinning does stop the bleeding for one consumer, but it leaves the handler unable to detect the next shape change and defers rather than removes the silent failure.

Free sampleEval, Testing, and Debuggingmedium

An incident assistant runs an agentic loop that calls a metrics tool, a log tool and a deployment history tool. One dependency intermittently accepts a connection and then never responds. The tool handler has no timeout, so the loop stops mid run and the user receives nothing at all, in roughly two per cent of requests. The team requires that a single unresponsive dependency never stall a run, and that the assistant may still answer from what it did retrieve provided the gap is stated. Which handling of the tool call meets both requirements?

  • ALeave the tool handler unbounded but cap the number of loop turns, so a run that hangs is eventually ended by the turn limit and the user receives the partial answer produced so far.
  • BApply a timeout to the tool call and, when it expires, abort the whole run and return a generic failure message, because an answer built on incomplete data cannot be trusted.
  • CApply a timeout to the tool call and, when it expires, retry the same call repeatedly inside the same turn until it answers, so the loop continues with complete data.
  • DApply a timeout to the tool call and, when it expires, return a tool result to the model marking that call as failed, letting the loop continue and requiring the answer to name the dependency it could not reach. Correct
Bound every tool call with a timeout and feed the failure back into the loop as a tool result so partial answers are produced and disclosed. An agentic loop advances only when a tool handler returns, so an unbounded call halts the entire run rather than degrading it. Returning an error-marked tool result converts an infrastructure stall into information the model holds, which lets the loop finish its remaining turns and lets the final answer state which source was unavailable rather than presenting a gap as a complete picture.

Why A is wrong: Tempting because a turn cap is a sound loop safeguard, but the turn counter only advances when a turn completes, so a call that never returns never reaches the cap and the run still stalls.

Why B is wrong: Tempting because it is the conservative reading of correctness, but it discards the two successful lookups the run already holds, and the requirement explicitly permits a stated partial answer.

Why C is wrong: Tempting because it preserves completeness, but a dependency that accepts connections and never replies will absorb every retry, so the run stalls exactly as before with a longer wall-clock time.

Why D is correct: Correct because the timeout bounds the stall and the failed result is fed back as part of the conversation, so the loop proceeds with a model that knows one source is absent and can qualify its answer.

Free sampleEval, Testing, and Debuggingmedium

A team investigates a reported quality drop in a triage assistant by rerunning twenty tickets by hand. Between the two runs an engineer had also edited the system prompt, pinned a different model version and raised the output ceiling. The team's stated requirement is that any future quality claim be a measurement a reviewer can accept rather than an anecdote. What must the eval harness do to satisfy that requirement?

  • ARun a fixed, version-controlled case set with agreed expected outcomes, hold the prompt, model version and request settings constant, and vary exactly one of them per run while recording the values used. Correct
  • BRerun the same twenty tickets after every change and record a pass count, accepting whichever configuration was live at the time as the baseline for that week's comparison.
  • CSample twenty fresh tickets from the previous day's live traffic on each run so the evaluation stays representative of the questions users are currently asking the assistant.
  • DHave a second reviewer read the same twenty answers independently and treat agreement between the two reviewers as the accuracy figure reported to the business at each release.
An eval is a measurement only when the case set and every configuration variable are fixed and recorded, with one variable changed per run. Comparing two runs is only informative when everything except the thing under test is held still. Three simultaneous edits mean any score difference has three candidate causes and no way to separate them. A version-controlled case set with agreed expected outcomes fixes the input side, recording the prompt text, model version and request settings fixes the configuration side, and changing one of them per run gives the difference a single attributable cause a reviewer can accept.

Why A is correct: Correct: a fixed case set plus a recorded, single-variable configuration is what turns a score difference into evidence about the change rather than about three simultaneous edits.

Why B is wrong: Tempting because it is repeatable and cheap, but letting the live configuration drift into the baseline means the two numbers were produced under different conditions and cannot be compared.

Why C is wrong: Tempting because freshness guards against a stale case set, but resampling the inputs each run means the case set and the configuration both moved, so a score change has no attributable cause.

Why D is wrong: Tempting because independent review does reduce one reader's bias, but reviewer agreement measures the graders rather than the system, and the confounded configuration remains unaddressed.

Other domains in this exam

See also the CCDV-F cert hub, the study guide, and the cheat sheet.

Examworthy is not affiliated with or endorsed by Anthropic. Original, blueprint-aligned practice material only.