# CCDV-P Practice: Observability and production monitoring

> 10 free CCDV-P practice questions on observability and production monitoring (12% of the exam), with study notes and explanations.

Source: https://youraidept.com/network/ccdv-p-practice-questions/observability-and-production-monitoring

## What to know about Observability and production monitoring

- Instrumentation: distributed traces across agent loops and tool calls, token and cost metrics, cache-performance diagnostics, traceability for grounding and reasoning, and structured log events.
- Content capture under privacy constraints such as zero data retention: decide what you may record before you need it for debugging.
- Monitoring and alerting: define SLIs and SLOs for an LLM-backed service and build dashboards that include token and cost telemetry.
- Detecting quality drift, behavioral regressions and anomalous usage, including drift after a model update.
- Trace analysis at scale: sampling, aggregation and failure-cohort analysis to find systemic problems that no single trace shows.

## Observability and production monitoring questions

All domains (10) Observability and production monitoring (10)

Observability and production monitoring

On-call engineers cannot tell whether slow agent tasks are caused by slow model calls, slow tools, or retries, because each task emits a single log line with its total duration. What instrumentation closes the gap?

- A latency histogram per task type with p50, p95, and p99, so that slow task types stand out on the service dashboard
- Debug-level logging of the full prompt and response for every model call, so that engineers can read back what happened
- One trace per task with a span per model request and tool call, carrying token usage, stop reason, retry count, and status
- A sampled capture of one task in a hundred with complete payloads, stored for a week for manual inspection if an incident occurs

Check answer

### Show answer

Answer: One trace per task with a span per model request and tool call, carrying token usage, stop reason, retry count, and status. An agent task is a tree of model requests and tool calls, and only spans at that granularity show where the time and tokens went and which step retried or failed. A per-task histogram says a task was slow but not why, and payload logging gives content without timing or structure and raises privacy and volume problems.

Observability and production monitoring

A healthcare team operates under a zero-data-retention arrangement with its model provider and wants traces good enough to debug agent failures. One engineer proposes exporting full prompts and responses to the observability backend, arguing that the retention arrangement already covers it. What is the right position?

- Export metadata-only spans by default, and capture content only into a store with redaction, access control, and retention rules
- Export a hash of each prompt and response instead of the text, so that traces stay complete while no readable content is stored
- Turn tracing off for this workload, since any span emitted by the service would break the terms of the retention arrangement
- Export full content on every span, since the provider's retention terms extend to any telemetry that is derived from the API traffic

Check answer

### Show answer

Answer: Export metadata-only spans by default, and capture content only into a store with redaction, access control, and retention rules. The provider's retention terms govern what the provider keeps, not what your telemetry backend stores: exported content sits under that backend's own access and retention settings. Metadata such as timing, token counts, status, and identifiers covers most debugging, and content capture should be a deliberate, governed exception. Hashes satisfy privacy but cannot be read during an investigation, and switching tracing off gives up debuggability that metadata would have provided safely.

Observability and production monitoring

A Claude-backed assistant meets its 99.9% HTTP availability objective, yet users report truncated answers, declined requests, and long waits before any text appears. Which service level indicators should the team add?

- Host-level saturation signals such as CPU, memory, and connection pool usage on every instance of the service that calls the model
- A count of 5xx responses from the model API, alerting whenever any appear within a five-minute evaluation window
- Share of requests ending in a usable completion, time to first token and total latency percentiles, and a sampled quality score
- A stricter availability objective of 99.99% on the same HTTP success measure, with a tighter error budget and paging

Check answer

### Show answer

Answer: Share of requests ending in a usable completion, time to first token and total latency percentiles, and a sampled quality score. An HTTP 200 can carry a truncated or declined response, so availability alone misses what users experience. Indicators should describe the outcome of the task: whether the response finished normally, how long the user waited for the first token and for the whole answer, and whether sampled outputs meet the quality bar. Host saturation and 5xx counts describe infrastructure health, which is already fine here.

Observability and production monitoring

A platform records two million agent traces a day and keeps a uniform 1% sample. A failure that affects 0.3% of requests for one tenant cannot be investigated, because almost none of the affected traces were kept. What sampling design fixes this?

- Keep only the traces that end in an error and discard the successful ones, since failures are the traces engineers read
- Tail-based sampling that keeps every trace with an error, refusal, truncation, or outlier cost, plus a uniform baseline
- Raise the uniform sample to 5%, so that five times as many of the affected traces are retained for the investigation
- Sample each tenant in proportion to its traffic, so that the largest tenants contribute the most retained traces

