Claude Certification Program · Five exams · Guides updated December 7, 2026

Home › Study guides › CCDV-P › Domain 3 › Lesson 3.2

CCDV-P · Domain 3 · 12% of the exam · Lesson 3.2 · 21 min read New in the December 7, 2026 guide release (v1.0)

Production monitoring and alerting: SLIs, burn rates, cost dashboards and drift

Choose SLIs and SLOs for an LLM service, alert on error-budget burn, build token and cost dashboards, and catch quality drift and usage anomalies.

Written against skill 3.2 of the official CCDV-P exam guide (Version 1.0, effective November 2026). An independent resource, not affiliated with Anthropic; the practice questions are written from scratch.

3.2.1 Why the dashboard stayed green while the action items vanished

Quillstone sells collaboration software to large companies. Its busiest AI feature writes a summary after every recorded meeting: a short recap, the decisions taken and a bulleted list of action items, which the product turns into tasks with owners. It produces about 2 million summaries a day. On Thursday morning the support queue fills with the same complaint: since last Tuesday, summaries are missing action items. "Leontine will send the revised quote by Friday" was said in the meeting, and it is nowhere in the task list.

Ravi, the staff engineer on call for the feature, opens the service dashboard. The error rate sits at its usual 0.2%. Latency at p95 (the time within which 95% of summaries are ready) has not moved. Spend is on forecast. By every number the team watches, the service is healthy.

It is not healthy, and the numbers are not lying. They answer the wrong question. An error rate measures whether a summary came back, not whether it was right. A missing action item returns HTTP 200, on time, at normal cost. Monitoring an LLM-backed service starts with choosing service level indicators (SLIs), the measured ratios that say whether users got what they came for. Then come targets for them, alerts on how fast you are missing those targets, and watchers for the slow changes no single request reveals.

Four green signals, one unhappy user base

Error rateflat at 0.2%
p95 latencyunchanged
Spendon forecast
Uptime100% this week
No indicator measured qualitythe summaries came back, on time, without their action items
Every signal the team watched measured delivery, so a quality failure that returns HTTP 200 passed all of them.

3.2.2 Choosing SLIs for an LLM service

Here is the question that trips up experienced operators: if the error rate is the classic availability signal, why is it not enough here? Because a classic service has one way to fail a user and an LLM service has several, and most of them succeed at the HTTP level. Each way of failing needs its own indicator.

An SLI is a ratio of good events to valid events, measured where the user meets the service. "Good" must be defined in advance and in writing. For availability, count a summary as good if one was delivered, after any retries. The official SDKs retry a failed request twice by default, so a single 529 overloaded_error that succeeds on retry is not a user-facing failure. For latency, use a percentile, never an average. An average hides the long meetings whose summaries take four times as long.

Two indicators are specific to LLM services. A quality SLI is the pass rate from sampled evaluation: a share of live outputs goes to a grader, code or model-based, that checks them against a written rubric. A refusal rate counts responses whose stop_reason is refusal. The API returns a refusal as a normal HTTP 200 response, so an error-rate SLI never sees it. Add cost per task, the tokens one unit of work consumes, priced. It turns a bill into something an engineer can act on.

SLI Good event, measured how Quillstone's choice
Availability Summary delivered after retries, at the service edge 99.9% of meetings get a summary
Latency Ready within the target, as a percentile p95 under 30 s for meetings up to 90 minutes
Quality Sampled summary passes the rubric Every commitment in the transcript appears as an action item
Refusal rate stop_reason is not refusal Baseline near zero; tracked, not targeted
Cost per task Tokens per summary times price, cache reads included About 2 cents; watched for shifts

Memorise the first three as the core of any LLM SLO set; recognise the last two as indicators that you watch against a baseline rather than promise to users. Quillstone grades 0.5% of summaries, about 10,000 a day, which is enough to measure an hourly pass rate with useful precision. How the sample and the grader are built belongs to online evaluation; for monitoring, what matters is that the pass rate exists, is versioned and is trusted.

3.2.3 SLOs, error budgets and burn-rate alerts

