MockCertMockCert
Menu

Test yourself in exam conditions

A full NVIDIA-Certified Professional: Agentic AI mock exam: 65 questions in 120 minutes. Your first one is free.

Start a free mock exam
Domain 3 · 5 topics · about 28 minTopics in this domainTopics

Domain 3 · Overview

Overview

Up next: Implement evaluation pipelines and task benchmarks to measure performance. · 9 steps + check · 5 min

Domain 3 · Topic 1 of 5

Implement evaluation pipelines and task benchmarks to measure performance.

Step 1 of 9

Think first What makes an agent benchmark score trustworthy enough to compare two versions of the same agent?

Why it matters: Questions describe an evaluation setup and ask which scorer, statistic or tracing step gives a reliable result.

An evaluation pipeline pairs each benchmark with a scorer, then turns many scored samples into statistics you can trust. After an evaluation, LangSmith tracing can link runs to dataset examples and attach the evaluator scores as feedback.

Step 2 of 9

Term Meaning
Benchmark A task set in NeMo Evaluator, defined with decorators such as @benchmark plus @scorer, or @register.
Scorer Set for each benchmark with the @scorer decorator; the scoring/ package also offers reusable scorers.
LLM-as-judge Scoring where another model grades the answer in a post-processing step.
Experiment The LangSmith experiment project an evaluation run's OTEL traces land in; each run gets its own.

Step 3 of 9

NeMo Evaluator ships 17 built-in benchmarks. More environment types can be pulled in through URI schemes and namespace prefixes, such as lm-eval:// and gym://. Each benchmark brings its own scorer, set with the @scorer decorator.

Step 4 of 9

Each reusable scorer checks answers in its own way. The table shows what each one checks. code_sandbox pulls code out of markdown fences before running it, and needs_judge hands the sample to a judge.

Reusable scorers compared

Scorer What it checks Typical use
exact_match Normalized strings: lowercase, no punctuation or extra spaces, articles collapsed Text answers compared after normalization
numeric_match The last number found in the response Responses scored on the last number they contain
code_sandbox Runs extracted code inside an isolated Docker container with memory limits and timeouts HumanEval code tasks
needs_judge Marks the sample for an LLM judge to score later Samples that require LLM-as-judge scoring

Exam trap A needs_judge sample first comes back with correct set to False. That is a placeholder; the judge post-processor in scoring/judge.py gives the real score.

Step 5 of 9

GPQA Diamond shuffles answer choices with a seeded RNG. Shuffling stops a model from scoring well just by favoring one position.

Step 6 of 9

Confidence intervals are 95%, from 10,000 bootstrap resamples. With repeats, rewards are averaged per problem before analysis. When problems carry category metadata, per-category accuracy is computed for you.

Step 7 of 9

nel gate finds result bundles named eval-.json in a folder. Name your bundles to match that pattern, or the gate step will not pick them up.

Step 8 of 9

OTEL traces arrive in asynchronous batches, so matching retries. Runs are matched to items when one input text contains the other. LangSmith can also return 200 OK before a run is indexed, silently losing the link. Eager linking avoids that delay by mapping span IDs straight to run IDs.

Exam trap If runs cannot be queried, every item is treated as unlinked, so feedback can still be recorded at the experiment level.

Step 9 of 9

  • Each NeMo Evaluator benchmark defines its own scorer with the @scorer decorator.
  • Reported confidence intervals are 95%, built from 10,000 bootstrap iterations.
  • Judge-scored samples get their final score later, from the post-processing judge in scoring/judge.py.
  • LangSmithEvaluationCallback links runs to dataset examples after the evaluation and attaches scores as feedback.

Sources: Scoring | NVIDIA NeMo Evaluator (opens in a new tab) · nat.plugins.langchain.langsmith.langsmith_evaluation_callback — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab) · Built-in Benchmarks | NVIDIA NeMo Evaluator (opens in a new tab) · Evaluation Result Format | NVIDIA NeMo Evaluator (opens in a new tab)

Check

Check: Implement evaluation pipelines and task benchmarks to measure performance.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Compare agent performance across tasks and datasets. · 11 steps + check · 6 min

Domain 3 · Topic 2 of 5

Compare agent performance across tasks and datasets.

Step 1 of 11

Think first How do you tell whether one agent run truly beats another, rather than winning by chance?

