Question 20
UnclassifiedAn engineer needs to authenticate to the NGC (NVIDIA GPU Cloud) container registry to pull optimized deep learning containers for DGX nodes. What is the correct authentication method for NGC container registry access?
Correct answer: A
Explanation
NGC registry access uses Docker authentication to the registry host, so the login command is "docker login nvcr.io." NVIDIA specifies the username as "$oauthtoken" and the password as the NGC API key from the NGC portal, which is the credential used to authenticate and pull containers.
Why each option is right or wrong
A. Use 'docker login nvcr.io' with username '$oauthtoken' and password set to your NGC API key generated from the NGC portal
NVIDIA’s NGC container registry authenticates through the Docker client against the registry host `nvcr.io`; the documented login flow is `docker login nvcr.io`, not a separate NGC-specific CLI. The username must be the literal string `$oauthtoken`, and the password is the NGC API key generated in the NGC portal, which is the credential used to authorize pulls of DGX-optimized containers.
B. Use your NVIDIA Developer account email and password directly with docker login
C. NGC containers are public and require no authentication for pulling
D. Configure NGC_API_KEY environment variable and Docker automatically uses it