NCP-AII practice question 8 of 15

A company has a registered NGC account and their server has NGC CLI installed. What step should be taken first to gain access to NGC?

Full set: 71 questions
Answer options
A: ngc config get
B: ngc init
C: ngc config set Correct answer
D: ngc config update
Correct Answer:
C. ngc config set
Explanation

Before the NGC CLI can authenticate, the user must create an NGC API Key in the NGC web portal. This key is then supplied to ngc config set in order to gain access to private resources.

Why Incorrect

A – Installing the CLI alone provides no credentials. B – Logging in with system username/password is unsupported; API keys are required. D – Setting the NGC registry URL is secondary; access is denied without a key.

References

1. NVIDIA NGC CLI User Guide v3.27, “Generate Your API Key,” §2.1, pp. 4-5.

2. NVIDIA NGC Getting Started Guide, “Authenticate to NGC,” Rev. 2023-07, pp. 3-4.

3. MIT 6.S983 “Practical Deep-Learning Systems,” Lab 2 handout, §1.2 “Using NGC.”

Scroll to Top