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 4 · 5 topics · about 26 minTopics in this domainTopics

Domain 4 · Overview

Overview

Up next: Deploy and orchestrate multi-agent systems at production scale. · 10 steps + check · 5 min

Domain 4 · Topic 1 of 5

Deploy and orchestrate multi-agent systems at production scale.

Step 1 of 10

Think first What does it take to run a model too large for one node, and keep that deployment healthy at production scale?

Why it matters: Questions describe a large-model deployment on Kubernetes and ask which parallelism, network, storage or operator setting it needs.

When one node's GPUs are not enough, NIM spreads a very large model across several nodes. Leader and worker pods form a Ray cluster, and vLLM or SGLang runs the model across it.

Step 2 of 10

Term Meaning
Leader/worker model Leader and worker pods run the same NIM image; a command injected at deployment sets each role.
LeaderWorkerSet A Kubernetes-native CRD for managing leader/worker pod groups.
Tensor-parallel size Commonly set to the number of GPUs per node in a multi-node deployment.
Pipeline-parallel size Commonly set to the number of nodes in a multi-node deployment.
NIMService The NIM Operator custom resource that automates multi-node deployment.

Step 3 of 10

NIM runs on Kubernetes with Helm charts or the NIM Operator. Other orchestration platforms, such as KServe, OpenShift and Run:ai, work too. When a single node's GPU capacity is not enough for a very large model, such as DeepSeek R1, use multi-node deployment.

Step 4 of 10

One NIM image serves both leader and worker pods. The command injected at deployment time sets each pod's role. Install the LeaderWorkerSet CRD to manage these pod groups. Ray forms the cluster, and vLLM or SGLang runs the model across it.

Exam trap The distributed backend is not a separate choice you make; vLLM or SGLang is selected automatically based on the NIM image.

Step 5 of 10

Commonly, TP matches GPUs per node and PP matches node count. The Helm chart needs both sizes greater than 0, or model.profile set instead. With neither, the chart fails to render.

The most common multi-node parallelism settings

Setting Common value Two nodes with 8 GPUs each
Tensor-parallel size GPUs per node 8
Pipeline-parallel size Number of nodes 2

Exam trap Leaving both parallel sizes unset without model.profile does not fall back to a default; the Helm chart fails to render.

Step 6 of 10

Multi-node TP needs a high-bandwidth, low-latency interconnect. InfiniBand with RDMA is one example. InfiniBand or RoCE is recommended for optimal NCCL performance. Workers join the Ray cluster on port 6379 by default, so that port must be reachable between pods.

Exam trap Pod-to-pod traffic is not optional: workers join Ray on port 6379 by default, so network policies must let it through.

Step 7 of 10

Use ReadWriteMany when persistence is enabled. A ReadWriteOnce PVC cannot be mounted on multiple nodes. Also set model.jsonLogging=false in Helm values, because the JSON log formatter breaks Ray worker initialization.

Exam trap ReadWriteOnce storage does not work for multi-node persistence; such a PVC cannot be mounted on multiple nodes.

Step 8 of 10

The NIMService resource automates multi-node deployment. The operator generates the leader and worker pod specs and injects the Ray startup commands. It handles PVCs through NIMCache and manages probes, networking and secrets.

Step 9 of 10

NeMo Evaluator shards work with an Indexed Job. Each pod's JOB_COMPLETION_INDEX is mapped to NEL_SHARD_IDX, giving every pod its own shard index.

Step 10 of 10

  • Multi-node NIM runs one image for leader and worker pods, with Ray forming the cluster.
  • Common sizing: tensor-parallel size equals GPUs per node, pipeline-parallel size equals the number of nodes.
  • Set both parallel sizes above 0 or set model.profile, or the chart will not render.
  • With persistence enabled, multi-node needs ReadWriteMany storage; also set model.jsonLogging=false.

Sources: Multi-Node Deployment — NVIDIA NIM for LLM and VLM (opens in a new tab) · Kubernetes Deployment — NVIDIA NIM for LLM and VLM (opens in a new tab) · NeMo Evaluator: Deployment Patterns | NVIDIA NeMo Evaluator (opens in a new tab)

