CCDV-P domain drill
CCDV-P practice questions: Advanced debugging and incident response.
9 original questions on Advanced debugging and incident response, which carries 10% of the Claude Certified Developer – Professional exam per the official exam guide. Study notes first, then the questions with an explanation for each. When this domain feels solid, take the timed CCDV-P practice exam and check the domain breakdown.
What to know about Advanced debugging and incident response
- Diagnosing multi-turn, multi-agent and non-deterministic failures from evidence, and isolating the origin among the model's output, the agent harness, the tools and the data.
- Model refusals as a failure class of their own, and retrieval-grounding failures.
- Incident response during an outage or a quality regression: triage, mitigation, rollback and communication.
- Closing the loop: turn the incident into regression evaluations, monitoring coverage and postmortem findings.
Advanced debugging and incident response questions
An order-support agent intermittently tells customers that no orders were found. Traces show the lookup tool span returning the full result each time, while the next model request contains a result cut off after a fixed number of characters with no marker. Failures occur only for customers with long order histories. Where is the fault, and what is the fix?
Show answer
Answer: The harness: it truncates silently, so page or filter results in the tool and tell the model when output was cut. Comparing the tool span with the next model request isolates the layer: the tool produced the data and the model never received it. Silent truncation in the harness makes a data-delivery bug look like a model failure. The fix is to control result size deliberately, with pagination or filters, and to signal truncation so the model can ask for more. A bigger model or a firmer prompt cannot read text that was removed.
An agent fails on a particular input roughly once in thirty runs. An engineer reruns it once, sees a correct result, and proposes closing the ticket. What is the sound way to debug this?
Show answer
Answer: Capture the exact failing request, replay it many times to measure the failure rate, and test the fix against it. A failure with a low base rate cannot be confirmed or cleared by a few reruns: five clean runs are expected most of the time at one in thirty. Debugging needs the exact request that failed, including messages, tools, parameters, and model version, a replay that estimates the rate, and a fix judged by a measurable drop. A blind retry hides the defect and doubles its cost when the failure is correlated with the input.
At 14:00 a team deploys a new prompt version together with an updated tool definition. By 14:30 monitoring shows the wrong-answer rate on sampled traffic has tripled. What should the on-call engineer do first?
Show answer
Answer: Roll back to the last known-good prompt and tool versions, confirm recovery on the same metric, then investigate from traces. During a regression the first job is to stop the harm, and a rollback to a known-good version is the fastest safe mitigation when a deploy is the obvious suspect. Root cause analysis follows from preserved traces once users are protected. Debugging forward or hot-patching a live prompt extends the incident and adds an untested change on top of it.
A multi-agent system produces a report with a wrong revenue figure. Three subagents contributed, and the orchestrator wrote the final text. What is the most direct way to find where the error entered?
Show answer
Answer: Follow the figure back through each handoff, comparing what each subagent returned with what the orchestrator kept. In a multi-agent trace the question is where a value first became wrong: in a tool result, in a subagent's summary, or in the orchestrator's synthesis. Walking the handoffs backwards finds the first divergence and identifies the layer to fix. A rerun may not reproduce a non-deterministic failure and says nothing about its origin, and a verifier may catch the symptom next time without explaining this one.
After a model upgrade, about 2% of requests to an internal security-scanning assistant return no usable output. The dashboard shows a 100% success rate, because every response is an HTTP 200. Inspection shows these responses end with a refusal stop reason. What should the team do?
Show answer
Answer: Record refusals as a distinct outcome in telemetry and evals, sliced by request type, with a designed handling path. A refusal is a successful HTTP response with a distinct stop reason, so status-code metrics cannot see it. It needs its own category in telemetry and evals, broken down by request type to show which legitimate work is affected, and a deliberate path such as a prompt revision, a fallback, or a clear message. Retrying the identical request on the same model repeats the decision, and truncation would show a different stop reason.
An agent emailed the wrong customers because two accounts shared a name and its lookup tool returned the first match. The draft postmortem lists one action item: remind the team to be more careful with customer lookups. What should the postmortem produce instead?
Show answer
Answer: Regression cases for ambiguous matches, an alert on the signal that would have caught it, and a fix to the lookup. A postmortem should leave the system harder to break in the same way: the failing scenario and its variants become eval cases that gate releases, monitoring gains the signal that was missing, and the control gap is closed, here by making the tool return ambiguity instead of a first match. Reminders and prompt sentences decay, temporary manual review ends, and blame teaches people to hide problems.
A policy assistant keeps omitting exceptions from its answers. In failing traces the retrieved chunk ends in the middle of a clause, and the exception that completes it sits at the start of the next chunk, which was not retrieved. The model's answer is faithful to the text it was given. Where is the fault, and what is the fix?
Show answer
Answer: Chunking: fixed-size splits cut rules from their exceptions, so split on document structure and retrieve neighbors. The answer matches the retrieved text, so generation is working: the defect is that indexing separated a rule from its exception. Structure-aware chunking, overlap, or retrieving the surrounding section keeps related clauses together. An instruction to list exceptions cannot surface text the model never saw, and the exception chunk alone scores poorly for the question because, cut from its rule, it barely mentions the topic.
A team discovers that for six hours a bug has caused an agent to write incorrect values into about 1,300 records across several tenants, and the agent is still running. What is the right order of response?
Show answer
Answer: Disable the agent's write path, scope the affected records from the audit log, notify stakeholders, then remediate. Containment comes first: every minute the agent keeps writing enlarges the incident. The audit log then defines the blast radius, stakeholders get facts and a time for the next update, and remediation is driven by that record. Letting the agent repair its own output trusts the component that failed, waiting for root cause delays notification, and a bulk delete and restore destroys legitimate writes made in the same window.
Answer quality on sampled traffic degrades sharply at 09:10. Nothing was deployed by the team in the previous three days. What should the on-call engineer check first?
Show answer
Answer: What changed outside the team's deploys: the served model version, tool dependencies, index refreshes, and input mix. An LLM system can regress without a deploy because several of its inputs change on their own: a model alias can move, a tool's upstream API can change its responses, a retrieval index can refresh with bad data, and users can start sending different inputs. Telemetry sliced by those dimensions narrows it quickly. Rolling back an unrelated release or restarting hosts changes things that did not change at 09:10.
Next
- Timed CCDV-P practice exam: 70 questions in 120 minutes, scored against the 720 pass mark.
- All CCDV-P practice questions with a domain filter.
- The CCDV-P exam page: format, weights, registration, study path.
Other CCDV-P domains
- Production integration, reliability, and knowledge grounding (20 questions)
- Advanced agent architecture and orchestration (14 questions)
- Observability and production monitoring (10 questions)
- Evaluation engineering and quality assurance (12 questions)
- Runtime guardrails and production security (10 questions)
- Agent fleet operations for software delivery (10 questions)
- Cost and latency optimization at scale (7 questions)
FAQ
How much of the CCDV-P exam is advanced debugging and incident response?+
10% of the marks, per the official CCDV-P exam guide. The full domain list with weights is on the CCDV-P exam page.
Are these real CCDV-P exam questions?+
No. They are 9 original scenario questions written from the blueprint for this domain. Reproducing exam content would violate the candidate agreement.
How should I study advanced debugging and incident response for CCDV-P?+
Read the domain notes on this page, answer the questions with explanations hidden, then take the timed CCDV-P practice exam and check the per-domain breakdown for this domain.



