Courseiva
SecurityhardMultiple ChoiceObjective-mapped

CV0-004 Security Practice Question

During a security audit, a cloud engineer discovers that a container image used in production has a known critical vulnerability in a base layer. Which practice should be implemented to prevent this in the future?

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

Perform container image scanning during CI/CD

Regular container image scanning in the CI/CD pipeline detects vulnerabilities before deployment.

Answer analysis

Option-by-option breakdown

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

  • Enable Kubernetes pod security policies

    Why it's wrong here

    Pod security policies restrict runtime behavior, not image vulnerabilities.

  • Use only official images from Docker Hub

    Why it's wrong here

    Official images may still have vulnerabilities.

  • Perform container image scanning during CI/CD

    Why this is correct

    Scanning identifies vulnerabilities early in the pipeline.

  • Implement network segmentation

    Why it's wrong here

    Segmentation limits blast radius but doesn't prevent vulnerable images.

About these practice questions

Courseiva writes every CV0-004 question from scratch — 977 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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 CV0-004 practice question is part of Courseiva's free CompTIA 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 CV0-004 exam.