Check

Check: Deploy and orchestrate multi-agent systems at production scale.

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

Loading the cards and questions…

Up next: Apply MLOps practices for continuous integration and continuous delivery (CI/CD) workflows, monitoring, and governance. · 8 steps + check · 5 min

Domain 4 · Topic 2 of 5

Apply MLOps practices for continuous integration and continuous delivery (CI/CD) workflows, monitoring, and governance.

Step 1 of 8

Think first How would you keep an agent's evaluations repeatable and its behavior observable as it moves through a delivery pipeline?

Why it matters: Questions describe an evaluation or monitoring setup and ask which nat eval option or telemetry setting fits it.

Evaluation runs a workflow on curated test data and scores it with metrics such as accuracy, reliability and latency. Saved configurations keep each run reproducible, and telemetry set in general.telemetry covers monitoring.

Step 2 of 8

Term Meaning
nat eval The NeMo Agent Toolkit command that evaluates a workflow, locally or remotely with --endpoint.
config_effective.yml The saved final configuration with every command-line override applied.
general.telemetry The section of the workflow configuration file where observability is set up.
Telemetry exporter A component that handles events asynchronously in background tasks, off the hot path.

Step 3 of 8

nat eval can test a local or a remote workflow. Add --endpoint to evaluate a workflow running on a remote server. The toolkit server also offers evaluation over REST at /evaluate. Dataset entries run in parallel, and eval.general.max_concurrency defaults to 8.

Exam trap Remote evaluation does not need a separate tool. It is still nat eval, run with the --endpoint flag.

Step 4 of 8

config_effective.yml records the configuration actually used. It is the final configuration after all command-line overrides. Use --reps to repeat an evaluation, average the score and see how much the outputs vary.

Exam trap Your original config file is not the record of a run once you pass overrides. config_effective.yml holds the configuration after them.

Step 5 of 8

append_job_id_to_output_dir gives each run its own directory. When it is true, each run adds a unique job_{UUID} directory to the output path. max_jobs caps how many job directories are kept. Its default of 0 means no limit.

Two settings for evaluation job directories

Feature append_job_id_to_output_dir max_jobs
Purpose A separate directory for each evaluation run How many job directories to keep
Behavior When true, adds job_{UUID} to the output path Evicts the oldest directories past the limit; 0 means no limit

Exam trap A max_jobs value of 0 does not delete every job directory. Zero means no limit at all.

Step 6 of 8

Configure observability in general.telemetry. Console and file logging come by default. OpenTelemetry and Phoenix tracing need the optional telemetry extras. Exporters run asynchronously in background tasks, away from the hot path. A log level records that level and every level above it.

Exam trap Phoenix tracing is not included out of the box. Install the optional telemetry extras before you use it.

Step 7 of 8

Traces can feed the Data Flywheel Blueprint. The blueprint uses traces to fine-tune and evaluate smaller models. Those models can replace the original one to reduce latency. For numerical settings, the Optimizer uses Optuna.

Step 8 of 8

  • Use nat eval with --endpoint to evaluate a workflow on a remote server.
  • config_effective.yml is the configuration after all command-line overrides.
  • eval.general.max_concurrency defaults to 8, and a max_jobs of 0 means no limit.
  • OpenTelemetry and Phoenix tracing need the optional telemetry extras.

Sources: Agent Evaluation in NVIDIA NeMo Agent Toolkit — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab) · Observe Workflows — 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)

Check

Check: Apply MLOps practices for continuous integration and continuous delivery (CI/CD) workflows, monitoring, and governance.

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

Loading the cards and questions…

Up next: Profile performance and reliability under distributed system loads. · 10 steps + check · 5 min

Domain 4 · Topic 3 of 5

Profile performance and reliability under distributed system loads.

Step 1 of 10

Think first How do you find where an agent workflow slows down, and how do you spread a large evaluation across many nodes?

