NCP-AII Question 121
Select 3You are setting up a multi-node AI infrastructure and need to install the NVIDIA NGC CLI on each host to enable streamlined access to pre-trained models and containers. Which steps must be taken to successfully install and configure the NGC CLI?
- A
Download the NGC CLI binary from the official NVIDIA website and add it to the system PATH.
- B
Ensure that Python 3.6 or later is installed on the host system as it is a prerequisite for the NGC CLI.
- C
Use the 'ngc config set' command to configure your NGC API key after installation.
- D
Install the NGC CLI using the 'pip install ngc' command.
- E
Verify the installation by running 'ngc --version' to confirm the CLI is correctly installed.
Show answer and explanation
Correct answers: A, C, E
Explanation
To install and configure the NVIDIA NGC CLI, you must download the binary, add it to the system PATH, configure the NGC API key using 'ngc config set', and verify the installation using 'ngc --version'. Python is not required for the NGC CLI as it operates as a standalone binary, and the CLI cannot be installed using pip.
- A. Correct.
Correct. The NGC CLI binary must be downloaded and added to the system PATH for it to function properly.
- B. Incorrect.
Incorrect. Python is not a prerequisite for the NGC CLI as it runs as a standalone binary.
- C. Correct.
Correct. After installing the NGC CLI, you must configure your NGC API key using the 'ngc config set' command to authenticate.
- D. Incorrect.
Incorrect. The NGC CLI is not installed via pip; it is provided as a standalone binary.
- E. Correct.
Correct. After installation, running 'ngc --version' is a standard way to verify that the CLI is installed and operational.