NVIDIA certification · Exam NCP-AII

NCP-AII Mock Exam Page 3

NVIDIA AI Infrastructure

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

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

Free NCP-AII questions

21–30 of 36 free
Question 21 Choose 2
You are tasked with setting up High Availability (HA) for NVIDIA Base Command Manager (BCM) in a new GPU cluster. The cluster consists of a primary head node, a secondary head node, and several compute nodes. The requirements are automatic failover of BCM services, minimal disruption to workloads, and proper cluster health monitoring during and after installation. During your BCM HA installation and configuration process, which two of the following actions are mandatory for ensuring a robust and verified HA cluster configuration?

Pick the 2 correct responses below.
Show answerHide answer

Correct answer: A, C Assign a floating Virtual IP address that can automatically migrate between the primary and secondary head nodes during failover.After configuration is complete, simulate a failover by stopping BCM services on the active head node to verify that all services are running on the secondary node with no interruption.

Explanation

Explanation:

The question tests the essential setup and validation steps for BCM head-node High Availability. A shared virtual IP provides a stable access point that follows the active head node, while a controlled failover test verifies that the secondary head node can assume the active role and that BCM services recover correctly.

🟢 Correct Option:

A. Assign a floating Virtual IP address that can automatically migrate between the primary and secondary head nodes during failover.
BCM HA uses a virtual shared IP address that represents the active head node. During failover, this address moves to the secondary node, allowing clients and administrators to continue accessing BCM through the same endpoint. NVIDIA's HA topology explicitly defines shared virtual interfaces and IP addresses for the internal and external networks.

C. After configuration is complete, simulate a failover by stopping BCM services on the active head node to verify that all services are running on the secondary node with no interruption.
A failover test is an important validation step after HA configuration. NVIDIA's deployment guidance recommends testing failover and verifying that the secondary becomes active, ensuring the HA configuration actually provides service continuity. This validates both failover behavior and access through the shared HA address before relying on the cluster in production.

đź”´ Incorrect Options:

B. Compute nodes must be powered on and performing work to initiate synchronization of the head nodes.
Compute nodes do not need to be actively running workloads for head-node HA synchronization. HA setup and synchronization are performed between the head nodes, and NVIDIA documentation indicates that other nodes can be powered off during the basic HA setup.

D. Configure both head nodes to use independent static IP addresses for BCM services instead of relying on a shared virtual IP address.
Each head node does have its own node-specific addresses, but BCM HA also requires shared virtual addressing for services that must remain accessible after failover. Replacing the shared virtual IP with independent service addresses would undermine transparent failover.

E. During configuration, explicitly synchronize both the configuration and state data directories from the primary to the secondary head node to ensure consistency.
BCM's HA setup handles the necessary head-node cloning and synchronization through its HA configuration process. Manually synchronizing configuration and state directories is not the mandatory procedure described for establishing BCM head-node HA.

đź”§ Reference:
⇒ NVIDIA Base Command Manager — High Availability — NVIDIA Base Command Manager — HA Concepts and Virtual Shared IP: documents the shared virtual IP and BCM head-node failover architecture.

⇒ NVIDIA Enterprise Reference Architectures — BCM HA Deployment Guide — NVIDIA Enterprise Reference Architectures — BCM HA Failover Testing: documents testing failover by making the secondary head node active and verifying continued access.
Question 22 Choose 1
A system administrator is installing a GPU into a server and needs to avoid damaging the device. What item should be used?
Show answerHide answer

Correct answer: A Anti-ESD strap

Explanation

Explanation:

This question tests proper electrostatic discharge (ESD) precautions when handling sensitive electronic components like GPUs. ESD can permanently damage GPU circuitry, so grounding the technician is the essential safety measure.

âś… Correct Option:

A. Anti-ESD strap
An anti-ESD wrist strap grounds the technician to the server chassis, safely dissipating static electricity from the body before it can discharge into the GPU . Even small static discharges imperceptible to humans can destroy sensitive semiconductor components, making this the mandatory protective item during GPU installation.

❌ Incorrect options:

B. Gloves
Gloves are not a substitute for ESD protection and may actually increase static buildup depending on material. They do not provide the electrical grounding path required to safely dissipate static charge from the technician's body .

C. Protective film
Protective film is used for shipping and storage to protect components from physical damage, not for ESD prevention during installation. It offers no grounding function and is removed before the GPU is handled .