Why it matters: Questions describe two evaluation runs and ask whether the comparison is fair, what a verdict means or which setting reduces noise.

A fair comparison holds everything constant except the change you are testing. Repeated runs and paired statistics then separate a real difference from sampling noise.

Step 2 of 11

Term Meaning
Paired test A test that compares two runs problem by problem; nel compare treats a comparison this way.
Discordant pair A problem on which the two models disagree; McNemar's test looks only at these.
reps_per_param_set Optimizer setting for how many times the workflow runs per parameter set; the default is 3.
Pareto optimal A trial where improving one metric would make another metric worse.

Step 3 of 11

Compare only runs that were set up the same way. Both runs need the same benchmark, prompt template, dataset slice, max problems and repeat count. Otherwise a difference may come from the setup instead of the agent.

Exam trap Small benchmarks are noisy. HumanEval has 164 items and can move several percentage points between runs from sampling noise alone.

Step 4 of 11

nel compare runs a paired statistical test. It applies McNemar's exact binomial test to the discordant pairs, asking whether the regression count is bigger than chance would explain. The default practical threshold, --max-drop, is a 5% drop, written 0.05 on a 0-1 scale.

Step 5 of 11

INCONCLUSIVE means too little paired data. Re-run with more problems or switch to a larger benchmark. For CI, --strict (off by default) makes the command exit non-zero on BLOCK, WARN or INCONCLUSIVE. By default it saves regression_report.md inside the candidate's result folder.

Exam trap nel compare diagnoses; it is not the release gate. nel gate is the tool that enforces policy across benchmarks.

Step 6 of 11

Repeat runs to average scores and see variation. Use 3-5 reps for deterministic workflows and 10-20 for highly stochastic outputs. If metrics still vary a lot, raise reps_per_param_set and keep evaluation conditions consistent.

The two repetition settings compared

Feature nat eval --reps reps_per_param_set
Used by nat eval The optimizer, for each parameter set
Default 1 3

Step 7 of 11

--dataset swaps in a different JSON dataset. The file holds questions with ground truth answers and overrides the dataset path in the config file. With --skip_workflow, the workflow does not run; the dataset is scored as given and must hold the generated_ columns.

Step 8 of 11

Give every run its own output folder. Set append_job_id_to_output_dir to true to add a job_{UUID} folder per run, so earlier results survive. In the Weave dashboard, keep one project name and tell runs apart with workflow_alias.

Step 9 of 11

Select the runs, then click Compare. Pick the runs in the Weave dashboard and press the Compare button. Plots of metrics for single dataset entries appear only when exactly 2 runs are compared.

Exam trap Per-entry metric plots do not appear when you compare three or more runs in Weave. They work only across two runs.

Step 10 of 11

The optimizer folds many metrics into one score. multi_objective_combination_mode supports harmonic (the default), sum and chebyshev. Sum allows compensation, so a strong metric can offset a weak one. Each metric's weight defaults to 1.0 and is normalized.

Exam trap Do not expect a 2D Pareto front plot for three metrics. pareto_front_2d.png appears only when exactly 2 metrics are optimized.

Step 11 of 11

  • Match benchmark, slice, template, repeats and max problems before comparing runs.
  • nel compare applies McNemar's exact binomial test to discordant pairs.
  • INCONCLUSIVE means re-run with more problems or a larger benchmark.
  • Repeat noisy evaluations: --reps defaults to 1 and reps_per_param_set to 3.

Sources: Comparing Evaluation Runs | NVIDIA NeMo Evaluator (opens in a new tab) · Agent Evaluation in NVIDIA NeMo Agent Toolkit — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab) · NVIDIA NeMo Agent Toolkit Optimizer — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab) · Command Line Interface — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab)

Check

Check: Compare agent performance across tasks and datasets.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Collect and integrate structured user feedback for iterative improvements. · 11 steps + check · 5 min

Domain 3 · Topic 3 of 5

Collect and integrate structured user feedback for iterative improvements.

Step 1 of 11

Think first How do you turn user reactions and evaluation failures into concrete improvements to an agent?

Why it matters: Questions describe a feedback need and ask which endpoint, mode or pipeline captures it and puts it to use.

