Courseiva
hardMultiple ChoiceObjective-mapped

CCSP Practice Question: A company uses Terraform to manage cloud…

A company uses Terraform to manage cloud infrastructure. Which infrastructure-as-code (IaC) security scanner can detect misconfigurations such as overly permissive security group rules before deployment?

⚠ Common exam trap

The ISC2 CCSP exam often tests the distinction between IaC security scanners (like Checkov) and other security tools (like Snyk for dependencies, Dependabot for package updates, and GitGuardian for secrets), so candidates must recognize that only Checkov is purpose-built for scanning Terraform configurations before deployment.

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

Checkov

Checkov is an open-source static analysis tool specifically designed to scan Infrastructure as Code (IaC) templates, including Terraform, for security misconfigurations such as overly permissive security group rules (e.g., 0.0.0.0/0 ingress on port 22). It uses a policy-as-code framework with hundreds of built-in checks (e.g., CKV_AWS_24 for unrestricted SSH) and can be integrated into CI/CD pipelines to catch issues before deployment, making it the correct choice for pre-deployment IaC scanning.

Answer analysis

Option-by-option breakdown

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

  • Snyk

    Why it's wrong here

    Snyk focuses on dependency vulnerabilities.

  • Dependabot

    Why it's wrong here

    Dependabot updates dependencies, not scans IaC.

  • GitGuardian

    Why it's wrong here

    GitGuardian detects secrets in code.

  • Checkov

    Why this is correct

    Checkov scans IaC files like Terraform for compliance and security issues.

About these practice questions

One of 964 original CCSP 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 CCSP practice question is part of Courseiva's free ISC2 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 CCSP exam.