Courseiva
Supply Chain Security →mediumMultiple Choice

CKS Supply Chain Security Practice Question

A security scan report shows that a container image has several high-severity CVEs. The team wants to implement automated scanning in CI/CD pipeline. Which tool would you recommend for scanning container images in a CI pipeline?

⚠ Common exam trap

The CKS exam often tests the distinction between SBOM generation tools (like Syft) and vulnerability scanners (like Trivy), causing candidates to confuse the purpose of each tool in the supply chain security context.

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

✓

Trivy

Trivy is a comprehensive, open-source vulnerability scanner specifically designed for container images, filesystems, and Git repositories. It integrates seamlessly into CI/CD pipelines, detects high-severity CVEs by cross-referencing image layers against multiple vulnerability databases (e.g., NVD, Red Hat, Alpine), and provides actionable remediation advice. This makes it the correct choice for automated scanning of container images in a CI pipeline.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Syft

    Why it's wrong here

    Syft generates a software bill of materials by cataloguing packages in an image; it produces no CVE severity findings on its own. It is tempting because it runs against container images in CI, and would be correct when the requirement is SBOM generation or feeding inventory data into a separate vulnerability matcher.

  • ✗

    Checkov

    Why it's wrong here

    Checkov performs static analysis of infrastructure-as-code templates such as Terraform and CloudFormation; it never pulls image layers or resolves OS package versions against CVE feeds. It is tempting because it integrates into CI, and would be correct for catching misconfigured cloud resources before deployment.

  • ✗

    Kubesec

    Why it's wrong here

    Kubesec scores Kubernetes YAML manifests for security misconfigurations; it does not inspect image layers or match packages against CVE databases. It is tempting because it runs in CI pipelines, and would be correct when validating deployment manifests for privileged containers, hostPath mounts or missing resource limits.

  • ✓

    Trivy

    Why this is correct

    Trivy scans container images for OS package and language dependency vulnerabilities, integrating cleanly into CI pipelines as a CLI step that fails builds on high-severity CVEs. It satisfies the automated scanning requirement without needing a running cluster or registry-side agent, unlike runtime-focused alternatives.

About these practice questions

This CKS question is part of Courseiva's 845-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 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.