A user wants to restrict a Docker container to use only GPUs 0 and 2. Which command achieves this?
Correct Answer: A
With the advent of the NVIDIA Container Toolkit and modern Docker versions (19.03+), the --gpus flag is the official, verified method for resource allocation. To restrict a container to specific hardware IDs, the syntax requires a specific string format: --gpus '"device=0,2"'. This tells the NVIDIA Container Runtime to map only those specific physical GPU devices into the container's namespace. While environment variables like NVIDIA_VISIBLE_DEVICES (Option B) were used in older "nvidia-docker2" setups, they are now considered legacy and can be overridden by the more modern --gpus flag. Option D is incorrect because simply mapping the device nodes (/dev/nvidiaX) is insufficient; the container also needs the appropriate volume mounts for the NVIDIA drivers and libraries, which the --gpus flag handles automatically. This precise isolation is critical in multi-tenant AI environments to ensure that a single developer or job doesn't accidentally utilize the entire 8-GPU tray of a DGX H100.
NCP-AII Exam Question 47
What command is needed to measure BER (Bit Error Rate)?
Correct Answer: C
In NVIDIA networking environments, specifically those utilizing InfiniBand or high-speed Ethernet via ConnectX adapters, monitoring the physical link quality is critical for preventing packet loss and RDMA retransmissions. The mlxlink tool is part of the NVIDIA Firmware Tools (MFT) package and is the primary utility for checking the status and health of the physical link. Using the -d flag specifies the device (e.g., /dev /mst/mt4123_pciconf0), while the -c (counters) and -e (error counters/BER) flags provide a detailed readout of the link's performance. Bit Error Rate (BER) is a fundamental metric for signal integrity. NVIDIA systems typically distinguish between "Raw BER" (errors before Forward Error Correction) and "Effective BER" (errors remaining after FEC). A high BER often points to a failing transceiver, a dirty fiber connector, or a marginal DAC cable. While ethtool can show general statistics in Ethernet mode, mlxlink is the verified method for granular BER measurement across InfiniBand and high-speed fabrics, allowing engineers to determine if a link meets the "Error-Free" operation standards required for large-scale AI collective communications like NCCL.
NCP-AII Exam Question 48
A system administrator needs to validate a GPU-based server and ensure that no errors occur under load. What command should be used?
Correct Answer: C
While there are many ways to stress a system, the verified method to check for errors under load in an NVIDIA DGX environment is to monitor the system using NVSM (NVIDIA System Management). Running nvsm show health is the standard command to verify that all hardware components-including GPUs, memory, and storage-are operating within their defined specifications. To truly ensure no errors occur " under load, " an administrator will typically run a workload (like HPL or NCCL tests) and concurrently run nvsm show health or nvsm monitor to check for real-time telemetry such as thermal throttling, PCIe errors, or power fluctuations. nvsm show health aggregates data from the BMC and the OS to provide a " Red/Green " status of the entire system. There is no standard command named nvsm stress-test (Option D) or stress-test -- usage (Option B) in the official NVIDIA DGX software stack.
NCP-AII Exam Question 49
A 24-hour HPL burn-in fails with " illegal value " errors during the first iteration. Which initial troubleshooting step resolves this without compromising burn-in validity?
Correct Answer: D
High-Performance Linpack (HPL) is the standard benchmark for stress-testing the computational stability and thermal endurance of an AI cluster. It solves a massive dense system of linear equations, and its mathematical configuration is highly sensitive. The HPL.dat configuration file defines the Problem Size ($N$) and the Block Size ($NB$). A fundamental requirement of the HPL algorithm is that the workload must be distributed evenly across the MPI processes and GPU threads. If the total matrix size $N$ is not an exact multiple of the block size $NB$, or if the grid dimensions ($P \times Q$) do not align with the hardware topology, the solver may encounter an " illegal value " error or a " residual too large " failure at the very beginning of the run. This is a configuration error, not a hardware fault. Reducing the precision (Option A) would invalidate the test, as HPL must run in FP64 to be considered a standard " burn-in. " Verifying that $N$ is divisible by $NB$ ensures the mathematical integrity of the test while allowing the hardware to be pushed to its theoretical performance limits.
NCP-AII Exam Question 50
A cluster administrator is preparing to update the firmware on a DGX H100 system, including the GPU tray (baseboard). What is the correct sequence of steps to perform a safe and successful firmware upgrade?
Correct Answer: D
Updating firmware on an NVIDIA DGX H100 is a multi-stage process that requires careful orchestration to prevent hardware corruption. The first and most critical step is to ensure no workloads are running (stopping all GPU activity) to avoid conflicts during the flashing process. The standard NVIDIA procedure begins with updating and rebooting the Baseboard Management Controller (BMC). This is because the BMC manages the power sequencing and communication for all other trays; having the latest management logic active is a prerequisite for the subsequent steps. Once the BMC is updated and back online, the administrator proceeds with the motherboard and GPU tray updates. However, these updates are staged in flash memory and often do not " take effect " until the hardware undergoes a cold reset (removing power completely). This physical or logical power cycle forces the various CPLDs and silicon root-of-trust modules to boot from the newly written firmware images. Finally, the administrator must verify completion using tools like nvsm show health or the BMC dashboard to ensure all components report the target versions and a " Healthy " status. Skipping the BMC update first (Option C) or the cold reset (Option B) can lead to mismatched firmware states that may cause system instability or boot failures.