Why it matters: Questions describe a slow or large workload and ask which profiler option or sharding setup to use.

The NeMo Agent Toolkit profiler measures and forecasts workflow performance, then points to bottlenecks and caching chances. NeMo Evaluator splits large evaluations into shards across nodes and merges the results.

Step 2 of 10

Term Meaning
Profiler The NeMo Agent Toolkit module for profiling and forecasting, shipped as nvidia-nat-profiler.
Nested stack analysis Bottleneck analysis that also catches tool calls running inside other tool calls.
Concurrency spike A moment when at least spike_threshold functions are running at once.
Shard One slice of an evaluation; its results land in a shard_N directory for merging.
Latency sensitivity A score for how much a call's speed matters; manual annotations override it.

Step 3 of 10

Install nvidia-nat-profiler for profiling and forecasting. The profiler hooks into agent frameworks through callback handlers. Supported ones are CrewAI, LangChain/LangGraph, LlamaIndex, Semantic Kernel and Google ADK.

Step 4 of 10

@track_function profiles your own functions. It records when a function starts and ends, plus its input arguments and output. It also works on async functions, generators and class methods.

Example: Marks a custom function so the profiler records its timing, inputs and output.

@track_function
def my_tool(my_input):
    return my_input
  • @track_function: the decorator that adds profiling

Step 5 of 10

inference_optimization.json holds the workflow metrics. It reports 90%, 95% and 99% confidence intervals for three measures: latency, throughput and workflow runtime.

Step 6 of 10

Nested stack analysis finds bottlenecks inside bottlenecks. It can spot a slow tool call running inside another tool call. Choose simple_stack when a simpler analysis is enough. Other options flag concurrency spikes and repeated prompt prefixes.

Profiler analysis options compared

Option What it finds Note
Nested stack Nested bottlenecks, such as tool calls inside tool calls The more detailed analysis
simple_stack Bottlenecks without the nesting detail The simpler analysis
spike_threshold Moments of high concurrency At 7, flags 7 or more functions running at once
prompt_caching_prefixes Commonly repeated prompt prefixes Candidates to pre-populate in KV caches

Exam trap A spike_threshold of 7 does not mean more than 7. It flags any spike with 7 or more functions running at once.

Step 7 of 10

Manual annotations always beat computed scores. The critical path weight, w_critical, defaults to 0.5. It asks what share of the workflow's wall-clock time a call uses. A @latency_sensitive annotation overrides any computed value.

Exam trap An auto-computed sensitivity does not win when both exist. A manual @latency_sensitive annotation always takes priority.

Step 8 of 10

NeMo Evaluator scales with SLURM, Kubernetes, Ray or manual shards. On Kubernetes, an Indexed Job gives each pod a JOB_COMPLETION_INDEX, mapped to NEL_SHARD_IDX. Afterward, nel eval merge finds every shard_N directory, drops duplicate results and builds merged bundles with combined scores.

Exam trap Sharding and auto_resume cannot be used together. For per-task retries in SLURM array mode, use --requeue instead.

Step 9 of 10

The profiler's Dynamo integration is experimental. It needs Dynamo 1.1.0 or later, so check the installed version before you rely on it.

Step 10 of 10

  • The profiler ships as nvidia-nat-profiler and covers both profiling and forecasting.
  • Nested stack analysis finds tool calls hidden inside other tool calls.
  • Manual @latency_sensitive annotations always override auto-computed values.
  • Evaluator shards cannot use auto_resume; combine them with nel eval merge.

Sources: Profiling and Performance Monitoring of NVIDIA NeMo Agent Toolkit Workflows — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab) · Distributed Evaluation | NVIDIA NeMo Evaluator (opens in a new tab)

Check

Check: Profile performance and reliability under distributed system loads.

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

Loading the cards and questions…

Up next: Scale deployments using containerization (Docker, Kubernetes) with load balancing. · 9 steps + check · 5 min

Domain 4 · Topic 4 of 5

Scale deployments using containerization (Docker, Kubernetes) with load balancing.

Step 1 of 9