Check answer

### Show answer

Answer: Tail-based sampling that keeps every trace with an error, refusal, truncation, or outlier cost, plus a uniform baseline. Deciding after a trace completes lets the pipeline keep everything interesting, such as errors, refusals, truncated responses, and unusually slow or expensive tasks, while a uniform sample preserves a baseline to compare against. A larger uniform sample still drops most rare failures, and keeping only failures removes the healthy traces needed to see what differs. Metrics should still be computed over all traffic.

Observability and production monitoring

A cost dashboard multiplies each response's input_tokens by the input price. After prompt caching is enabled, the dashboard shows input cost falling by 70% while the invoice barely moves. What is wrong with the dashboard?

- It ignores cache writes and cache reads, which are reported in separate usage fields and billed at their own rates
- It reads usage from responses, while the invoice is computed from requests, so the two can never be reconciled
- It counts tokens once per response, while the invoice counts each retry of a request as its own separate billable call
- It uses live data, while the invoice lags by a billing cycle and will show the same fall in the following month

Check answer

### Show answer

Answer: It ignores cache writes and cache reads, which are reported in separate usage fields and billed at their own rates. With caching, input_tokens covers only the uncached tokens after the last breakpoint. Tokens written to the cache and tokens read from it are reported separately and priced differently, so total input is the sum of all three fields. A dashboard that prices only one field understates spend as soon as caching is on. Retries and invoice timing exist but do not explain a gap that appeared with caching.

Observability and production monitoring

A service calls a model through an alias. The alias moves to a newer snapshot, nothing errors, and a week later support tickets about answer quality are up 40%. Which monitoring would have surfaced the change within hours?

- The served model id logged on every response, plus a scheduled canary eval and sampled online grading
- An alert on p99 latency and error rate for the model API, evaluated over five-minute and one-hour windows
- A monthly review of thumbs-down counts per feature, compared with the same month of the previous year
- A subscription to the provider's release notes, with a rotation for reading them whenever a new entry is published

Check answer

### Show answer

Answer: The served model id logged on every response, plus a scheduled canary eval and sampled online grading. Behavioral drift produces no errors, so it has to be measured directly: record which model actually served each request, run a fixed canary set on a schedule, and grade a sample of live outputs, alerting on a shift from baseline and slicing by model version. Latency and error alerts stay green through a quality change, and monthly feedback reviews are far too slow. Pinning an explicit version would also make the change deliberate.

Observability and production monitoring

Task success for an agent fell from 93% to 90% over two weeks. An engineer reads twenty randomly chosen failed traces and finds no common thread. What is the most productive next step?

- Compare failure rates by cohort, such as tool, prompt version, model version, tenant, and input type, against baseline
- Read two hundred more failed traces in full, since a common pattern should emerge once enough examples have been examined
- Ask a model to summarize the twenty traces and propose the most likely single cause of the failures it sees
- Roll back every change deployed in the two-week window, and redeploy them one at a time until the rate drops

Check answer

### Show answer

Answer: Compare failure rates by cohort, such as tool, prompt version, model version, tenant, and input type, against baseline. A three-point shift is usually concentrated somewhere, and individual traces rarely show it because each failure looks ordinary. Aggregating by dimension and comparing with the baseline period reveals which cohort moved, and only then is reading traces from that cohort efficient. Reading more random traces scales poorly, a mass rollback is disruptive without evidence, and a summary of twenty traces inherits their lack of signal.

Observability and production monitoring

After a release that adds the current date and time to the system prompt, an agent's input cost triples. Nothing errors and no alert fires, and the change is found three weeks later on the invoice. Which instrumentation would have caught and localized it?

- A unit test asserting that the system prompt block still carries its cache marker after every change to the prompt assembly code
- An alert on the share of input read from cache per route, plus a diff of consecutive request payloads to find the change
- An alert on the rate of 4xx and 5xx responses from the model API, evaluated per route over a rolling one-hour window
- A dashboard of average prompt length per route, reviewed each week for unexpected growth in the tokens sent

Check answer

### Show answer

Answer: An alert on the share of input read from cache per route, plus a diff of consecutive request payloads to find the change. A broken cache fails silently: requests succeed and only the usage fields change. The share of input tokens served from cache is the signal to alert on, and comparing consecutive payloads, or using cache diagnostics where available, shows the first byte that differs. A marker can be present while every request misses, error rates stay flat, and prompt length barely moves when a timestamp is added.

Observability and production monitoring