Feedback comes from two places: users rating responses and evaluations finding failures. NeMo Agent Toolkit links user ratings to traces, feeds failure reasoning back into prompt optimization, and exports traces to improve models.

Step 2 of 11

Term Meaning
/feedback endpoint A FastAPI endpoint for thumbs-up or thumbs-down ratings that are linked to Weave traces.
Oracle feedback Failure reasoning from evaluations, injected into the prompt optimization genetic algorithm.
Data Flywheel Blueprint NVIDIA blueprint that uses exported traces to fine-tune and evaluate smaller replacement models.
workload_id Data Flywheel label on a trace, mapped by default to the parent registered function.

Step 3 of 11

Weave plus FastAPI can expose a /feedback endpoint. Users give thumbs-up or thumbs-down on agent responses, and each rating is linked to a trace in your Weave project. The WeaveFastAPIPluginWorker registers the endpoint when Weave telemetry is configured.

Step 4 of 11

Weave attributes feedback by name, then email, then ID. It takes the first available of trace_user_name, trace_user_email and trace_user_id, falling back to anonymous. You opt in to attribution by setting these trace_ fields explicitly.

Exam trap Setting a general user name on the context metadata does not attribute Weave feedback. Only the explicit trace_ fields are used.

Step 5 of 11

Each credential maps to a stable UUID v5 user_id. The same credential gives the same user_id over HTTP or WebSocket. With HTTP Basic Auth the password is part of the key. A new password gives a new user_id, and prior workflow state becomes unreachable.

Exam trap Identity resolution is not authentication. It only maps identities, and JWTs are decoded without signature verification.

Step 6 of 11

Oracle feedback learns from specific evaluation failures. It puts failure reasoning into the prompt optimization genetic algorithm. extract_worst_reasoning takes reasoning from the worst-performing items, and build_oracle_feedback returns None when no reasoning exists.

Step 7 of 11

Oracle feedback has 4 modes. The modes are never, always, failing_only and adaptive. In failing_only, fitness_threshold decides whether feedback is injected. adaptive can trigger after stagnation_generations without improvement.

Step 8 of 11

LangSmith adds evaluation metrics to logging and tracing. With nat eval, each example's run links to its dataset example, with evaluator scores attached as feedback. In prompt optimization, each trial's prompt gets a commit tag, and the best trial's prompt is tagged best.

Step 9 of 11

Exported traces can train smaller, faster models. The Data Flywheel Blueprint fine-tunes and evaluates smaller models from the traces to cut latency. It picks training data by client_id plus workload_id. Use @track_unregistered_function for custom workload scopes.

Step 10 of 11

UserInteractionManager asks the user at runtime. Its prompt_user_input method asks a question and waits, delegating to the callback in ContextState.user_input_callback. SessionManager typically sets that callback.

Step 11 of 11

  • The Weave /feedback endpoint links thumbs-up or thumbs-down ratings to traces.
  • Weave attributes feedback by trace_user_name, then email, then ID, else anonymous.
  • Oracle feedback injects failure reasoning into the prompt optimization genetic algorithm.
  • Data Flywheel uses traces to fine-tune smaller models that reduce latency.

Sources: Observe Workflows — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab) · nat.plugins.config_optimizer.prompts.oracle_feedback — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab) · User Identity Resolution — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab) · nat.builder.user_interaction_manager — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab)

Check

Check: Collect and integrate structured user feedback for iterative improvements.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Tune model parameters (e.g., accuracy, latency-efficiency trade-offs). · 11 steps + check · 6 min

Domain 3 · Topic 4 of 5

Tune model parameters (e.g., accuracy, latency-efficiency trade-offs).

Step 1 of 11

Think first How do you trade a little latency for throughput, or memory for speed, when tuning a served model?

Why it matters: Questions describe a deployment goal and ask which NIM setting, override or benchmark result reaches it.

A NIM starts from a profile, and several setting sources can override it in a fixed order. A concurrency sweep shows the throughput and latency trade-off, and acceptable accuracy comes before any cost figure.

Step 2 of 11

Term Meaning
Profile A NIM configuration whose description may name a GPU, a throughput or latency variant, or a minimum memory.
Tensor parallelism Splitting model layers across several GPUs; set with NIM_TENSOR_PARALLEL_SIZE.
Speculative decoding NGRAM, MTP or EAGLE3 decoding, switched on or off at runtime rather than chosen by profile.
Pareto curve The throughput and latency pairs that a concurrency sweep produces.