Think first How would you run NIM on Kubernetes so it scales with inference load and survives restarts and upgrades?

Why it matters: Questions describe a NIM deployment on Kubernetes and ask which chart setting, operator resource or scaling metric fits.

NIM runs on Kubernetes through Helm charts or the NIM Operator. The operator handles deployment, scaling, model caching and health monitoring. Scaling works on inference metrics from Prometheus, not on CPU or memory.

Step 2 of 9

Term Meaning
NIM Operator A Kubernetes operator that manages NIM deployment, scaling, model caching and health monitoring.
NIMService Custom resource for pod creation, health probes, service exposure and GPU scheduling.
NIMCache Custom resource that keeps model files on persistent storage for reuse after restarts and scaling.
HPA Horizontal pod autoscaling; for NIM it should use inference-specific Prometheus metrics.
PriorityClass A pod priority setting; without one, NIM pods are lowest priority and can be preempted.

Step 3 of 9

The nim-llm chart needs Kubernetes v1.26 or later with GPU nodes. By default the chart deploys a StatefulSet. Set statefulSet.enabled to false to get a Deployment. Set multiNode.enabled=true to get LeaderWorkerSet resources.

Workload types the nim-llm chart creates

Feature StatefulSet Deployment LeaderWorkerSet
Chart setting statefulSet.enabled: true statefulSet.enabled: false multiNode.enabled=true
When the chart creates it By default When statefulSet.enabled is false When multiNode.enabled=true

Exam trap The chart does not create a Deployment by default. It creates a StatefulSet unless statefulSet.enabled is false.

Step 4 of 9

NIMService runs the model; NIMCache stores its files. NIMService handles pod creation, health probes, service exposure and GPU scheduling. NIMCache keeps model artifacts on persistent storage. The model downloads once, so later pods reuse it after restarts or scaling.

Step 5 of 9

A healthy pod returns HTTP 200 from /v1/health/ready. The operator's startup probe on that endpoint uses failureThreshold 120 and periodSeconds 10. So a model may take up to 20 minutes to load before Kubernetes kills the pod.

Exam trap A slow first start is not automatically a failure. The default startup probe allows up to 20 minutes for the model to load.

Step 6 of 9

Scale NIM on inference metrics, not CPU or memory. NIM exposes the backend's Prometheus metrics at /v1/metrics. To drive HPA from them, install the Prometheus Adapter so they appear as Kubernetes custom metrics.

Exam trap CPU and memory targets are not useful for scaling NIM. Point HPA at inference-specific custom metrics instead.

Step 7 of 9

Use Recreate when no spare GPU pod fits during upgrades. The default RollingUpdate strategy starts the new pod first, so the cluster needs room for one extra. Give NIM pods a PriorityClass too.

Exam trap Leaving out a PriorityClass is not neutral. NIM pods then get the lowest priority, and other workloads can preempt them.

Step 8 of 9

The NeMo Evaluator image runs nel as its entrypoint. Its Dockerfile installs the package with the [scoring] extras, then sets the container entrypoint to nel.

Step 9 of 9

  • The nim-llm chart deploys a StatefulSet by default; statefulSet.enabled: false gives a Deployment.
  • NIMCache keeps model artifacts on persistent storage for reuse after restarts and scaling.
  • Autoscale NIM on custom Prometheus metrics, exposed through the Prometheus Adapter.
  • The default startup probe allows up to 20 minutes for the model to load.

Sources: Kubernetes Deployment — NVIDIA NIM for LLM and VLM (opens in a new tab) · NIM Operator Deployment — NVIDIA NIM for LLM and VLM (opens in a new tab) · Helm and Kubernetes — NVIDIA NIM for LLM and VLM (opens in a new tab) · Docker Deployment | NVIDIA NeMo Evaluator (opens in a new tab)

Check

Check: Scale deployments using containerization (Docker, Kubernetes) with load balancing.

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

Loading the cards and questions…

Up next: Optimize deployment costs while ensuring high availability. · 9 steps + check · 5 min

Domain 4 · Topic 5 of 5

