NVIDIA certification · Exam NCP-AII

NCP-AII Mock Exam Page 2

NVIDIA AI Infrastructure

Free NCP-AII mock exam questions 11–20, each with the answer and an explanation.

20 questions · 30 minutes · free, no sign-up

Free NCP-AII questions

11–20 of 36 free
Question 11 Choose 1
You are leading a project to enhance the energy efficiency of a data center that heavily relies on AI workloads. NVIDIA suggests moving beyond traditional metrics like Power Usage Effectiveness (PUE) to better capture the efficiency of modern data centers. Which strategy should you prioritize?
Show answerHide answer

Correct answer: C Develop benchmarks tailored to specific workloads, such as MLPerf for AI applications, to better understand energy use in real-world scenarios.

Explanation

Explanation:

This question tests your understanding of data center efficiency measurement strategies for AI workloads. Standard infrastructure metrics fail to quantify the actual computational work delivered per unit of energy during complex machine learning jobs.

✅ Correct Option:

✅ C. Develop benchmarks tailored to specific workloads, such as MLPerf for AI applications, to better understand energy use in real-world scenarios.
Traditional facility metrics like PUE only measure power overhead ratios, not compute productivity. Workload-specific benchmarks like MLPerf compute-per-watt evaluate real-world performance directly against power consumed. Prioritizing workload benchmarks allows data center managers to accurately evaluate hardware, software stack optimizations, and throughput per joule during active AI training and inference.

❌ Incorrect options:

❌ A. Use Power Usage Effectiveness as the primary metric while supplementing it with additional measures of useful work done per unit of energy.
PUE measures the ratio of total facility power to IT equipment power. While useful for cooling infrastructure efficiency, relying on it as the primary metric fails because a facility can achieve an excellent PUE while running inefficient, low-throughput AI algorithms that waste massive amounts of energy.

❌ B. Use watts used as the primary measure of efficiency, as it accurately reflects the power input at any given time.
Watts measure instantaneous power consumption rather than efficiency. High power draw alone does not indicate inefficiency if the underlying GPUs complete high-density AI operations in significantly less time, delivering far higher work output per total unit of energy consumed.

❌ C. Focus on integrating kilowatt-hours into existing metrics to better reflect the actual energy used for productive work.
Kilowatt-hours measure raw energy consumption over time, but integrating raw energy units into facilities metrics still lacks context regarding computational output. Without tying energy units directly to standardized work tasks or training iterations, total energy usage remains an incomplete efficiency indicator.

🔧 Reference:
→ NVIDIA Data Center Efficiency and Sustainability confirms how workload-based performance metrics complement traditional facility power measurements.
Question 12 Choose 1
What command is needed to measure BER (Bit Error Rate)?
Show answerHide answer

Correct answer: C mlxlink -d < device > -c -e

Explanation

Explanation

The question tests the NVIDIA Mellanox Firmware Tools command used to inspect link health and signal quality. mlxlink provides physical link counters, including BER information, while the -e option adds eye-opening diagnostics that help analyze signal integrity.

✔️ Correct Option

C. mlxlink -d -c -e
The mlxlink utility diagnoses device-link conditions. The -c option displays physical counters and BER information, while -e displays eye-opening data for additional signal-quality analysis. Together, these options provide BER-related link diagnostics and help identify physical-layer or signal-integrity problems on the selected device.

❌ Incorrect Options

A. mlxconfig -d q
mlxconfig is used to query or modify device configuration settings. The q option displays configuration information, but it does not collect link counters or measure BER.

B. ethtool -S
ethtool -S displays driver and network-interface statistics for an Ethernet device. Although some error counters may be available, it is not the NVIDIA-specific utility for collecting link BER and eye-opening diagnostics.

D. mstflint -d q full
mstflint is primarily used to query, burn, verify, and manage NVIDIA device firmware. The command can display firmware details, but it does not provide the physical link BER counters supplied by mlxlink.

🔧 Reference
→ NVIDIA mlxlink Utility
— Confirms that mlxlink can retrieve device information and BER counters.
Question 13 Choose 1
When updating the firmware on an NVLink switch transceiver, how can an engineer apply new firmware without interrupting the network?
Show answerHide answer

