Private Registry Authentication Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Private Registry Configuration

What you'll be asked

  1. Which command is used in the Docker CLI to authenticate with a private registry before pushing or pulling images?
  2. When configuring a Kubernetes cluster to pull images from a private registry, which resource type must be created to store the registry credentials?
  3. What is the primary security risk of storing registry credentials in a plain-text Docker config file on a shared build server?
  4. In a CI/CD pipeline, what is the recommended best practice for handling registry credentials instead of hardcoding them?
  5. You are troubleshooting a '401 Unauthorized' error when pulling an image from a private registry in Kubernetes. Which of the following is the most likely cause if the Secret is correctly defined?

Answers and explanations come after you submit.