NCP-AII Question 122
Select 4You are tasked with installing the NVIDIA NGC CLI on a Linux host that will be used to manage AI workloads. Which steps are required to successfully install and configure the NGC CLI?
- A
Download the NGC CLI binary from the NVIDIA NGC website.
- B
Set the NGC API key using the 'ngc config set' command.
- C
Install the NGC CLI using a package manager like apt or yum.
- D
Ensure that the NGC CLI binary is in the system PATH environment variable.
- E
Configure Docker to connect to the NGC Registry.
Show answer and explanation
Correct answers: A, B, D, E
Explanation
Installing the NGC CLI involves downloading the binary from the NVIDIA website, placing it in a directory included in the system PATH, configuring Docker for accessing the NGC Registry, and authenticating with the NGC services using an API key. It is not installed via traditional package managers like apt or yum.
- A. Correct.
Correct: The NGC CLI binary must be downloaded manually from the NVIDIA NGC website as it is not available in standard package managers.
- B. Correct.
Correct: Setting the NGC API key is required to authenticate with NVIDIA's NGC services.
- C. Incorrect.
Incorrect: The NGC CLI is not installed via package managers like apt or yum. It is distributed as a standalone binary.
- D. Correct.
Correct: The downloaded binary must be placed in a directory included in the system PATH to execute it from any location.
- E. Correct.
Correct: Docker must be properly configured to access the NGC Registry, as it is used for pulling and managing containerized workloads.