mediumMultiple ChoiceObjective-mapped
CAS-004 Practice Question: In a CI/CD pipeline, a security gate fails…
In a CI/CD pipeline, a security gate fails because a high-severity vulnerability is found in the base image of a container. The pipeline is configured to block deployment on such findings. What is the appropriate remediation step?
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
✓
Update the base image to a patched version
Updating the base image to a patched version ensures the vulnerability is fixed. Overriding the gate or adding exceptions bypasses security, and rebuilding with the same base retains the issue.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Update the base image to a patched version
Why this is correct
Using a patched base image resolves the vulnerability.
- ✗
Override the security gate and proceed with deployment
Why it's wrong here
Overriding ignores the vulnerability, compromising security.
- ✗
Rebuild the image using the same base image
Why it's wrong here
Rebuilding with the same vulnerable base does not fix the issue.
- ✗
Add the vulnerability to an exception list
Why it's wrong here
Exception lists bypass security without fixing the root cause.
Go deeper
Related to this question
About these practice questions
This CAS-005 question is part of Courseiva's 968-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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CAS-005 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 CAS-005 exam.