Question 150
Developers want to find insecure code paths before an application runs. Which action is the BEST response to the security requirement?
Explanation
Correct Answer
Static analysis can catch source patterns early in the life cycle. The controlling fact is: Developers want to find insecure code paths before an application runs.
Incorrect Answers
Using DAST in an authorized test environment with representative user flows would not add SAST to pull request checks and route findings to code owners.
Runtime context differs from offline static scanning. The scenario does not present the alternate condition: a production workload needs monitoring that can associate dangerous inputs with executing code paths. The proper immediate action is to add SAST to pull request checks and route findings to code owners.
Running software composition analysis and inspecting reachable use of the component would not add SAST to pull request checks and route findings to code owners.






CompTIA SecurityX (CAS-005) Practice Tests