D. Electric screwdriver
An electric screwdriver is a convenience tool for fastening screws, not a safety device. It provides no ESD protection and, if improperly used, could overtighten screws or damage the GPU bracket .

đź”§ Reference:
→ NVIDIA DGX SuperPOD – Safety and ESD Precautions
Confirms ESD wrist straps and grounded work surfaces are required when handling NVIDIA GPU hardware to prevent electrostatic damage.

→ NVIDIA DGX A100 User Guide – ESD Precautions
States that ESD straps must be worn when handling components and that static-dissipative materials are required for safe GPU installation.
Question 23 Choose 1
When configuring an out-of-core HPL burn-in for a 40B matrix on 8x H100 nodes, which environment variable prevents GPU out-of-memory errors while reserving space for drivers?
Show answerHide answer

Correct answer: A export HPL_OOC_SAFE_SIZE=4.0

Explanation

Explanation

The question tests how to prevent GPU out-of-memory errors during NVIDIA HPL out-of-core execution. HPL_OOC_SAFE_SIZE reserves a specified amount of GPU memory for the driver and other system requirements, preventing HPL from consuming the entire GPU memory capacity.

✔️ Correct Option

A. export HPL_OOC_SAFE_SIZE=4.0
HPL_OOC_SAFE_SIZE defines the amount of GPU memory, measured in GiB, that the out-of-core HPL workload must leave available for the GPU driver. Setting it to 4.0 reserves 4 GiB and reduces the risk of out-of-memory failures during a large 40B matrix burn-in. NVIDIA recommends increasing this value when HPL OOC encounters GPU memory issues.

❌ Incorrect Options

B. export HPL_OOC_MODE=0
This disables HPL out-of-core mode. Because the matrix exceeds the available GPU memory, disabling OOC would prevent HPL from using host memory for excess matrix data and could cause allocation failure.

C. export HPL_OOC_NUM_STREAMS=8
This controls the number of streams used for out-of-core operations. More streams may affect overlap and performance, but the variable does not reserve GPU memory for drivers or directly prevent out-of-memory errors.

D. export HPL_OOC_MAX_GPU_MEM=90
This limits the GPU memory available to HPL OOC, but it is not the specific safety buffer intended to reserve memory for drivers. HPL_OOC_SAFE_SIZE directly defines the memory that HPL must leave unused for that purpose.

đź”§ Reference
→ NVIDIA HPL Benchmark: Out-of-Core Mode
— Confirms that HPL_OOC_SAFE_SIZE reserves GPU memory for the driver and is used to address OOC memory errors.

→ NVIDIA Release Notes
— Recommends increasing HPL_OOC_SAFE_SIZE when HPL out-of-core execution reports GPU out-of-memory issues.
Question 24 Choose 1
If two ports must be connected, but one is SFP and one is QSFP, for example, to connect a 25 GbE Host Channel Adapter to a QSFP port capable of both 100 GbE and 25 GbE, which solution would best meet this requirement?
Show answerHide answer

Correct answer: A QSA adapter.

Explanation

Explanation

This question tests how to connect ports with different form factors, here a 25 GbE SFP-based adapter and a QSFP port that supports both 100 GbE and 25 GbE. The QSFP cage has four lanes and the SFP port has one. A physical adapter is needed to bridge the two connector types while keeping the link at 25 GbE.

âś… A. QSA adapter.
A QSA (QSFP to SFP Adapter) installs into the QSFP port and provides an SFP receptacle. This lets an SFP28 transceiver or cable connect to the QSFP port and link at 25 GbE. It maps the single SFP lane to lane 1 of the QSFP connector. It is a passive, vendor-agnostic, plug-in solution, so no other equipment needs to change.

❌ B. SFP connectors.
"SFP connectors" is not a solution on its own, because the port in question is a QSFP cage, which physically cannot accept an SFP module or cable directly. An SFP connector is one side of the link, not something that bridges the two form factors. A QSA adapter is required to convert the QSFP port into an SFP-compatible receptacle.

❌ C. SFP-to-1G BASE-T RJ45 adapter.
An SFP-to-1G BASE-T RJ45 module converts an SFP port to a 1 Gb/s copper twisted-pair interface. It would cap the link at 1 GbE, far below the required 25 GbE, and it still would not fit into the QSFP cage. It solves a media conversion problem, not the SFP-to-QSFP form factor mismatch.

