NCP-AII exam dumps

NCP-AII practice question 114 of 146

NVIDIA-Certified Professional AI Infrastructure. Professional level, NVIDIA. Free question with the correct answer and a full explanation.

NCP-AII Question 114

Single answer

You are tasked with setting up an environment for deploying GPU-accelerated containers on a Linux system. As part of configuring the system, you need to install the NVIDIA Container Toolkit. Which step is a required part of the installation process to ensure compatibility with Docker?

  1. A

    Install the NVIDIA graphics driver compatible with your GPU

  2. B

    Use 'nvidia-container-cli' to manually map GPUs to Docker containers

  3. C

    Add the NVIDIA Container Toolkit repository and install the nvidia-container-runtime

  4. D

    Rebuild the Linux kernel to integrate the NVIDIA Container Toolkit

Show answer and explanation

Correct answer: C

Explanation

The NVIDIA Container Toolkit allows Docker to use GPUs by integrating the NVIDIA runtime. A critical step in this installation process is adding the NVIDIA Container Toolkit repository and installing the 'nvidia-container-runtime'. This ensures Docker can access the GPUs correctly via the NVIDIA runtime.

  • A. Incorrect.

    While installing a compatible NVIDIA graphics driver is a prerequisite for GPU usage, it is not a direct step in the NVIDIA Container Toolkit installation process for Docker.

  • B. Incorrect.

    Using 'nvidia-container-cli' is not required during the installation process. It is a command-line utility used for runtime configurations after installation.

  • C. Correct.

    Adding the NVIDIA Container Toolkit repository and installing the nvidia-container-runtime are essential steps to enable Docker to recognize and utilize GPUs via the NVIDIA runtime.

  • D. Incorrect.

    Rebuilding the Linux kernel is unnecessary for installing the NVIDIA Container Toolkit. The toolkit integrates with Docker without requiring kernel modifications.

Timed practice exam

Take a NCP-AII practice test under exam conditions

65 questions in 90 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam