Courseiva
Secure Software Supply ChainhardMultiple SelectObjective-mapped

CSSLP Secure Software Supply Chain Practice Question

To defend against 'Dependency Confusion' attacks, which TWO of the following configurations should you apply to your private package manager?

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

Enable 'package shadowing' prevention or strict upstream filtering.

To prevent dependency confusion, you must configure the internal manager to prioritize internal namespaces (scopes) and forbid 'shadowing' by ensuring public packages cannot override internal ones.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Disable all caching of external packages.

    Why it's wrong here

    Caching is important for performance and availability.

  • Use the latest version of the CLI tool regardless of security patches.

    Why it's wrong here

    Ignoring patches is a bad security practice.

  • Set the global registry to the public URL.

    Why it's wrong here

    This would make the organization vulnerable to confusion attacks.

  • Enable 'package shadowing' prevention or strict upstream filtering.

    Why this is correct

    Ensures public registries cannot provide packages that match internal names.

  • Explicitly configure scope-to-registry mappings.

    Why this is correct

    Forces the client to look at the correct registry for specific scopes.

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 →

How Courseiva writes practice questions · Editorial policy

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.