Know if you're actually ready. Take the Agentic AI quiz → get your AI readiness report.Take the free test →

Study guide · Agentic AI

Run, Monitor & Maintain: NCP-AAI Domain 8 (5%)

Deployment gets an agent live. This domain keeps it alive. It is 5% of the exam and covers the telemetry, drift detection and maintenance work that separates a demo from a production system.

What this domain covers

Once an agent is serving traffic, the questions change from "does it work?" to "is it still working, how do I know, and what do I do when it stops?" NVIDIA's exam page summarises the domain as the ongoing operation, monitoring, and maintenance of agentic systems post-deployment, and it is 5% of the exam. It covers observability built for multi-step systems, the cost and latency telemetry agents uniquely need, detecting quality regressions that no exception ever reports, and the maintenance loop that follows.

Tracing is the primitive

A single agent request is not one call — it is a tree of model calls, tool invocations and retrievals, any of which can be the thing that went wrong. Logging only the final response makes failures undebuggable. The unit of observability is a trace: one span per step, carrying inputs, outputs, latency, tokens and errors, all tied to a request id so a complaint can be traced to the exact step that failed.

trace  request_id=4f21c
 ├─ span  plan            420ms   1,180 tok
 ├─ span  tool:search     310ms   — (3 results)
 ├─ span  retrieve        180ms   — (5 chunks)
 ├─ span  synthesise      890ms   2,340 tok
 └─ span  guardrail:out    40ms   pass
NoteWithout per-step spans, "the agent gave a bad answer" is unactionable. With them it resolves to a specific step — bad retrieval, a failed tool, or a synthesis problem — and each has a different fix.

The metrics agents need that ordinary services do not

Standard service monitoring — error rate, p95 latency, throughput — still applies, but misses what actually goes wrong with agents. Track tokens and cost per request, because an agent that starts looping is a cost incident before it is an outage. Track steps per task, because rising step counts signal degrading planning. Track tool failure and retry rates, and track how often guardrails fire.

Standard:  error rate · p95 latency · throughput
Agentic:   tokens/request · cost/request · steps/task
           tool error rate · retry rate · guardrail trigger rate
           escalation-to-human rate
NoteCost per request is the metric most teams add only after a surprise bill. An agent with a broken stopping condition fails by spending money, not by returning errors — so no conventional alert fires.

Quality drift, and why it is silent

An agent can degrade while every system metric stays green: a model version changes, a knowledge base goes stale, a tool alters its response shape, or real user inputs drift away from what you tested. None of these raise exceptions. Catching them needs quality signals rather than health signals — a fixed evaluation set run continuously against production, sampled human review, and user feedback captured in-product.

Maintenance is a loop, not an event

The operating cycle is: observe production traces, find the failure patterns, turn each into a regression case in the evaluation set, fix, and re-run. Over time the evaluation set becomes an accumulated record of every way the system has actually failed — which is far more valuable than a set written from imagination before launch. Roll changes out behind canaries so a regression reaches a fraction of traffic, and keep rollback cheap.

NoteEvery production failure should end as a permanent test case. A fix without a regression case is a fix that can silently come back.

Which signal, which response

Monitoring is only useful if each signal has an owner and a planned response. Health signals tell you the system is up; behaviour signals tell you it is doing the right thing. An agent needs both, and the responses differ: a health alert usually means scaling, restarting or failing over, while a behaviour alert usually means looking at traces and comparing against the last known-good version.

Signal moves ...                        Usually means ...                 First response
Cost or tokens per request up ......... looping, retries, bloated context  check steps/task in traces; enforce budget
Steps per task up ..................... planning degraded, tool misbehaving find the step that repeats
Tool error / retry rate up ............ dependency changed or down        circuit-break the tool, degrade gracefully
Guardrail trigger rate jumps .......... new input pattern or an attack    sample the triggering inputs
Escalation rate up .................... quality dropped upstream          compare evals with last version
Eval score down, everything green ..... silent drift                      diff model, prompt, index, tool versions

Version everything that can change behaviour

In an ordinary service, a deploy is the main thing that changes behaviour. An agent's behaviour also changes when its model version, its prompts, a tool's schema, or the contents of its knowledge index change — and several of those can change without any deploy at all. Pin model versions rather than following a moving alias, keep prompts in version control, snapshot or version the index, and record all of these identifiers on every trace. Then "it got worse on Tuesday" can be answered by comparing what changed on Tuesday, and rolling back means returning to a known set of versions.

trace attributes worth recording on every request
  model=<name>@<pinned version>   prompt=<id>@<git sha>
  index=<snapshot id>             tools=<schema versions>
  guardrails=<config version>     release=<canary | stable>
NoteA hosted model behind an unpinned alias can change under you. If a question describes behaviour that shifted with no deploy, an unpinned dependency is a strong candidate.

Rolling out changes safely