An SLI without a target is a chart nobody acts on. A service level objective (SLO) is the target over a window: 99.9% of meetings get a summary over 28 days. The gap between the target and perfection is the error budget, the failure you are allowed to spend. At 2 million summaries a day, 28 days is 56 million summaries, and a 0.1% budget is 56,000 failed ones. Quillstone set its quality SLO at 97% of graded summaries passing over 28 days, so 3% of graded summaries may fail.

The budget changes what you alert on. It is tempting to alert on every cause you can think of: each 529, the CPU of the transcription service, a token count over a fixed number. Resist it. Those are cause-based alerts, and most of them fire when users feel nothing. Page on symptoms, the SLIs themselves, and keep causes on dashboards for diagnosis. Think of a smoke alarm: it does not watch the toaster, the wiring and the candles separately; it watches for smoke.

The symptom alert that works is the burn rate: how fast you are spending the budget, where 1.0 means you will spend exactly all of it by the end of the window. In the function below, look at the minimum sample check, which stops a quiet hour with 30 graded summaries from paging anyone, and at the two windows that must both agree.

QUALITY_SLO = 0.97
BUDGET = 1 - QUALITY_SLO          # 3% of graded summaries may fail over 28 days

def burn_rate(passed: int, graded: int) -> float | None:
    if graded < 200:              # too few samples to judge: no verdict, no page
        return None
    return (1 - passed / graded) / BUDGET   # 1.0 = spending exactly on schedule

def quality_alert(long_window, short_window, threshold=3.0) -> bool:
    # long window (6 h) proves the burn is real; short window (1 h) proves it is still happening
    long_b, short_b = burn_rate(*long_window), burn_rate(*short_window)
    return (long_b is not None and short_b is not None
            and long_b > threshold and short_b > threshold)

A burn of 3 over six hours spends about 2.7% of a 28-day budget, enough to matter and too much to wait for a weekly review. Availability gets faster rules, because its events are counted on all traffic, not on a sample.

Alert Rule Route
Availability, fast burn Burn above 14 over 1 h, confirmed over 5 min Page on-call
Availability, slow burn Burn above 6 over 6 h, confirmed over 30 min Page on-call
Quality burn Burn above 3 over 6 h, confirmed over 1 h, at least 200 graded Page the feature team
Budget trend Burn above 1 over 3 days Ticket, no page
Causes: 529 rate, max_tokens share, cache hit ratio None Dashboard only

These thresholds and window pairs follow the multi-window, multi-burn-rate pattern from general site reliability engineering practice; nothing in them comes from Claude or the API, so tune them to your traffic and budget window. Read the first row as an example: a burn of 14 sustained for one hour spends about 2% of a 28-day budget. Noise comes from three places this design removes: alerting on causes, alerting on one short window that a burst can trip, and alerting on tiny samples. Every page also links to one runbook step that says what to check first.

3.2.4 Dashboards with token and cost telemetry

A burn-rate page says that users are hurting. The dashboard has to say where, and for an LLM service much of "where" is in the tokens. Output tokens per task show how much the model is writing; uncached input, cache writes and cache reads show how the prompt is assembled and whether caching works; stop_reason shares show how responses end. A change in any of them is often the first visible trace of a behavioural change.

Quillstone's on-call dashboard reads top to bottom, from "are we meeting our promises" to "what changed".

Quillstone's summary dashboard, top to bottom

SLOs

Availability, latency, quality
Budget left this window

Behaviour

Quality pass rate by version
Action items per summary
stop_reason shares

Tokens and cost

Tokens per summary by type
Cost per summary
Top tenants by spend

Causes

429 and 529 rates
Retries per request
The top row answers whether users are served; each row below narrows the question, and every chart carries deploy markers and splits by model and prompt version.

Per-request numbers come from your own telemetry: every response carries a usage object, and your service records it with the tenant, feature, model and prompt version attached. That is the only source that knows your tenants and features, and it arrives within seconds.

