A pipeline must flag hardcoded credentials and unsafe function calls on every commit, before any build is deployed to a test environment. Which technique BEST meets this requirement?
Show the answer
Correct answerD. Static application security testing
AWhy not this: Fuzzing sends malformed input to a running program, so it needs a deployed build and does not read code for secrets.
BWhy not this: A penetration test needs a deployed environment and is a periodic exercise, not a per-commit check.
CWhy not this: Dynamic testing probes a running application, which is not available before the build is deployed.
DWhy this is right: Static analysis inspects source code without running it, so it catches hardcoded secrets and unsafe calls at commit time.
Static application security testing analyzes source code without executing it, so it can run on each commit before anything is deployed. Dynamic testing needs a running application, which does not exist at that stage.