hardMultiple ChoiceObjective-mapped
CCSP Practice Question: Uses a private artifact registry for approved…
An organization uses a private artifact registry for approved packages. What attack does this practice primarily defend against?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Dependency confusion attacks
Dependency confusion attacks occur when an attacker publishes a malicious package with the same name as an internal package to a public registry, tricking the build system into using the malicious one. A private registry ensures only approved packages are used.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Dependency confusion attacks
Why this is correct
Private registries control package sources, preventing dependency confusion.
- ✗
Denial of service attacks
Why it's wrong here
Private registries do not mitigate DoS.
- ✗
Man-in-the-middle attacks
Why it's wrong here
Private registries do not directly prevent MITM; TLS does.
- ✗
Injection attacks
Why it's wrong here
Injection attacks are prevented by input validation, not registry usage.
Go deeper
Related to this question
About these practice questions
Courseiva writes every CCSP question from scratch — 964 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CCSP practice question is part of Courseiva's free ISC2 certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CCSP exam.