Exercises
Assess your ability to secure the software supply chain from source code to deployment. This quiz covers dependency management, software bills of materials, build provenance, artifact signing, SLSA, VEX, hermetic and reproducible builds, CI/CD identities, trusted repositories, and deployment admission policies. The questions combine practical scenarios with technical concepts used to prevent, detect, and respond to supply chain compromises.
Answer the questions below and check the explanation for each answer.
0/18 answered
Auto audio on: the next questions will be read aloud when you click Continue.
An SBOM provides a structured inventory of software components, versions, and relationships. Teams can use it to assess licensing and determine exposure to known vulnerabilities.
The application directly depends on Library Alpha, while Alpha depends on Library Gamma. Gamma is therefore an indirect, or transitive, dependency of the application.
A lockfile constrains dependency resolution to recorded versions and may include integrity hashes. This improves repeatability and reduces unexpected changes, but it does not establish that a package is safe.
Provenance should be generated by the trusted build system and tied to the resulting artifact. It can then describe the source, builder, inputs, and process that produced that exact output.
SLSA provides requirements and guidance for strengthening source and build integrity. Its controls address areas such as provenance, tamper resistance, and trustworthy build platforms.
A narrowly scoped, short-lived token limits both the available actions and the time in which an attacker could misuse it. Shared or broadly privileged permanent credentials create greater exposure.
A verifier uses a trusted public key or certificate identity to check a signature created with the corresponding private key. The private signing key must remain protected by the signer.
A reproducible build allows independent parties to produce identical outputs from the same inputs under specified conditions. Differences can reveal undocumented inputs, nondeterminism, or possible tampering.
Dependency confusion occurs when a resolver retrieves an attacker-controlled public package instead of the intended internal one. Explicit source rules, namespace controls, and registry restrictions reduce this risk.
An immutable commit identifier fixes the workflow to reviewed code. Branches and movable tags can later point to different content, allowing unreviewed or compromised code to enter the pipeline.
Mandatory reviews and successful checks establish independent approval and automated validation before protected code changes. These controls are stronger when bypass permissions are tightly restricted.
A VEX statement communicates whether a known vulnerability affects a specific product and can include justification. It complements an SBOM rather than replacing the component inventory.
A hermetic build uses controlled, declared inputs and avoids undeclared environmental or network dependencies. This improves consistency and reduces opportunities for external content to alter the output.
Quarantine prevents a suspicious artifact from being promoted or consumed while investigators determine whether it is malicious or a false positive. Renaming does not address the underlying risk.
Workload identity federation uses verified workload identity to obtain short-lived credentials. This avoids storing reusable cloud keys in CI secrets and limits the useful lifetime of stolen credentials.
TUF clients validate signed metadata, including versions and expiration. These checks help prevent an attacker from forcing clients to install older, vulnerable repository metadata or software.
Strict admission enforcement blocks artifacts that cannot be verified against trusted signing identities. Logging alone permits the untrusted artifact to run, while the verifier must not create a replacement signature.
SBOMs reveal which products contain the affected dependency versions, while provenance helps connect those products to particular builds and inputs. This supports accurate scoping, removal, rebuilding, and notification.
Video Courses
recommended
recommended
recommended
Thousands of online courses in video, ebooks and audiobooks.
To test your knowledge during online courses
Generated directly from your cell phone's photo gallery and sent to your email
Download our app via QR Code or the links below:.
+ 10 million
students
Free and Valid
Certificate
60 thousand free
exercises
4.8/5 rating in
app stores
Free courses in
video and ebooks