❌ D. Standard QSFP-to-QSFP DAC cable.
A QSFP-to-QSFP direct attach cable has QSFP connectors at both ends, so it can only connect two QSFP ports. It cannot plug into the SFP port on the 25 GbE adapter. It also carries four lanes and would not match the single-lane 25 GbE connection. Connecting a QSFP port to an SFP port needs a QSA adapter or a breakout cable.

Reference
🔧 MAM1Q00A-QSA NVIDIA DynamiX QSA™, QSFP+ to SFP+ Adapter Product Specifications → confirms that the QSA28 lets an SFP28 transceiver or cable connect to a QSFP28 port, joining a single-lane device to a quad-lane port.
Question 25 Choose 1
A system engineer needs to set the vGPU scheduling behavior for all GPUs to share the scheduling equally with the default time slice length. What command should be used?
Show answerHide answer

Correct answer: A esxcli system module parameters set -m nvidia -p
"NVreg_RegistryDwords=RmPVMRL=0x01"

Explanation

Explanation:

The question tests the correct method to configure NVIDIA vGPU scheduling on a VMware ESXi host so that all GPUs use equal-share scheduling with the default time-slice length. This ensures fair GPU time allocation among vGPUs without favoring any particular virtual machine.

âś… Correct Option: A. esxcli system module parameters set -m nvidia -p "NVreg_RegistryDwords=RmPVMRL=0x01"
This is the official VMware vSphere command for setting the NVIDIA driver registry key.
RmPVMRL=0x01 explicitly enables the equal-share scheduler with the default time-slice length.
The setting applies to all GPUs on the host.
After running the command, a host reboot (or NVIDIA driver reload) is required for the change to take effect.
This configuration provides predictable fairness across vGPUs while retaining the driver’s standard time-slice duration.

❌ Incorrect Option: B. esxcli graphics module parameters set -m nvidia -p "NVreg_RegistryDwords=RmPVMRL=0x01"
There is no esxcli graphics module parameters namespace. The correct command path is esxcli system module parameters. Using the wrong namespace causes the command to fail.

❌ Incorrect Option: C. esxcli system module parameters set -m nvidia -p "NVreg_RegistryDwords=FRL=0x01"
FRL is not a valid NVIDIA registry key for vGPU scheduling. The correct key is RmPVMRL. This command has no effect on scheduling behavior.

❌ Incorrect Option: D. esxcli system module parameters set -m nvidia -p "NVreg_RegistryDwords=RmPVMRL=0x00"
0x00 configures the best-effort scheduler (the default policy). Best-effort prioritizes overall utilization and can allow one vGPU to dominate the GPU, which does not meet the equal-share requirement.

đź”§ Reference:
→ Changing Scheduling Behavior for Time-Sliced vGPUs and MIG-Backed, Time-Sliced vGPUs – NVIDIA Virtual GPU Software Documentation
Confirms that on VMware vSphere the command esxcli system module parameters set -m nvidia -p "NVreg_RegistryDwords=RmPVMRL=0x01" sets equal-share scheduling with the default time-slice length for all GPUs.
Question 26 Choose 1
The system administrator plans to use Multi-Instance GPU profiles. What command should be used to verify that the GPU has this mode enabled?
Show answerHide answer

Correct answer: D nvidia-smi

Explanation

Explanation:

The question tests how to verify Multi-Instance GPU (MIG) support and configuration on an NVIDIA GPU. The nvidia-smi utility provides GPU management information, including whether MIG mode is enabled. It can display the MIG mode status for supported GPUs.

🟢 Correct Option:

D. nvidia-smi
nvidia-smi is NVIDIA's standard command-line utility for monitoring and managing supported GPUs. On MIG-capable GPUs, commands such as nvidia-smi -q can display the GPU's current MIG Mode, including whether it is enabled or disabled. Therefore, nvidia-smi is the appropriate utility for verifying the GPU's MIG configuration.

đź”´ Incorrect Options:

A. nvidia-mode
nvidia-mode is not a standard NVIDIA GPU management utility for checking MIG configuration. It cannot be used to verify whether MIG mode is enabled on a supported GPU.

B. nvidia-mig
nvidia-mig is not the standard NVIDIA utility for querying MIG mode. MIG configuration and status are managed and inspected using nvidia-smi commands.