Because quality regressions are silent, changes should reach users gradually. A shadow run sends a copy of real traffic to the new version and compares its outputs without showing them to anyone. A canary sends a small share of real traffic to the new version and watches behaviour signals as well as health signals before widening. Run the evaluation set before either, and keep the previous version deployable so rollback is a configuration change, not a rebuild. For actions that change external systems, shadow runs must have their side effects disabled — a shadow agent that also sends the email has not been shadowed.

Worked scenario: an overnight cost spike with no errors

A support agent's spend roughly triples overnight. Error rates are normal, latency is only slightly up, and nobody deployed anything. Start from the traces, not the dashboard. Steps per task have risen sharply, and the extra steps are repeated calls to one order-lookup tool. That tool's owners changed its error format the previous evening: it now returns a message the agent reads as "try again" rather than as a failure, so the agent retries until its budget runs out. The immediate fix is a circuit breaker on that tool and a hard step budget that ends the task with a handover to a person. The lasting fixes are a contract test on the tool's response shape, an alert on steps per task and cost per request, and a regression case in the evaluation set that replays the new error format.

Worked scenario: answers worse after a content update

After a quarterly refresh of the knowledge base, users start reporting outdated answers, even though the new documents are indexed. System metrics are green. Compare the traces of bad answers against the index snapshot: the old documents were not removed, so retrieval now returns both versions and the model sometimes cites the old one. The fix is in the data pipeline — remove or mark superseded documents and filter on version at query time — and the regression case is a set of queries whose correct answers changed in the refresh. Rolling back the model would not have helped, which is why recording the index snapshot on each trace matters.

Common misconceptions

"Green dashboards mean a healthy agent" — health metrics say nothing about answer quality. "Logging the final answer is enough" — without per-step spans, a bad answer cannot be traced to its cause. "Drift only comes from the model" — the index, tools and user inputs drift too. "Evaluation is a pre-launch activity" — the evaluation set should run on every change and grow from production failures. "Retry until it works" — unbounded retries turn a dependency failure into a cost incident.

How this domain connects to the rest of the blueprint

This domain picks up where Deployment and Scaling (13%) leaves off, and its quality signals are the evaluation methods of Evaluation and Tuning (13%) run continuously. The budgets and stop conditions that keep a failing tool from becoming a cost incident are designed in Agent Architecture and Design (15%). Escalation rate links to Human-AI Interaction and Oversight (5%), and the PII that ends up in traces is a Safety, Ethics, and Compliance (5%) concern.

NoteTo check this domain under exam-like weighting, take the free NCP-AAI readiness test: it draws 30 questions in proportion to the blueprint weights and gives a domain its own score bar when at least three of its questions are drawn. Every question is followed by instant feedback and an explanation, and the NCP-AAI practice test page opens with worked example questions.
Exam tipWhen a question describes an agent that is "working" but producing worse answers over time with no errors in the logs, it is testing quality drift. The answer is a continuous evaluation signal — not more infrastructure monitoring, which would have stayed green throughout.

Worked example questions

Exam-style questions on this domain, with the reasoning spelled out. They are written for this guide rather than taken from the readiness test's question bank.

An agent's answers changed in tone and quality on Tuesday. Nobody deployed anything, and the prompts and the index are unchanged. What is the strongest candidate?

  1. AA hosted model behind an unpinned alias changed versionCorrect
  2. BThe load balancer began routing traffic to a different region
  3. CError rates rose, which degraded every answer slightly
  4. DThe trace sampling rate was lowered, which hid the change
WhyAn agent's behaviour changes when its model version changes, and a hosted model behind a moving alias can change with no deploy at all, which is why model versions are pinned and recorded on every trace. Routing to another region does not by itself explain a change in quality, the scenario gives no sign of rising errors, and sampling fewer traces changes what you can see, not how the agent behaves.

A support agent's stopping condition breaks and it starts looping. Which alert is most likely to catch this first?

  1. AHTTP error rate above 1% across the service
  2. BSteps per task and cost per request above their usual baselineCorrect
  3. Cp95 latency of the health-check endpoint
  4. DCPU utilisation of the orchestrator hosts
WhyAn agent with a broken stopping condition fails by spending money, not by returning errors, so it is a cost incident before it is an outage. Steps per task and cost per request rise as soon as it loops. The error rate stays green because each call succeeds, a health-check endpoint never exercises the agent loop, and orchestrator CPU is a weak proxy when most of the time is spent waiting on model and tool calls.

A production failure has been diagnosed and fixed. Which step makes sure the same failure cannot silently come back?

  1. AAdd a note to the runbook describing the symptoms and the fix that was applied
  2. BAdd an alert so the on-call engineer is paged if the symptom appears again
  3. CRoll the fix out to all traffic at once so no user stays on the old version
  4. DAdd the failing case to the evaluation set as a regression testCorrect
WhyEvery production failure should end as a permanent test case: the evaluation set runs on every change, so a change that reintroduces the failure is caught before it ships. A runbook note documents the failure without testing for it, an alert notices it only after users are affected again, and rolling out to all traffic at once removes the canary that limits a regression to a fraction of traffic.

Sources and last verified

Exam figures on this page are read from the vendor pages below. Each date is when we last checked that page.

← All Agentic AI guides