A security lead wants to detect a leaked API key being used by an outsider. The team's application traces cover the requests its own services send. Which data source should the detection be built on?

- The monthly invoice, comparing the total with the forecast and investigating any month with a large variance
- The application logs, alerting on prompts that do not resemble anything the product's features would send
- The application traces, alerting when the hourly span count for any service rises well above its usual level for that hour
- The provider's usage reporting grouped by API key and workspace, alerting on deviation from each key's baseline

Check answer

### Show answer

Answer: The provider's usage reporting grouped by API key and workspace, alerting on deviation from each key's baseline. Requests made by an outsider never pass through your instrumented services, so your traces and logs cannot see them, and exported spans are best-effort rather than a complete record. Usage reporting from the provider counts every request against the key that made it, which makes per-key baselines and anomaly alerts possible. An invoice review finds the problem weeks late.

Observability and production monitoring

Every sampled trace for an agent looks healthy: tasks succeed and no step is slow. Yet cost per task has doubled since the last release, which changed one tool description. Which analysis is most likely to explain it?

- Check the model API's latency and error dashboards for the release window, looking for a provider-side change
- Compare per-task distributions of turns, tool calls by tool, and tokens between the two releases to see what shifted
- Open the slowest trace of the week and read it step by step, looking for the single call that took the longest to finish
- Review the traces that ended in an error since the release, and group them by the type of error they reported

Check answer

### Show answer

Answer: Compare per-task distributions of turns, tool calls by tool, and tokens between the two releases to see what shifted. Some regressions are invisible in any single trace because each run looks reasonable: the change is in the distribution. Aggregating turns, calls per tool, and tokens per task by release shows, for example, that a reworded description made the agent call a search tool twice as often. Reading individual slow or failed traces inspects the wrong population, since these tasks are neither slow nor failing.

## Next

- [Timed CCDV-P practice exam](https://youraidept.com/network/ccdv-p-practice-exam): 70 questions in 120 minutes, scored against the 720 pass mark.
- [All CCDV-P practice questions](https://youraidept.com/network/ccdv-p-practice-questions) with a domain filter.
- [The CCDV-P exam page](https://youraidept.com/network/ccdv-p): format, weights, registration, study path.

### Other CCDV-P domains

- [Production integration, reliability, and knowledge grounding (20 questions)](https://youraidept.com/network/ccdv-p-practice-questions/production-integration-reliability-and-knowledge-grounding)
- [Advanced agent architecture and orchestration (14 questions)](https://youraidept.com/network/ccdv-p-practice-questions/advanced-agent-architecture-and-orchestration)
- [Evaluation engineering and quality assurance (12 questions)](https://youraidept.com/network/ccdv-p-practice-questions/evaluation-engineering-and-quality-assurance)
- [Runtime guardrails and production security (10 questions)](https://youraidept.com/network/ccdv-p-practice-questions/runtime-guardrails-and-production-security)
- [Advanced debugging and incident response (9 questions)](https://youraidept.com/network/ccdv-p-practice-questions/advanced-debugging-and-incident-response)
- [Agent fleet operations for software delivery (10 questions)](https://youraidept.com/network/ccdv-p-practice-questions/agent-fleet-operations-for-software-delivery)
- [Cost and latency optimization at scale (7 questions)](https://youraidept.com/network/ccdv-p-practice-questions/cost-and-latency-optimization-at-scale)

## FAQ

### How much of the CCDV-P exam is observability and production monitoring? +

12% 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 10 original scenario questions written from the blueprint for this domain. Reproducing exam content would violate the candidate agreement.

### How should I study observability and production monitoring 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.

## Who wrote this

### [Matei Olaru](https://youraidept.com/about/matei-olaru)

CEO, Your AI Department

Former public-company CEO, corporate attorney, and World Bank consultant. Runs the YAID Network and the partner relationship with Anthropic.

### [Michael Greenberg](https://youraidept.com/about/michael-greenberg)

AI Product Lead, Your AI Department

AI at Google, Meta, and Samsung. Six patents. Leads member support and the certification prep guidance.

Your AI Department is a registered Claude Partner Network company. Our members sit these exams under our partner standing. Facts on this page were last checked on November 25, 2026.

## Ready to sit CCDV-P for real?

Registration needs a Claude Partner Network organization. [YAID Network](https://youraidept.com/network) members register under our partner standing. $149 per quarter, exam fee separate.

[Apply to join YAID ↗](https://youraidept.com/network/apply?ref=drill)[How registration works →](https://youraidept.com/network/register-for-claude-certification)