C. nvidia-enable
nvidia-enable is not a standard NVIDIA GPU management command for checking MIG status. It does not provide the GPU configuration information needed to verify whether MIG mode is enabled.

đź”§ Reference:
⇒ NVIDIA — MIG User Guide: Getting Started with MIG User Guide — Checking MIG Mode: documents using nvidia-smi to query and configure MIG mode on supported NVIDIA GPUs.
Question 27 Choose 2
What is the purpose of using NCCL in verifying East-West fabric in an NVIDIA AI Factory?

Pick the 2 correct responses below.
Show answerHide answer

Correct answer: B, D To measure the latency between GPUs.To measure bandwidth between GPUs.

Explanation

Explanation:

This question tests the purpose of NCCL (NVIDIA Collective Communications Library) in validating East-West fabric performance within an NVIDIA AI Factory. NCCL is the communication backbone for GPU-to-GPU collective operations, and its benchmarks are used to characterize both latency and bandwidth across the compute fabric.

âś… Correct Option B: To measure the latency between GPUs.
NCCL governs collective communication (all-reduce, all-gather, etc.) that requires tight synchronization across GPUs. The NCCL test suite measures how long data takes to traverse the GPU-to-GPU path, which directly reflects East-West fabric latency .

âś… Correct Option D: To measure bandwidth between GPUs.
NCCL benchmarks report bus bandwidth and algorithm bandwidth for large message sizes, revealing the effective throughput of the compute fabric connecting GPUs across nodes . This identifies whether the East-West fabric delivers expected capacity.

❌ Incorrect options:

A. To measure the storage network performance.
NCCL validates GPU-to-GPU collective communication over the compute (East-West) fabric, not storage network performance. Storage validation uses separate tools and targets North-South traffic .

C. To measure the power consumption of GPUs.
NCCL is a communication library with no power measurement capability. Power consumption is monitored through nvidia-smi or DCGM, not NCCL benchmarks.

đź”§ Reference:
→ NVIDIA Multi-Node NVLink Benchmarking Guide
Confirms NCCL tests measure bandwidth and latency of collective operations across multi-GPU configurations.

→ NVIDIA NVL72 AI Factory Networking Topologies
States NCCL handles load balancing across compute planes and validates GPU-to-GPU connectivity in the East-West fabric.
Question 28 Choose 1
A system administrator has upgraded the firmware of the DPU. What will be the state of the firmware after the upgrade?
Show answerHide answer

Correct answer: D The firmware is waiting on reboot to become active.

Explanation

Explanation:

This question tests your knowledge of NVIDIA BlueField Data Processing Unit (DPU) firmware update lifecycles. Flashing or upgrading the DPU firmware writes the new image to non-volatile flash memory, but the changes require a system reset to initialize.

âś… Correct Option:

âś… D. The firmware is waiting on reboot to become active.
When updating DPU firmware using tools like mlxconfig or flint, the new image is written to the secondary flash memory bank. The firmware remains in a pending state and will not take effect until a warm software reset (mlxreset) or a full system reboot/power cycle is performed to load the new image.

❌ Incorrect options:

❌ A. The firmware is installed on the DPU.
Stating that the firmware is fully installed implies that the new image is already running and active. While the files are written to flash memory, the running operational state remains on the older version until the system reboots.

❌ B. The firmware is deleted from the DPU.
Upgrading firmware writes new operational image data to the DPU's non-volatile memory. It does not erase or delete firmware without replacing it, as doing so would leave the device unbootable.

❌ C. The firmware is copied to the DPU but not installed.
The firmware update utility writes and verifies the firmware directly into the hardware flash registers, which completes the installation phase. It is not merely staged or copied as an uninstalled file.

đź”§ Reference:
→ NVIDIA BlueField DPU Software Documentation confirms that updated firmware resides in flash memory and requires a reboot or reset to activate.
Question 29 Choose 2
Which of the following steps are essential components of a recommended DGX cluster installation procedure?

Pick the 2 correct responses below.
Show answerHide answer

Correct answer: A, B Group nodes by function during initial setup and assign them to relevant categories in the cluster management tool.Configure networking by validating all interfaces on each node, ensuring proper InfiniBand and Ethernet connectivity prior to installing cluster software.

Explanation

Explanation

