Courseiva
SecuritymediumMultiple ChoiceObjective-mapped

CV0-004 Security Practice Question

A security team discovers that a container image used in production contains a known vulnerability in one of its base image layers. Which action should be taken to remediate this issue?

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

Rebuild the container image using an updated base image

The vulnerability is in the base image, so rebuilding the image using an updated base image that includes the security fix is the correct remediation. Additionally, scanning images in a CI/CD pipeline can catch 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.

  • Rebuild the container image using an updated base image

    Why this is correct

    Rebuilding with a patched base image resolves the vulnerability at the image level.

  • Delete the container and recreate it from the same image

    Why it's wrong here

    Recreating from the same image will still have the vulnerability.

  • Apply a security patch to the running container

    Why it's wrong here

    Containers are immutable; patches should be applied to the image, not the running container.

  • Enable runtime security monitoring to detect exploitation attempts

    Why it's wrong here

    Monitoring does not fix the existing vulnerability.

About these practice questions

This CV0-004 question is part of Courseiva's 977-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 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.