AI Certificates

CCDV-P Observability and Production Monitoring practice questions

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

D3 Observability and Production MonitoringCCDV-P · Form 1 · free

A health insurer's prior-authorization assistant runs on the first-party API under a zero-data-retention arrangement. An engineer adds an open-source LLM observability library whose OpenTelemetry auto-instrumentation records full prompts and completions as span attributes and exports them to a third-party SaaS tracing backend. Compliance flags the change during review. On-call engineers still need to diagnose slow and failing agent runs, which involve several tool calls per request. Which configuration best satisfies both requirements?

  1. A

    Turn off prompt and completion capture but keep span hierarchy, token counts, stop reasons, tool names and latencies, and confine content debugging to a store the insurer controls.Correct

    Structural telemetry answers most latency and failure questions without exporting PHI, and the rare content-level investigation happens under the insurer's own controls rather than a third party's.

  2. B

    Leave content capture on but move export to a tracing vendor that also offers zero data retention, so prompts and completions are never persisted anywhere outside the request path.

    This addresses retention at the vendor, but PHI still leaves for another processor, and a backend that keeps nothing cannot support the debugging the team needs anyway.

  3. C

    Remove tracing from the assistant entirely and rely on application error logs, because any span leaving the service could breach the retention commitment the insurer has signed.

    This removes the privacy exposure, but it throws away the span structure on-call needs to see which turn or tool call made a run slow or fail.

  4. D

    Leave content capture on but add a regex redaction processor that masks member IDs, names and dates of birth before export, so the remaining clinical text stays available for debugging.

    Redaction reduces exposure, but pattern matching reliably misses identifying details in free clinical text, so PHI still reaches the third-party backend.

The principle

Under zero-data-retention or similar constraints, separate trace structure (spans, token usage, stop reasons, tool names, timings) from content capture: export the structure freely and keep content capture off by default or confined to a governed store you control.

D3 Observability and Production MonitoringCCDV-P · Form 1 · free

A retail catalog team runs a product-attribute extraction service that asks Claude for JSON. Its availability SLO counts any HTTP 200 as a good event and has stayed above 99.9%. After a prompt change that made outputs longer, the downstream catalog loader reports a rising share of unparseable records. Traces show the affected responses ended with stop_reason max_tokens. Which change best makes the SLO reflect what consumers of the service experience?

  1. A

    Add a time-to-first-token latency SLI beside the availability SLI, since the longer outputs introduced by the prompt change are what slowed the catalog loader's ingestion runs.

    Latency is a valid SLI, but the consumers' problem is invalid output, not slow output, so this metric would stay green while records keep failing to parse.

  2. B

    Add alerting on 429 and 529 error counts, since output that stops early usually means the request was throttled by the platform before the model could finish its response.

    Rate-limit and overload errors arrive as error responses, not as successful responses with a max_tokens stop, so this alerts on the wrong failure class.

  3. C

    Count a request as good only when it ends with a natural stop and its output passes schema validation, so truncated responses with a 200 status burn the error budget.Correct

    Defining the good event by stop reason and schema validity makes the SLI measure usable output, so length-truncated successes become visible failures.

  4. D

    Raise the max_tokens limit on extraction calls so truncation stops, and keep the status-code SLI because it already captures every failure that the platform itself reports.

    Raising the limit fixes today's symptom, but the SLI stays blind to the next truncation or malformed-output regression because a 200 still counts as success.

The principle

For LLM-backed services an HTTP 200 is not a good event by itself; define SLIs on what the consumer needs, such as a natural stop reason and output that passes validation, so silent quality failures consume the error budget.

D3 Observability and Production MonitoringCCDV-P · Form 1 · free

A payments company's dispute-handling agent produces about two million traces a day, stored with 1% head-based sampling to control cost. Finance reports that in roughly one session in two thousand the agent issues the refund tool twice for the same dispute. Analysts find only a handful of such sessions among stored traces, too few to characterize the pattern. Storage spend must stay roughly flat. Which approach best supports the investigation?

  1. A

    Raise head-based sampling to 10% for a week, giving analysts ten times as many stored traces to search for double refunds before returning to the normal rate.

    More samples help a little, but the cost rises tenfold and a rare event still appears in only a small, random slice of traffic.

  2. B

    Lower the sampling rate further and add an hourly dashboard of total refund tool calls per dispute, so aggregate refund volume reveals the duplicates without storing more traces.

    Aggregate refund volume would barely move at this rarity and cannot show which sessions or conditions produced the duplicates.

  3. C

    Ask finance for the affected dispute IDs and replay those sessions with full tracing enabled, so each reported duplicate gets a complete trace for root-cause analysis.

    Replays are biased toward reported cases and a nondeterministic agent may not reproduce the duplicate, so this does not characterize the pattern.

  4. D

    Switch to tail-based sampling that keeps every trace with repeated refund calls, errors or retries plus a small random baseline, weighting the baseline when estimating rates.Correct

    Tail-based sampling decides after the trace completes, so it can keep every rare failure while the random baseline preserves a comparison set at similar storage cost.

The principle

Head-based sampling decides before outcomes are known and starves rare failures; tail-based sampling keyed on failure signals keeps the interesting traces, and a weighted random baseline keeps rate estimates honest.

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