Correct answer: C flint -d -lid 27 --linkx --linkx_auto_update --activate

Explanation

Explanation

This question tests how new firmware is applied to a switch-attached transceiver without a service interruption. NVIDIA's MFT tooling separates transferring the firmware image from activating it. Activation is done through the flint utility using the LinkX options, so a full reset, a reboot, or physical handling of the module is not required.

✅ C. flint -d -lid 27 --linkx --linkx_auto_update --activate
This command uses flint with the --linkx option to target cables and transceivers connected to the switch. The --linkx_auto_update flag covers all supported modules, and --activate applies the already transferred firmware. Activation is not performed by default, so this step switches the module to the new image. It also includes a short built-in delay to avoid disconnections, and no reset or reboot is needed.

❌ A. mlxfwreset -d -lid 27 reset --yes to reset the transceiver
The mlxfwreset utility resets a device so that firmware loaded to it takes effect, and it is not the documented method for activating transceiver firmware. A reset disrupts the device and its links, which is the interruption the engineer wants to avoid. The flint --linkx workflow with --activate applies transceiver firmware without such a reset.

❌ B. Physically disconnect and reconnect the transceiver.
Unplugging and reseating a transceiver drops the link on that port, so it directly interrupts the network. It also does not install anything, because firmware must first be burned and transferred with flint. Physical handling adds risk and manual effort. The supported approach is to activate the new firmware remotely through software commands.

❌ D. nv action reboot system to force immediate activation.
Rebooting the entire switch forces every port and connected workload offline, so it is the most disruptive option. A system reboot is also not the documented way to activate transceiver firmware, which is done with the flint activate step. Rebooting adds downtime without any benefit over targeted activation, which avoids interrupting traffic.

Reference
🔧 Burning a Firmware Image – NVIDIA Firmware Tools (MFT) Documentation → confirms that flint with --linkx, --linkx_auto_update, and --activate applies new transceiver firmware, and that activation includes a short delay to avoid disconnections.
Question 14 Choose 1
An engineer wants to verify that an NVIDIA GPU is accessible inside a Docker container for running deep learning workloads. The NVIDIA Container Toolkit is installed on a machine with working NVIDIA drivers. Which command demonstrates the correct way to run a container that can access all available GPUs?
Show answerHide answer

Correct answer: C docker run --rm --gpus all nvidia/cuda:12.4.6-base-ubuntu22.04 nvidia-smi

Explanation

Explanation:

The question tests the standard way to launch a Docker container with full GPU access when the NVIDIA Container Toolkit is installed. The --gpus all flag is the modern, recommended method to expose all host GPUs to the container so that tools such as nvidia-smi work inside it.

✅ Correct Option: C. docker run --rm --gpus all nvidia/cuda:12.4.6-base-ubuntu22.04 nvidia-smi
This command uses the official --gpus all flag provided by the NVIDIA Container Toolkit. It starts a CUDA base image, grants access to every available GPU, and runs nvidia-smi to verify that the GPUs are visible and usable inside the container.

❌ Incorrect Option: A. docker run --rm --runtime=docker nvidia/cuda nvidia-smi
--runtime=docker is invalid and does not enable GPU support. The correct runtime is nvidia (or the default configured by the toolkit). This command will fail to expose any GPUs.

❌ Incorrect Option: B. docker run --rm -it ubuntu:22.04 nvidia-smi
A plain Ubuntu image does not include CUDA libraries or the NVIDIA runtime hooks. Without the --gpus flag (or equivalent), no GPUs are visible and nvidia-smi will not work.

❌ Incorrect Option: D. docker run --rm nvidia/cuda:12.4.0-base-ubuntu22.04 nvidia-smi
This command omits the --gpus flag entirely. Even though a CUDA image is used, the container has no access to the host GPUs, so nvidia-smi will report that no devices are found.

🔧 Reference:
→ Specialized Configurations with Docker – NVIDIA Container Toolkit
Confirms the canonical command docker run --rm --gpus all nvidia/cuda nvidia-smi for verifying GPU access.
Question 15 Choose 1
An administrator needs to add additional GPUs to an existing server. What are the server requirements to check before installing new GPUs?
Show answerHide answer

Correct answer: D Sufficient cooling in the data center, adequate rack power, compatible hardware, and PCIe slot allocation.

