nerdexam
SAP

C_CPE_16 · Question #65

What must you do to pull a container image from a private registry? Note: There are 2 correct answers to this question.

The correct answer is A. Create a secret with the type "kubernetes.io/dockerconfigjson". D. Provide credentials in the pod manifest via "imagePullSecrets" in spec.template.spec. See the full explanation below for the reasoning.

Question

What must you do to pull a container image from a private registry? Note: There are 2 correct answers to this question.

Options

  • ACreate a secret with the type "kubernetes.io/dockerconfigjson".
  • BCreate a secret with the type "Opaque".
  • CProvide credentials in the pod manifest via "imagePullSecrets" in
  • DProvide credentials in the pod manifest via "imagePullSecrets" in spec.template.spec.

How the community answered

(36 responses)
  • A
    83% (30)
  • B
    11% (4)
  • C
    6% (2)

Community Discussion

No community discussion yet for this question.

Full C_CPE_16 Practice