nerdexam
CompTIACompTIA

CV0-004 · Question #126

CV0-004 Question #126: Real Exam Question with Answer & Explanation

The correct answer is A: Private container repository access requires authorization, while public repository access does. {"question_number": 7, "explanation": "The fundamental distinction between public and private container repositories is access control. Public repositories - such as those on Docker Hub - are openly accessible to anyone without authentication, making images freely pullable by any

Security

Question

Which of the following describes the main difference between public and private container repositories?

Options

  • APrivate container repository access requires authorization, while public repository access does
  • BPrivate container repositories are hidden by default and containers must be directly referenced,
  • CPrivate container repositories must use proprietary licenses, while public container repositories
  • DPrivate container repositories are used to obfuscate the content of the Dockerfile, while public

Explanation

{"question_number": 7, "explanation": "The fundamental distinction between public and private container repositories is access control. Public repositories - such as those on Docker Hub - are openly accessible to anyone without authentication, making images freely pullable by any user or system. Private repositories require users or systems to authenticate and be explicitly authorized before they can pull or push images. This is the core security boundary between the two. The other choices describe incorrect or misleading differences: licensing requirements are not determined by repository visibility, Dockerfile contents are not obfuscated by private repositories, and private repositories are not simply 'hidden' in a way that prevents normal access mechanics.", "generated_by": "claude-sonnet", "llm_judge_score": 5}

Topics

#Container repositories#Public vs Private#Access control

Community Discussion

No community discussion yet for this question.

Full CV0-004 PracticeBrowse All CV0-004 Questions