Explanation

Explanation:

The question tests the key hardware and infrastructure checks required before adding GPUs to an existing server. The system must provide compatible PCIe connectivity, sufficient electrical power, adequate cooling and airflow, and physical capacity for the additional hardware. NVIDIA's system configuration guidance emphasizes compatible GPU/PCIe configurations and balanced PCIe topology.

🟢 Correct Option:

D. Sufficient cooling in the data center, adequate rack power, compatible hardware, and PCIe slot allocation.
These are essential prerequisites for safely installing additional GPUs. The server must have compatible hardware and suitable PCIe slots with the required lanes, while the rack must provide enough power and cooling capacity for the increased GPU load. NVIDIA also emphasizes appropriate PCIe topology and airflow when configuring GPU servers.

🔴 Incorrect Options:

A. Sufficient networking, water-cooled racks, adequate rack power, sufficient storage, and rack space.
Networking and storage can be important for workloads, but they are not the primary prerequisites for physically adding GPUs. Requiring water-cooled racks is also unnecessarily specific because GPU servers can use different cooling designs.

B. Sufficient storage, sufficient networking, adequate rack power, and compatible hardware.
This includes power and hardware compatibility, but omits critical checks for PCIe slot availability and cooling capacity. Additional GPUs require appropriate PCIe connectivity and sufficient thermal capacity to operate safely.

C. Sufficient CPU capacity, PCIe slot allocation, sufficient cooling in the data center, and rack space.
These checks are relevant, but adequate rack power and GPU hardware compatibility are also essential. The option therefore leaves out two important requirements for safely and correctly installing additional GPUs.

🔧 Reference:
⇒ NVIDIA-Certified Systems Configuration Guide — Confirms GPU hardware compatibility, PCIe slot requirements, and appropriate PCIe topology for GPU servers.

⇒ NVIDIA DGX H100/H200 Safety and Rack Guidelines — Covers rack power, airflow, operating environment, and cooling considerations.
Question 16 Choose 1
You are training a deep neural network using NCCL to coordinate communication across four GPUs in a single node. During early performance testing, you notice inconsistent scaling and longer-than-expected training times, even though all GPUs are being used. Which strategy would most effectively improve NCCL efficiency and collective operation performance in this setting?
Show answerHide answer

Correct answer: A Adjust the batch size so that each GPU receives an equal-sized portion of the batch, ensuring all GPUs process similar workloads and communication is evenly distributed.

Explanation

Explanation:

This question tests the root cause of inconsistent NCCL scaling in multi-GPU training. The performance issue stems from workload imbalance, which causes some GPUs to finish compute earlier than others and wait idle during collective synchronization.

✅ Correct Option:

A. Adjust the batch size so that each GPU receives an equal-sized portion of the batch, ensuring all GPUs process similar workloads and communication is evenly distributed.
NCCL collective operations are synchronous: every GPU must reach the same barrier before data exchange can complete. When workloads are unevenly distributed, faster GPUs sit idle waiting for slower ones, directly degrading scaling efficiency . Equalizing per-GPU batch sizes keeps all ranks synchronized and maximizes collective bandwidth utilization.

❌ Incorrect options:

B. Assign the largest possible workload to the first GPU to maximize its utilization, and allow the remaining GPUs to process smaller or variable batch sizes as needed.
This deliberately creates the imbalance causing the problem. NCCL synchronization requires all ranks to arrive at the collective together. Uneven workloads force faster GPUs to stall at synchronization points, wasting compute cycles .

C. Disable automatic load balancing so that the deep learning framework can dynamically assign samples to any GPU available during each iteration.
Disabling load balancing removes the mechanism that equalizes work across GPUs. This would worsen synchronization delays because NCCL collectives cannot proceed until every rank contributes its data, regardless of how samples were assigned.

D. Increase the communication frequency between GPUs while allowing workloads to be unevenly split, so synchronization is more frequent and model updates happen faster.
More frequent communication with uneven splits compounds the problem: each synchronization point becomes another idle-wait event for faster GPUs. Increasing communication frequency without fixing load balance amplifies the bottleneck rather than resolving it .