Step 3 of 11

Measure cost only once accuracy is acceptable. The application's use case defines what acceptable means. Then benchmark the model itself, its throughput, latency and token-level metrics, rather than simulating traffic.

Step 4 of 11

Direct container arguments beat every other setting. Once every override is applied, NIM fetches the profile for the final resolved setup. Downloaded model files then always fit the launch configuration.

Settings that override a NIM profile, highest priority first

Rank Setting Example
1 Direct container arguments --tensor-parallel-size 4
2 NIM_PASSTHROUGH_ARGS --block-size 32 --max-num-seqs 16
3 NIM environment variables mapped to backend arguments NIM_TENSOR_PARALLEL_SIZE=4
4 runtime_config.json A profile's spec config

Exam trap A profile's tp=2 does not win over your setting. With NIM_TENSOR_PARALLEL_SIZE=4 set, TP=4 is what the backend uses.

Step 5 of 11

NIM_PASSTHROUGH_ARGS carries backend CLI flags. If the image already supplies a flag such as --block-size 32, keep it and append yours. For example, set the variable to --block-size 32 --max-num-seqs 16.

Exam trap Do not replace the image's --block-size 32 with your new flag alone. Keep the image value and append your own after it.

Step 6 of 11

The profile selector estimates GPU memory needs. It works from model weights, KV cache, activations and overhead. The table lists variables that override parallelism, the context window, CUDA graphs and warmup.

NIM tuning variables and what to watch for

Variable Effect Watch for
NIM_TENSOR_PARALLEL_SIZE Splits layers across that many GPUs It overrides the profile's own TP degree
NIM_MAX_MODEL_LEN Overrides the context window Values above the trained maximum may cause errors
NIM_DISABLE_CUDA_GRAPH=true Turns off CUDA graph optimization May save GPU memory but lowers throughput
NIM_STARTUP_WARMUP Sends one small chat request before ready Spares the first client the kernel compilation cost

Step 7 of 11

Speculative decoding is a runtime toggle, not a profile. Set NIM_SPECDEC_ENABLE=0 to force it off for every profile. For its settings, CLI --speculative-* flags and NIM_PASSTHROUGH_ARGS beat NIM_SPECDEC_ARGS, which beats the profile's spec block.

Step 8 of 11

Sweep concurrency to get a Pareto curve. Put output token throughput on one axis and inter-token latency on the other, then choose the concurrency with the highest throughput inside your latency budget. Record the engine and resolved arguments before you collect data.

Exam trap At the default log level you cannot tell whether an override took effect, because the Resolved configuration: line is suppressed.

Step 9 of 11

Keep runs comparable and inputs honest. A synthetic workload and a replayed trace of real requests answer different questions, so never compare a synthetic point with a traced one. Use a fresh cache_salt per run. The completions endpoint has no system role, so a shared system prefix vanishes. An input near a tenth of the expected length means checking --endpoint-type.

Step 10 of 11

optimize_parameters tunes non-prompt hyperparameters. It persists the best configuration it finds. create_pareto_visualization plots results from an Optuna Study, a file path or a pandas DataFrame.

Step 11 of 11

  • Direct container arguments outrank NIM_PASSTHROUGH_ARGS, mapped variables and runtime_config.json.
  • NIM_DISABLE_CUDA_GRAPH=true may save GPU memory but costs throughput.
  • NIM_SPECDEC_ENABLE=0 turns speculative decoding off for every profile.
  • Pick the concurrency with the highest throughput inside your latency budget.

Sources: Model Profiles and Selection — NVIDIA NIM for LLM and VLM (opens in a new tab) · Benchmarking — NVIDIA NIM for LLM and VLM (opens in a new tab) · Environment Variables — NVIDIA NIM for LLM and VLM (opens in a new tab) · nat.plugins.config_optimizer.parameters.optimizer — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab) · nat.plugins.config_optimizer.parameters.pareto_visualizer — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab)

Check

Check: Tune model parameters (e.g., accuracy, latency-efficiency trade-offs).

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Analyze evaluation results to guide targeted optimization. · 9 steps + check · 5 min

Domain 3 · Topic 5 of 5

