Courseiva
Supply Chain Security →hardMultiple Choice

CKS Supply Chain Security Practice Question

You are auditing your cluster's supply chain security. You need to generate a Software Bill of Materials (SBOM) for a container image. Which tool should you use?

⚠ Common exam trap

Candidates often confuse vulnerability scanning (Trivy) with SBOM generation (Syft), leading them to choose Trivy because it is more widely known, even though Syft is the dedicated tool for producing a Software Bill of Materials.

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

✓

Syft

Syft is a CLI tool specifically designed to generate a Software Bill of Materials (SBOM) from container images and filesystems. It uses a pluggable cataloger engine to extract package metadata (e.g., dpkg, RPM, APK, Python, Java) and outputs the SBOM in standard formats like CycloneDX or SPDX, directly addressing the requirement for supply chain security auditing.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Trivy

    Why it's wrong here

    Trivy is primarily a vulnerability scanner, not an SBOM generator. However, it can generate SBOMs in some versions, but the primary tool for SBOM generation is Syft.

  • ✗

    Kubesec

    Why it's wrong here

    Kubesec performs static risk analysis of Kubernetes manifests, scoring security contexts and resource settings; it never inspects image layers, so it cannot enumerate packages. It is the correct tool when hardening YAML before deployment, not when producing a component inventory from a container image.

  • ✗

    Checkov

    Why it's wrong here

    Checkov scans infrastructure-as-code templates such as Terraform and Kubernetes manifests for misconfigurations; it does not unpack image layers to list installed packages. It would be correct for policy checks on IaC in CI, but generating an SBOM requires a scanner that reads image contents directly.

  • ✓

    Syft

    Why this is correct

    Syft is an SBOM generation tool that inspects container image layers and outputs a package inventory in SPDX or CycloneDX formats. It directly satisfies the supply chain audit requirement to produce a Software Bill of Materials, unlike scanners such as Trivy or Grype, which report vulnerabilities rather than catalogue components.

About these practice questions

One of 845 original CKS practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CKS practice question is part of Courseiva's free CNCF 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 CKS exam.