NGC CLI installation: Practice Questions — Control Plane Installation and Configuration (NVIDIA-Certified Professional: AI Infrastructure)
Practice Questions: NGC CLI Installation for NVIDIA-Certified Professional: AI Infrastructure These multiple-choice questions focus on the NGC CLI...
Practice Questions: NGC CLI Installation for NVIDIA-Certified Professional: AI Infrastructure
These multiple-choice questions focus on the NGC CLI installation, a critical component of the Control Plane Installation and Configuration domain for the NVIDIA-Certified Professional: AI Infrastructure exam.
Which command is used to install the NGC CLI on a Linux system?
- A. apt-get install ngc
- B. curl -O https://ngc.nvidia.com/downloads/ngccli_linux.zip
- C. yum install nvidia-ngc-cli
- D. docker pull nvcr.io/ngc/ngc-cli
Correct Answer: B
Explanation: The NGC CLI is typically installed by downloading the official zip package from NVIDIA's NGC website using curl or wget, then extracting and configuring it. The command in option B reflects this process.
After downloading the NGC CLI zip file, what is the next essential step to complete the installation?
- A. Run ngc install
- B. Extract the zip file and move the binary to a directory in the system PATH
- C. Restart the Docker daemon
- D. Configure the Slurm scheduler
Correct Answer: B
Explanation: Once the zip file is downloaded, it must be extracted and the executable binary placed in a directory included in the system PATH (e.g., /usr/local/bin) to make the ngc command available globally.
Which environment variable must be set or configured to authenticate the NGC CLI with NVIDIA's container registry?
- A. NGC_API_KEY
- B. NGC_AUTH_TOKEN
- C. NGC_CREDENTIALS
- D. NGC_CONFIG
Correct Answer: A
Explanation: The NGC CLI uses an API key for authentication, which is set in the environment variable NGC_API_KEY or configured via the CLI's configuration file.
Which command verifies that the NGC CLI is correctly installed and able to communicate with the NVIDIA NGC registry?
- A. ngc registry list
- B. ngc --version
- C. ngc registry image list
- D. ngc config validate
Correct Answer: C
Explanation: Running ngc registry image list lists available container images from the NVIDIA NGC registry, confirming both installation and authentication are working.
What is the recommended method to update the NGC CLI to the latest version?
- A. Run ngc update
- B. Re-download the latest zip file and replace the binary
- C. Use the system package manager to upgrade
- D. Restart the system
Correct Answer: B
Explanation: The NGC CLI is updated by downloading the latest release from NVIDIA's website and replacing the existing binary; it is not managed by system package managers.
Which of the following is NOT a prerequisite for installing the NGC CLI?
- A. Python 3.x installed
- B. Internet connectivity for downloading binaries and authenticating
- C. Docker installed for container operations
- D. Slurm scheduler configured
Correct Answer: D
Explanation: While Slurm is important for cluster job scheduling, it is not a prerequisite specifically for installing or running the NGC CLI.
How can you configure the NGC CLI to use a proxy server for network access?
- A. Set environment variables HTTP_PROXY and HTTPS_PROXY
- B. Modify the ngc.conf file to include proxy settings
- C. Use the command ngc config proxy set
- D. Proxy configuration is not supported by NGC CLI
Correct Answer: A
Explanation: The NGC CLI respects standard environment variables HTTP_PROXY and HTTPS_PROXY to route traffic through a proxy server.
Which file contains the configuration settings for the NGC CLI after installation?
- A. ~/.ngc/config.yaml
- B. /etc/ngc/ngc.conf
- C. ~/.config/ngc/config.json
- D. ~/.ngc/ngc.conf
Correct Answer: D
Explanation: The NGC CLI stores its configuration in the ~/.ngc/ngc.conf file in the user's home directory.
More in this topic
Ready to test your knowledge?
Put what you've learned into practice with a quick quiz and track your progress.
Test your knowledge →