Analyze evaluation results to guide targeted optimization.

Step 1 of 9

Think first After an evaluation run, how do you tell whether a low score points to the answers, the output format or the model errors?

Why it matters: Questions show evaluation results and ask which breakdown, failure category or tool points to the right fix.

NeMo Evaluator can break evaluation results down in three ways. The ArtifactCollector sorts failures into categories, category metadata turns on per-category accuracy, and bootstrap resampling gives 95% confidence intervals.

Step 2 of 9

Term Meaning
Failure analysis NeMo Evaluator's automatic sorting of failed samples into categories, written to failure_analysis.json.
pass@k The standard Codex-style metric, computed from n attempts per problem of which c are correct.
Eval bundle A results file read by nel compare and nel gate, named to match eval-*.json.
Bootstrap CI A 95% confidence interval built from 10,000 bootstrap resamples.

Step 3 of 9

The ArtifactCollector sorts failures into categories for you. The output goes to failure_analysis.json. Check which categories dominate before tuning anything.

Failure categories and what each one is detected from

Category Detected when Checked in
format_error Response is not empty, but no answer was extracted The model's response
refusal Response contains phrases like "I cannot" or "I'm sorry" The model's response
rate_limit Model error contains "429" or "rate" The model error

Exam trap A rate_limit failure is read from the model error, which contains 429 or "rate". It is not judged from the answer the model gave.

Step 4 of 9

Category metadata turns on per-category accuracy. Add a metadata.category label such as algebra or geometry to each result. Regression reports then show a per-category breakdown and clustered confidence intervals.

Step 5 of 9

Intervals are 95%, from 10,000 bootstrap iterations. With repeats, rewards are averaged per problem before analysis. For multiple attempts, pass@k uses n attempts per problem with c correct.

Exam trap Keep problem_idx the same for a problem in every run. If it changes, runs cannot be compared problem by problem.

Step 6 of 9

nel compare and nel gate read results.jsonl and eval bundles. nel gate finds bundles named eval-*.json in a folder. Each bundle's benchmark.name has to equal the name used in the gate policy YAML.

Step 7 of 9

The toolkit profiler has modules for analyzing evaluation traces. Its inference_optimization package covers prompt caching, token uniqueness and workflow runtimes. Bottleneck analysis comes in nested stack and simple stack variants.

Step 8 of 9

Each optimizer trial gets its own experiment on a shared dataset. LangSmithOptimizationCallback creates that dataset before any trial runs. Without a set prompt format, it auto-detects one and falls back to "f-string" when it finds no curly-brace templating.

Exam trap Above 5,000 items per trial, the 600-second retry window may run out. Some runs then look unlinked in the UI, although every trace was delivered.

Step 9 of 9

  • Check failure_analysis.json first: it sorts failures into format errors, refusals and rate limits.
  • Add category metadata to get per-category accuracy and clustered confidence intervals.
  • NeMo Evaluator reports 95% confidence intervals from 10,000 bootstrap iterations.
  • For nel gate, name bundles eval-*.json and match benchmark.name to the policy YAML.

Sources: Scoring | NVIDIA NeMo Evaluator (opens in a new tab) · Evaluation Result Format | NVIDIA NeMo Evaluator (opens in a new tab) · nat.plugins.profiler.inference_optimization — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab) · nat.plugins.profiler.inference_optimization.bottleneck_analysis — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab) · nat.plugins.langchain.langsmith.langsmith_optimization_callback — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab)

Check

Check: Analyze evaluation results to guide targeted optimization.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Domain 3 · after the last topic

Domain 3 review

Each topic's Check tested it on its own; this mixes them.

Mixed quiz

Take the Domain 3 quiz

9 questions mixed from every topic in this domain, each answer explained. Mixing topics is harder than one at a time, and it is what the exam does. No account needed; with a free account your answers also build your estimated exam score.

Flashcards

Domain 3 flashcards

10 cards with this domain's key facts. Flip each one and check what you knew. No account needed.

Test yourself in exam conditions

A full NVIDIA-Certified Professional: Agentic AI mock exam: 65 questions in 120 minutes. Your first one is free.

Start a free mock exam
Next domain · 5% of the examDeployment and Scaling5 topics

Report a problem

On “”. Tell us what looks wrong; we read every report.

What is the problem?

Optional.