Anthropic's Admin API offers a second source. The Usage and Cost Analytics API (/v1/organizations/analytics/usage and /analytics/cost, in beta) reports the organisation's tokens, requests and cost. It groups by dimensions such as model, workspace, API key, service tier and actor, the user or service account behind each request. A Console organisation calls it with an Admin API credential, and data typically arrives within 4 hours and can take up to 24. The legacy Usage and Cost API (usage_report/messages and cost_report) still serves Console organisations: usage usually within about 30 minutes, cost in daily buckets only.

Source Freshness What it answers
Your per-request telemetry Seconds Cost per summary, per tenant, per prompt version; live alerts
Usage and Cost Analytics API Typically within 4 h, up to 24 h Billed truth by model, workspace, key, actor; finance reconciliation
Legacy Usage and Cost API Usage about 30 min; cost daily The same aggregates for existing integrations

Use the Admin API data to reconcile, not to page. Once a day Quillstone compares its own token totals per model with the API's. A gap means traffic your telemetry misses, such as a forgotten batch job on another key. Neither Admin API source knows your tenants unless you give each tenant its own key or workspace.

3.2.5 Detecting quality drift and behavioural regression after a model update

Back to Quillstone. Last Tuesday at 14:00, Quillstone's platform team moved the summary feature to a newer Claude model. The offline test suite passed, the change shipped behind a config flag, and nobody watched what happened next. This is the case the exam calls drift after a model update, and it pays to be precise about where the change came from.

Every Claude model ID is a pinned snapshot: the model behind claude-sonnet-5-5 does not change under you. So a behaviour change "after a model update" starts with a change you made: a new model ID, a new prompt, a new parameter. Older models are deprecated and then retired on announced dates, and requests to a retired model fail, which forces migrations onto every team's calendar. Treat each one as a deploy. Read the model from each response's model field, label every metric with it, and mark the switch on every chart.

Two shapes of change matter, and they point to different causes.

Regression or drift: read the shape of the change

Behavioural regression

Step change within hours
Lines up with a model or prompt change
Only the new version's traffic moves

Roll back, then fix and re-test

Quality drift

Slow slide over days or weeks
No version change behind it
Inputs shift: longer meetings, new languages

Find the input change; update the eval set

A step that lines up with a deploy marker is a regression to roll back; a slow slide with no change of version points at the inputs or the world.

To see either one, track a behavioural fingerprint next to the quality SLI: cheap measures computed on every output and compared with a trailing baseline, such as the same hour on the same weekday over four weeks. For meeting summaries: output tokens per summary, action items per summary, the share of summaries with an empty action-item section, and the refusal and max_tokens shares.

Replay the week. Within an hour of the switch, output tokens per summary fell from about 410 to 335. The share of summaries with no action items rose from 1.5% to 11%. Graded pass rate dropped from its usual 98.5% (a burn of 0.5) to 87%, a burn of about 4.3 that would have paged by early evening. Split by model, only the new model moved; split by meeting length, it was worst above 30 minutes. The traces showed why: the new model folded commitments into the recap prose, where the task parser never looked. Ravi rolled the model change back, and the SLI recovered by Thursday afternoon.

3.2.6 Anomalous usage: one tenant's spike and abuse patterns

The last job is the one finance notices first. On Sunday night, one Quillstone tenant's tokens run at 38 times its own baseline. Organisation spend is up only 4%, because 2 million summaries a day hide one customer. No global threshold would have fired, and a static one tight enough to fire would page every Monday morning, when every tenant's meetings start at once.

Anomalous usage is detected per tenant against that tenant's own baseline, as a ratio, not against a fixed number. Quillstone tracks, per tenant and hour, tokens consumed, summaries requested, input tokens per summary and summaries per meeting ID, each compared with the same hour last week. A ratio above 10 opens a ticket and notifies the account owner. That Sunday, the cause was a customer's integration that re-submitted the same three-hour recording every five minutes: 280 summaries for one meeting ID.

