NCP-AII exam dumps

NCP-AII practice question 107 of 146

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

NCP-AII Question 107

Single answer

You are managing an AI development server powered by NVIDIA GPUs and running Ubuntu Linux. Your team reports that their deep learning applications are not functioning correctly due to incompatibility between the installed GPU driver and the CUDA version. What is the correct process to update the NVIDIA GPU driver to resolve the issue?

  1. A

    Use the 'ubuntu-drivers autoinstall' command to automatically install the latest recommended driver from the Ubuntu repositories.

  2. B

    Manually download the latest NVIDIA GPU driver from the NVIDIA website, stop the graphical interface, and install it using the command-line installer.

  3. C

    Update the GPU driver using the 'apt upgrade nvidia-driver' command.

  4. D

    Install the latest CUDA toolkit, which will automatically update the GPU driver to its latest version.

Show answer and explanation

Correct answer: B

Explanation

To resolve driver and CUDA compatibility issues, you need to ensure the GPU driver is updated to the latest version that matches the required CUDA version. While repository-based methods like 'ubuntu-drivers autoinstall' are convenient, they may not always provide the latest driver. Manually downloading and installing the driver from the NVIDIA website allows you to explicitly choose the most compatible and up-to-date version.

  • A. Incorrect.

    This option is incorrect because 'ubuntu-drivers autoinstall' installs the driver version recommended by the Ubuntu repository, which may not always be the latest version required for CUDA compatibility.

  • B. Correct.

    This is the correct option. Manually downloading and installing the driver ensures you are using the latest version from NVIDIA that matches your CUDA requirements. However, it requires stopping the graphical interface (e.g., with 'sudo systemctl isolate multi-user.target') before installation.

  • C. Incorrect.

    This option is incorrect because 'apt upgrade nvidia-driver' is not a valid command. The correct package name is 'nvidia-driver-', and upgrading via package managers may not always fetch the latest driver required for CUDA compatibility.

  • D. Incorrect.

    This option is incorrect because installing the CUDA toolkit does not automatically update the GPU driver. The CUDA installer includes a compatible driver version, but it may not always be the latest driver available.

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