SecurityX CAS-005 practice question 12: Engineering
A CI pipeline builds software from many open source packages. Which control best reduces the chance a poisoned dependency reaches production?
The options
- A. Run the build as the domain administrator.
- B. Disable build logging to save space.
- C. Pin dependency versions, verify provenance or signatures, and generate a software bill of materials for each build.
- D. Allow the pipeline to pull the latest version of every package on each build.
Answer and why
The correct answer is C: Pin dependency versions, verify provenance or signatures, and generate a software bill of materials for each build.
A. Excess privilege increases damage if a dependency is hostile.
B. Logs help trace what went into a build.
C. Pinning, verification and an SBOM make unexpected changes visible and traceable.
D. Unpinned pulls accept any new, possibly malicious, release automatically.
What Engineering tests
Security engineering is the heaviest domain at 31%. It covers identity, cryptography, endpoint and workload hardening and secure automation. Expect a design with one flaw and a question about which change fixes it.
Security engineering is 31% of the CAS-005 exam. The exam has 90 questions in 165 minutes, so this question is a slice of the real mix, not a prediction of your result.
Try these next
Each one is a free question from the same practice test, with the answer and the reason for every option on its own page.
- A service in a containerized environment needs to call a database. Which approach best avoids hardcoded credentials in the image?
- A signing service must prove that a software release came from the company and was not altered. Which design provides this?
- An organization wants to authenticate users to many cloud applications with one sign-in and have the identity provider assert attributes. Which pair of standards fits a modern web and mobile environment?
- A security engineer must ensure endpoint disk encryption keys survive a lost employee password but remain recoverable only by authorized staff. Which control meets this?
Keep going
This is question 12 of 15 in the free SecurityX CAS-005 practice test. If you missed it, say why in one sentence before you read on: the reason is what transfers to a differently worded question.