Pattern Signal that shows it Response
Runaway integration or retry loop Many summaries per meeting ID Ticket, notify tenant, per-tenant quota
Feature used as a free general LLM Inputs that are not transcripts; tokens per request off the tenant's norm Validate input type, rate-limit, review account
Probing the model's limits Refusal rate for one tenant or user far above everyone else Security review, suspend if confirmed
Organic growth Smooth rise across many tenants Capacity and budget planning, no alert

Two controls sit outside the detector. Quillstone sends an opaque per-user hash in the request's metadata.user_id. The API reference says Anthropic may use this identifier to help detect abuse, and it must never contain names, emails or phone numbers. It gives Quillstone no report, though; its own telemetry still does the detecting. Containment, such as per-tenant quotas or a workspace spend limit, which rejects requests with a 400 once reached, is enforced in code and configuration, not by the model.

3.2.7 The exam traps

Each trap either watches delivery instead of the user's outcome, or alerts in a way that wakes people without telling them anything.

  • ✗ Treating a flat error rate as proof of health. ✓ Add a quality SLI from sampled evaluation and a refusal rate, because wrong outputs and refusals both return HTTP 200.
  • ✗ Paging on every cause: single 529s, token counts over a fixed line, a dependency's CPU. ✓ Page on multi-window burn-rate alerts against SLOs and keep causes on dashboards, so each page means users are affected.
  • ✗ Silencing a noisy alert by loosening its threshold or lowering the SLO to today's level. ✓ Fix the alert design (windows, minimum samples, symptom not cause) and keep the target the users need.
  • ✗ Paging from the Usage and Cost Admin API. ✓ Alert from your own per-request telemetry, which is seconds fresh and knows your tenants. The Admin API reports aggregates by model, workspace, key and actor, hours behind, for reconciliation and finance.
  • ✗ Answering a quality drop after a model change with a bigger model. ✓ Split metrics by model and prompt version, compare the behavioural fingerprint with the pre-change baseline, and roll back if the step lines up with the deploy.
  • ✗ Spotting a tenant's spike with an organisation-wide spend threshold. ✓ Compare each tenant with its own baseline as a ratio; one customer disappears inside an organisation's total.

3.2.8 Put it together: build an SLO alert and watch it catch a regression

You now have every piece: SLIs that measure the user's outcome, SLOs and budgets that turn them into decisions, burn-rate alerts that page only when it matters, dashboards that narrow the cause, and watchers for drift and anomalous tenants. The fastest way to own them is to compute them on data you control and then break the data.

The rest of the domain builds on this. Telemetry and instrumentation (3.1) emits the usage, version and tenant fields these SLIs are computed from. Trace analysis at scale (3.3) takes over once an alert fires, finding the cohort of traces behind a burn. Online quality measurement (5.3) designs the sampling and the grader that produce the quality SLI.

Key takeaways

  • ✓ An LLM service can fail with HTTP 200, so delivery metrics alone cannot say whether users are served.
  • ✓ Define SLIs as good-to-valid ratios at the user's boundary: availability after retries, latency percentiles, a sampled quality pass rate, refusal rate and cost per task.
  • ✓ Set SLOs with error budgets and page on multi-window burn rates with minimum samples, keeping cause metrics on dashboards.
  • ✓ Build dashboards from SLOs down to causes, split by model and prompt version, with token and cost telemetry from your own usage records.
  • ✓ Use the Usage and Cost Admin API for reconciliation and finance by model, workspace, key and actor, not for live alerts.
  • ✓ Model IDs are pinned snapshots, so drift after a model update follows your own deploy: watch a behavioural fingerprint and roll back a step change.
  • ✓ Detect anomalous usage per tenant as a ratio to its own baseline, and contain it with quotas and limits enforced in code.

Check your understanding

4 questions written for this lesson. Every answer option is explained, including the ones you did not pick. Nothing is stored.

CCDV-P practice questions are being written

There is no CCDV-P question bank on this site yet. The practice questions are being written now. Until they are ready, work through the free study guide: every lesson ends with questions that check your understanding, and every answer option is explained.

Back to Domain 3 → The CCDV-P exam guide →

The CCDV-P course will hold the same study guide as a book, for reading in the app.

Sources