Question 27 of 968
mediumMultiple SelectObjective-mapped
CAS-004 DevSecOps security controls Practice Question
An organization is implementing a DevSecOps pipeline. Which of the following are essential security controls to include? (Select TWO.)
⚠ Common exam trap
The CAS-004 exam often tests the distinction between continuous pipeline-integrated controls (SAST, DAST) and traditional periodic or infrastructure-level controls (annual pen tests, network segmentation), expecting candidates to recognize that only the former are essential within a DevSecOps pipeline.
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
✓
Implement SAST in the build phase
SAST (Static Application Security Testing) is essential in the build phase because it analyzes source code, bytecode, or binary code for security vulnerabilities without executing the program. Integrating SAST early in the DevSecOps pipeline allows developers to identify and remediate flaws like SQL injection, buffer overflows, or cross-site scripting before the code is compiled and deployed, aligning with the 'shift left' security principle.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Conduct annual penetration testing
Why it's wrong here
Annual testing is not frequent enough for a DevSecOps pipeline, which requires continuous testing.
- ✗
Use network segmentation for production
Why it's wrong here
Network segmentation is a security control but not specific to the DevSecOps pipeline; it is an operational security measure.
- ✗
Disable security scanning to speed up deployments
Why it's wrong here
Disabling security scanning would defeat the purpose of DevSecOps.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The CAS-005 exam frequently reuses these exact scenarios with slightly different constraints.
✓Implement SAST in the build phaseCorrect answer▾
✗Conduct annual penetration testingWrong answer — click to see why▾
Why this is wrong here
Annual testing is not frequent enough for a DevSecOps pipeline, which requires continuous testing.
✗Use network segmentation for productionWrong answer — click to see why▾
Why this is wrong here
Network segmentation is a security control but not specific to the DevSecOps pipeline; it is an operational security measure.
✗Disable security scanning to speed up deploymentsWrong answer — click to see why▾
Why this is wrong here
Disabling security scanning would defeat the purpose of DevSecOps.
Analysis generated from the official CAS-005blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 11, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.