NCP-AII Question 125
Select 4You are setting up an AI development environment and need to install the NVIDIA NGC Command Line Interface (CLI) on a host machine running Linux. Which of the following steps are required to successfully install and configure the NGC CLI?
- A
Download the NGC CLI binary from the official NVIDIA NGC website.
- B
Make the downloaded binary executable using the 'chmod +x' command.
- C
Run the 'ngc setup' command to configure the CLI with an API key.
- D
Install the NGC CLI using a package manager like 'apt' or 'yum'.
- E
Verify the installation by running 'ngc --version'.
Show answer and explanation
Correct answers: A, B, C, E
Explanation
The installation of the NGC CLI on Linux involves downloading the binary from the NVIDIA NGC website, making it executable using 'chmod +x', configuring it with the 'ngc setup' command using an API key, and verifying the installation with 'ngc --version'. It does not involve package managers like 'apt' or 'yum', as the NGC CLI is distributed as a standalone binary.
- A. Correct.
Correct. The NGC CLI binary must be downloaded from the official NVIDIA NGC website to ensure you have the latest and legitimate version.
- B. Correct.
Correct. Making the binary executable using 'chmod +x' is required to run the NGC CLI on Linux systems.
- C. Correct.
Correct. The 'ngc setup' command is necessary to configure the CLI by linking it to your NGC account using an API key.
- D. Incorrect.
Incorrect. The NGC CLI is not installed via package managers like 'apt' or 'yum'; it is a standalone binary that must be downloaded and executed directly.
- E. Correct.
Correct. Verifying the installation by running 'ngc --version' ensures the CLI is properly installed and operational.