Vulnerability Management
A team must find hardcoded credentials and unsafe function calls in an application whose code is committed but not yet built or deployed. Which testing method fits?
Show the answer
Correct answerA. SAST of the source code
AWhy this is right: SAST inspects source code without executing it, so it finds these flaws before build or deployment.
BWhy not this: DAST tests a running application, and nothing is deployed to test yet.
CWhy not this: A network scan looks for host and service weaknesses, not flaws inside uncompiled code.
DWhy not this: SAMM measures program maturity; it does not inspect code for specific flaws.
SAST analyzes source code without running it, so it can flag hardcoded credentials and unsafe calls before a build exists. DAST needs a running application, so it cannot test code that has not been deployed.