🔧 Reference:
→ NVIDIA NCCL Documentation – Tuning Overview
Explains that NCCL collective efficiency depends on balanced participation across ranks and that optimal tuning considers communicator dimensions and workload distribution.
Question 17 Choose 1
During cluster deployment, the UFM Cable Validation Tool reports "Wrong-neighbor" errors on multiple InfiniBand links. What is the most efficient way to resolve this issue?
Show answerHide answer

Correct answer: C Verify LLDP data against topology files and remediate.

Explanation

Explanation:

This question tests your ability to troubleshoot InfiniBand physical and logical cabling errors using NVIDIA Unified Fabric Manager (UFM). A "Wrong-neighbor" error indicates a mismatch between the detected cable connectivity and the expected topology design.

✅ Correct Option:

✅ C. Verify LLDP data against topology files and remediate.
The UFM Cable Validation Tool compares real-time link discovery data, obtained via protocols like LLDP/SM, against the intended cluster topology configuration file. A "Wrong-neighbor" error means a cable is physically plugged into the wrong switch port or host HCA. Comparing detected neighbor data with the design plan identifies misconfigured cables so they can be re-routed correctly.

❌ Incorrect options:

❌ A. Reboot all leaf switches to force LLDP rediscovery.
Rebooting switches causes unnecessary cluster downtime and will not resolve physical cabling errors. While rediscovery runs after a reboot, the tool will continue reporting "Wrong-neighbor" errors as long as the physical connections do not match the expected topology file.

❌ B. Replace all affected cables with higher-grade OM5 fiber optics.
A "Wrong-neighbor" alert indicates a topological mapping error, not a hardware defect or signal degradation issue. Replacing functional cables with different fiber types is expensive, unnecessary, and fails to fix incorrectly wired port connections.

❌ D. Disable FEC on all switches to bypass neighbor validation.
Forward Error Correction (FEC) manages bit error rates on high-speed links and has no relation to topology validation or neighbor identification. Disabling FEC degrades link quality without resolving the underlying cabling misplacement.

🔧 Reference:
→ NVIDIA UFM Enterprise User Guide confirms how UFM validates physical cable connections against topology definition files.
Question 18 Choose 1
To validate bisectional bandwidth across two racks in a Spectrum-X Ethernet fabric, which NCCL test configuration isolates East-West traffic?
Show answerHide answer

Correct answer: C NCCL_TESTS_SPLIT="MOD 2" ./all_reduce_perf -g 8

Explanation

Explanation

The question tests how NCCL test groups can be split to isolate traffic between two rack groups. Using MOD 2 divides ranks into two groups based on alternating rank values, allowing simultaneous collective operations across separate groups and isolating the intended East-West communication pattern.

✔️ Correct Option

C. NCCL_TESTS_SPLIT="MOD 2" ./all_reduce_perf -g 8
MOD 2 creates two NCCL test groups by assigning ranks according to their remainder after division by two. With eight GPUs, this produces two complementary groups that can represent the two rack sides in a controlled bisection test. Running all_reduce_perf with these split groups enables measurement of traffic crossing the rack boundary rather than mixing all communication paths.

❌ Incorrect Options

A. NCCL_TESTS_SPLIT="OR 0x7" ./all_reduce_perf -g 8
OR 0x7 groups ranks according to a bitwise OR operation and is documented for creating one operation per node with primarily intra-node communication. It does not form the two alternating groups required to isolate East-West traffic between racks.

B. Run without splits and analyze per-rack averages.
Without NCCL_TESTS_SPLIT, all ranks participate in the same collective operation. The resulting bandwidth includes a mixture of intra-rack and inter-rack paths, so per-rack averages cannot reliably isolate bisectional East-West bandwidth.

D. NCCL_TESTS_SPLIT="DIV 8" ./all_reduce_perf -g 1
DIV 8 is intended to create one group per node for intra-node communication, not two rack-level groups. Additionally, -g 1 runs only one GPU per process, which does not provide the eight-GPU test scope specified by the scenario.

🔧 Reference
→ NVIDIA HPC-X Bisectional Bandwidth Test
— Describes bisectional bandwidth testing for measuring communication across fabric partitions.
Question 19 Choose 1
During a 48-hour NeMo question-answering model burn-in test, GPU memory errors occur when processing large datasets. Which configuration strategy prevents Out-of-Memory (OOM) errors while maintaining processing efficiency?
Show answerHide answer

