Study guide · Agentic AI
Evaluation & Tuning: NCP-AAI Domain 3 (13%)
Evaluation & Tuning is 13% of the NCP-AAI exam — and the domain that separates a demo from a production agent. Here's how agents are measured and improved.
What this domain covers
Evaluation and Tuning is about knowing whether your agent actually works and making it work better. Agentic systems are harder to evaluate than single prompts because they take multiple steps, call tools, and can reach a right answer by a wrong path (or vice versa). This domain is 13% of the exam. NVIDIA's exam page summarises it as measuring, comparing, and optimizing agent performance — three different jobs, and questions often turn on which one a scenario actually needs.
What to measure: a metric map
No single number tells you whether an agent works. Pick metrics that match what the system is for, and track quality, efficiency and safety side by side, because an improvement on one often costs another. A change that raises task success while doubling the cost per task may not be an improvement at all.
Metric Question it answers Typical method Task success rate ....... did it complete the task? programmatic check or judge Tool-call accuracy ...... right tool, valid arguments? trace inspection vs expected calls Steps per task .......... did it take a sensible path? trace counts, loop detection Groundedness ............ is the answer supported by sources? rubric judge against retrieved text Latency (p50 / p95) ..... how long do users wait? request timing Cost per task ........... what does one task cost? token and tool-call accounting Policy violations ....... did it break a rule it must not? rule checks plus sampled review Escalation rate ......... how often does it hand to a human? event counts
Outcome vs trajectory evaluation
There are two complementary lenses. Outcome (or end-to-end) evaluation asks "was the final answer correct?" Trajectory evaluation asks "did it take a sensible path — the right tools, in a reasonable order, without wasted steps?" A good answer reached by luck and a correct path that happened to fail both matter, so production systems track both.
Outcome eval: final_answer == expected? (did it succeed) Trajectory eval: right tools, sane order, no loops? (did it reason well) Cost/latency: tokens, tool calls, wall-clock time (was it efficient)
LLM-as-judge
For open-ended outputs with no single correct answer, a common technique is LLM-as-judge: a separate model scores the output against a rubric. It scales far better than human grading, but it is imperfect — judges have biases (e.g. favoring longer answers) and must themselves be validated against human labels before you trust them.
Choosing an evaluation method
Use the cheapest method that measures the property you care about. When there is a checkable answer — a field value, a database row, code that must pass its tests, a JSON object that must validate — check it in code: it is fast, free and deterministic. Exact string match against a reference answer is rarely right for free text, because it marks correct answers worded differently as wrong. For open-ended output, use a rubric-based judge. To compare two versions, pairwise judging (which of these two outputs is better?) is often more reliable than asking for an absolute score. Keep human review for calibrating the judge and for high-stakes cases.
Situation Method Deterministic answer (value, row, test) ... programmatic check Free text with a reference answer ......... rubric judge, not exact match Open-ended output, no single answer ....... rubric-based LLM judge Comparing version A with version B ........ pairwise judge, swap the order High stakes, or calibrating the judge ..... human review on a sample
Making an LLM judge trustworthy
A judge is only as good as its rubric. Replace "rate the quality from 1 to 10" with discrete, checkable criteria — is every claim supported by the provided sources, does it answer every part of the question, does it follow the required format — and ask for the judge's reasoning before its verdict. In pairwise comparisons, run each pair in both orders, because judges can favour an answer for its position alone. Then measure how often the judge agrees with human labels on a sample before relying on it, and repeat that check whenever the judge's model or prompt changes.
Building an eval set
You cannot improve what you do not measure. Build a representative dataset of realistic tasks with known-good outcomes, run the agent against it on every change, and track metrics over time. Include hard and edge cases, not just the happy path — that is where regressions hide.
Offline and online evaluation
Offline evaluation runs a fixed eval set before a change ships; it is your regression gate. Online evaluation measures the live system: scoring a sample of production traces, tracking user feedback and escalations, and comparing versions on real traffic with A/B tests or a canary. Each covers the other's blind spot — offline sets miss the requests real users invent, and online signals arrive only after users are affected. The loop that ties them together is turning production failures into new offline test cases, so the same mistake cannot ship twice.
Comparing versions fairly
Model output varies between runs, so a single run per test case can make noise look like progress. Run each case more than once where it matters and look at the spread, not just the mean. Hold everything else fixed — the same eval set, the same judge, the same tool versions — so the only difference is the change under test. Break results down by category of task as well as in aggregate: an overall gain can hide a category that got much worse. And treat a small difference on a small eval set with suspicion until it repeats.
Tuning safely
Improving an agent means changing prompts, tools, models, or parameters — and any change can help one case while silently breaking another. The discipline is to change one thing at a time and re-run the eval set, so you keep only changes that improve aggregate metrics without regressions. Without an eval harness, "tuning" is just guessing.
Tuning levers, cheapest first
Work up from the cheapest, most reversible changes. Clearer prompts and tool descriptions come first. Retrieval quality comes next for knowledge-heavy agents — chunking, the number of results returned, reranking — because an agent cannot reason its way past missing context. Then structure: step limits, a planning step, or a verification step. Then model choice per step, such as a smaller model for routine steps. Decoding settings matter too: a lower temperature makes tool calls and structured output more consistent, though it does not make an answer more correct. Fine-tuning is the most expensive lever. It suits behaviour, format and domain style learned from good examples, not facts that change often, which retrieval handles better.
Worked scenario: good scores, unhappy users
An agent posts a high overall success rate on its eval set, yet users report slow, unhelpful answers on billing questions. Start by slicing the results by category: the billing slice may be small enough that its failures barely move the aggregate. Then check coverage — if the eval set came from the team's own test prompts, it may not contain the requests users actually send, so sample real production traces and add the failing ones. Next, look at trajectories, not just outcomes: an agent that reaches the right answer after many redundant tool calls passes an outcome check while being slow and expensive. The fix that follows is a targeted one — perhaps a missing tool or a misleading description — re-measured on the expanded set before it ships.
Common misconceptions
"A high aggregate score means the agent works" — aggregates hide weak categories; slice them. "The LLM judge is ground truth" — it is an instrument that needs calibrating against people. "A lower temperature makes the agent more accurate" — it makes it more repeatable, which is a different property. "Fine-tuning is the first fix" — it is usually the last, after prompts, tools and retrieval. "One run per test case is enough" — variation between runs can exceed the effect you are trying to measure.
How this domain connects to the rest of the blueprint
Evaluation is how you verify the design choices of Agent Architecture and Design (15%) and the build choices of Agent Development (15%). Online evaluation continues into Run, Monitor, and Maintain (5%), where the same metrics become production monitoring, and groundedness checks overlap with Knowledge Integration and Data Handling (10%). An eval set is also the release gate that Deployment and Scaling (13%) depends on.
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.
You use an LLM judge to compare two versions of an agent by showing it both outputs side by side. What makes that comparison trustworthy?
- AAlways present the newer version first, so the judge sees the candidate before the baseline
- BAsk the judge for a 1-to-10 score per output and compare the averages
- CSkip human labels, since a judge model is more consistent than people
- DRun each pair in both orders and check the judge against a human-labelled sampleCorrect
After a prompt change, the eval score rises from 81% to 83% on a 40-case set, with one run per case. What is the right conclusion?
- AShip the change, because any rise on a fixed eval set is a measured improvement
- BTreat it as unproven until repeated runs show the gain is larger than the run-to-run noiseCorrect
- CReject the change, because a two-point rise can never be meaningful in practice
- DSwitch to a larger model, since prompt changes cannot move results this little
An agent's tool-call arguments vary between identical runs, and some of them fail to parse. Which tuning lever targets this first?
- AFine-tune the model on a few thousand examples of correct tool calls first
- BRaise the temperature so the model explores more argument formats per call
- CLower the temperature to make the tool-call output more consistentCorrect
- DAdd a second agent that rewrites every tool call before it is sent to the tool
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.
- NVIDIA-Certified Professional: Agentic AI (NCP-AAI) — last verified · www.nvidia.com/en-us/learn/certification/agentic-ai-professional/
- NVIDIA certification FAQ (retake terms) — last verified · www.nvidia.com/en-us/learn/certification/
Further reading