The question tests the foundational stages of a recommended DGX cluster deployment. Nodes must be organized according to their roles, and all management, InfiniBand, and Ethernet interfaces must be configured and validated before installing workload-management software or running workloads.

✔️ Correct Option

A. Group nodes by function during initial setup and assign them to relevant categories in the cluster management tool.
Grouping nodes by function—such as head, login, compute, storage, or management roles—allows the cluster management tool to apply the correct images, configurations, networks, and policies. NVIDIA deployment procedures use node categories and assigned roles so that nodes boot with the settings appropriate for their purpose and can be managed consistently across the cluster.

B. Configure networking by validating all interfaces on each node, ensuring proper InfiniBand and Ethernet connectivity prior to installing cluster software.
Network validation is essential before deploying cluster software. Administrators should confirm that the required Ethernet and InfiniBand interfaces are detected, correctly configured, reachable, and connected to the intended networks. This establishes reliable management, storage, and GPU-to-GPU communication before installing workload-management or distributed-computing components.

❌ Incorrect Options

C. Install Slurm on the head node and then configure the compute nodes’ default OS images.
This reverses the recommended dependency order. Compute-node roles, images, interfaces, and network settings should be defined and validated before workload-manager deployment. Slurm installation is a later stage, after the nodes and underlying cluster infrastructure are properly provisioned.

D. Complete application containerization, run distributed jobs, and skip validation of node health or storage availability.
Application deployment and distributed job execution should occur only after infrastructure validation. Skipping node-health, storage, and network checks can hide hardware or connectivity failures and lead to unreliable job execution, performance problems, or data-access errors.

đź”§ Reference
→ NVIDIA DGX BasePOD Deployment Guide
— Shows assigning DGX nodes to categories and images, configuring the cluster, and verifying node status after deployment.

→ NVIDIA DGX BasePOD Network Configuration
— Confirms configuring and verifying InfiniBand and node interfaces before completing cluster deployment.
Question 30 Choose 1
A system administrator receives an alert about a potential hardware fault on an NVIDIA DGX A100. The GPU performance seems degraded, and the system fans are operating loudly. What step should be recommended to identify and troubleshoot the hardware fault?
Show answerHide answer

Correct answer: B Check the NVIDIA System Management Interface (nvidia-smi) for GPU status and temperatures.

Explanation

Explanation

This question tests the first troubleshooting step for suspected GPU hardware problems on a DGX A100. Degraded GPU performance together with loud fans usually points to a thermal or power problem. The first step is to gather diagnostic data, using nvidia-smi to see GPU status, temperatures, clocks, and throttling reasons, before stressing, restarting, or changing the system.

âś… B. Check the NVIDIA System Management Interface (nvidia-smi) for GPU status and temperatures.
nvidia-smi shows each GPU's status, temperature, power draw, clocks, and any throttling reasons. Loud fans and reduced performance often mean a GPU is running hot and being throttled, and this output confirms it and shows which GPU is affected. It is non-disruptive, runs while the system is online, and gives the evidence needed to decide on further steps, such as NVSM health checks.

❌ A. Run a deep learning workload to stress test the GPUs and check whether the issue persists.
A stress test raises heat and power load on GPUs that are already suspected to be faulty or running hot. That can worsen the fault or trigger shutdowns, and it does not identify the cause. Diagnostic data such as temperatures and status should be collected first. Stress testing is better used later, in a controlled way, after the problem is understood.

❌ C. Power drain then restart the DGX and check if the performance degradation resolves.
Power draining and restarting takes the system offline and interrupts running workloads. It may temporarily hide the symptoms without finding the cause, and a real hardware fault, such as a failing fan or a GPU overheating, would return. It also removes the live state and evidence that could help pinpoint the fault. A restart is not a diagnostic step.

❌ D. Increase the fan speed to maximum and check whether the performance improves.
The fans are already running loudly, which suggests the system is responding to a thermal condition. Forcing them to maximum only masks the symptom and does not identify why the GPUs are hot. It also cannot fix a failed fan, blocked airflow, or a faulty GPU. It adds noise and wear without providing diagnostic information.

Reference
🔧 Quick Start and Basic Operation – NVIDIA DGX A100 User Guide → confirms that NVIDIA provides diagnostic tools (NVSM) to determine system health and identify component issues, which is used after checking GPU status and temperatures.
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