Correct answer: A Set blocksize="1GB" for data loading and enable RMM asynchronous allocation.

Explanation

Explanation

This question tests how to prevent GPU out-of-memory errors in NeMo Curator when processing large datasets. Two things control this. The first is how much data is loaded per partition, set through the blocksize parameter. The second is how efficiently GPU memory is allocated, handled by RAPIDS Memory Manager (RMM) options. Together they cut memory pressure without sacrificing throughput.

✅ A. Set blocksize="1GB" for data loading and enable RMM asynchronous allocation.
Setting blocksize="1GB" keeps each loaded partition small, and NVIDIA recommends about 1/32 of GPU memory, which is 1 GB on a 32 GB GPU. Enabling RMM asynchronous allocation lets GPU memory be allocated and freed more efficiently, reducing fragmentation. Together, controlled partition size and better allocation prevent OOM errors during a long burn-in while keeping processing efficient.

❌ B. Switch from FP16 to FP32 precision for numerical stability.
FP32 stores each value in twice as many bytes as FP16, so it increases GPU memory use rather than reducing it. It may help numerical stability, but that is unrelated to the memory errors described. Moving to FP32 would make out-of-memory conditions more likely on large datasets, and it would also slow processing.

❌ C. Disable add_filename for Parquet files to reduce metadata.
Disabling add_filename is only a prerequisite: for Parquet files, blocksize is supported only when add_filename is False. By itself it saves a negligible amount of memory and does not limit how much data is loaded per partition. Without a suitable blocksize and memory allocation settings, OOM errors would continue.

❌ D. Increase files_per_partition to 1000 for larger batch processing.
Raising files_per_partition to 1000 loads far more data into each partition at once. Larger batches speed up processing at the cost of higher memory consumption, which makes OOM errors more likely, not less. To reduce memory load, the partition size should be lowered or capped with blocksize, not increased.

Reference
🔧 Best Practices for Data Curation – NVIDIA NeMo Framework User Guide (NVIDIA Docs) → confirms that blocksize (1/32 of GPU memory, e.g. 1GB on a 32GB GPU) and RMM asynchronous allocation help avoid OOM errors, and that blocksize on Parquet requires add_filename=False.
Question 20 Choose 1
A cluster administrator needs to validate transceiver firmware versions across 200 ports using UFM. Which GUI-based method provides a consolidated view?
Show answerHide answer

Correct answer: A Navigate to ’Devices" > select a switch > "Cables' tab to see ASIC firmware and transceiver versions.

Explanation

Explanation:

The question tests the most efficient GUI method in NVIDIA UFM for obtaining a consolidated view of transceiver firmware versions across many ports. UFM’s Devices window provides structured tables that surface cable and transceiver details without requiring per-port CLI commands or log parsing.

✅ Correct Option: A. Navigate to ’Devices" > select a switch > "Cables' tab to see ASIC firmware and transceiver versions.
Selecting a switch in the Devices window and opening the Cables tab displays a tabular list of all connected cables/transceivers for that device, including firmware versions. This gives an administrator a clear, consolidated per-switch view that can be repeated across switches to cover 200 ports efficiently.

❌ Incorrect Option: B. Use "Topology’ view to visually inspect cable icons.
The Topology (Network Map) view shows visual link icons and basic status but does not display detailed transceiver firmware version numbers in a usable consolidated table.

❌ Incorrect Option: C. Run mlxlink -d lid- -m on each port manually.
This is a command-line method that must be executed individually for every port. It is not GUI-based and does not scale to 200 ports.

❌ Incorrect Option: D. Export all switch logs and grep for ’FW Version".
Exporting and grepping logs is a manual, non-GUI process that is time-consuming and error-prone for large numbers of ports.

🔧 Reference:
→ Devices Window – NVIDIA UFM Enterprise User Manual
Documents the Cables tab under Device Information, which lists connected cables and their firmware versions.
Full mock exam

Sit the NCP-AII exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real NCP-AII exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full NCP-AII mock exam
  • —questions per mock
  • —time limit
  • 123questions in the bank
  • Newmock on every attempt