CSSLP Practice Question: Secure Software Deployment Operations And Management
You are auditing your software deployment process. Which practice is best to prevent 'Dependency Confusion' attacks where malicious packages are pulled from public registries instead of internal ones?
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
✓
Define specific versions for all dependencies in a lock file and use a private repository with scoped registries.
Configuring a private repository manager (like JFrog Artifactory) to prioritize internal scopes and block external lookup for those namespaces prevents dependency confusion.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Run all build processes in an isolated network segment without internet access.
Why it's wrong here
While secure, this prevents the fetching of legitimate external dependencies.
- ✓
Define specific versions for all dependencies in a lock file and use a private repository with scoped registries.
Why this is correct
Lock files and scoped registries ensure you are pulling the exact, intended code from trusted locations.
- ✗
Use only open-source software libraries.
Why it's wrong here
Open-source libraries are the vector for dependency confusion.
- ✗
Regularly scan the public registries for malicious packages.
Why it's wrong here
Scanning public registries is reactive and cannot keep up with thousands of malicious uploads.
About these practice questions
This CSSLP question is part of Courseiva's 198-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official (ISC)² exam blueprint
This CSSLP practice question is part of Courseiva's free (ISC)² 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 CSSLP exam.