Optimize deployment costs while ensuring high availability.

Step 1 of 9

Think first How would you cut the GPU and tuning costs of an agent deployment without losing the accuracy and availability it needs?

Why it matters: Questions describe a NIM or agent deployment and ask which profile, setting or trade-off lowers cost.

On the serving side, NIM picks a model profile that fits your hardware, and the profile fixes the engine, precision and parallelism. On the agent side, the NeMo Agent Toolkit Optimizer searches for settings that maximize quality while minimizing response time and cost.

Step 2 of 9

Term Meaning
Model profile A pre-validated inference setup chosen at container startup, tagged by engine, precision, TP, PP and LoRA support.
NIM_MODEL_PROFILE Variable that pins a profile by ID or description, replacing the deprecated 1.x selectors.
--max-model-len Flag that caps input plus output tokens per request, which lowers a profile's memory need.
Optimizer NeMo Agent Toolkit tool that tunes numbers with Optuna and prompts with a genetic algorithm.

Step 3 of 9

Without NIM_MODEL_PROFILE, NIM picks the best compatible profile. It weighs the GPU device, free VRAM, estimated memory needs and parallelism limits. Within each memory category, NVIDIA-optimized profiles rank ahead of generic ones.

Exam trap The custom and tag-based selectors from NIM LLM 1.x are deprecated. Pin a profile with NIM_MODEL_PROFILE instead.

Step 4 of 9

list-model-profiles shows compatible profiles and their VRAM needs. Each profile carries an estimated per-GPU VRAM figure. Profiles are tagged by backend engine, precision, tensor parallelism, pipeline parallelism and LoRA support. Precisions include bf16, fp8, mxfp4 and nvfp4.

Exam trap The per-GPU VRAM figure is an estimate, not a guarantee. NVIDIA describes memory estimates as advisory.

Step 5 of 9

Raise tensor parallelism or choose a quantized precision. Both help a profile marked incompatible because it exceeds GPU memory. Passing --max-model-len, for example 4096, also lowers the memory need by capping input plus output tokens per request.

Step 6 of 9

Give multi-node NIM shared storage for the model. Without it, every node downloads the model separately. That still works, but it wastes time and network bandwidth. On AWS, NIM for LLM and VLM runs on either Amazon EKS or SageMaker.

Step 7 of 9

The Optimizer trades quality against response time and cost. It uses Optuna for numerical parameters and a genetic algorithm for prompts. multi_objective_combination_mode merges several objectives into one score: harmonic (the default), sum or chebyshev.

Exam trap sum is not the default combination mode. The Optimizer uses harmonic unless you set another mode.

Step 8 of 9

When latency is critical, take the fastest point that meets accuracy. Among the Pareto-optimal points, choose the fastest one whose accuracy is still good enough. Keep tuning budgets in mind too: for genetic prompt optimization, cost grows linearly with population size.

Step 9 of 9

  • If NIM_MODEL_PROFILE is unset, NIM selects the best compatible profile for the hardware.
  • A profile too big for GPU memory may fit with higher tensor parallelism or a quantized precision.
  • --max-model-len caps tokens per request and lowers a profile's memory need.
  • The Optimizer combines objectives with harmonic by default.

Sources: Model Profiles and Selection — NVIDIA NIM for LLM and VLM (opens in a new tab) · NVIDIA NeMo Agent Toolkit Optimizer — NVIDIA NeMo Agent Toolkit (1.9) (opens in a new tab) · Multi-Node Deployment — NVIDIA NIM for LLM and VLM (opens in a new tab) · Cloud Service Provider (CSP) Deployment — NVIDIA NIM for LLM and VLM (opens in a new tab)

Check

Check: Optimize deployment costs while ensuring high availability.

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

Loading the cards and questions…

Domain 4 · after the last topic

Domain 4 review

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

Mixed quiz

Take the Domain 4 quiz

4 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 4 flashcards

9 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 · 10% of the examCognition, Planning, and Memory5 topics

Report a problem

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

What is the problem?

Optional.