CS FundamentalsHardProduct-company DevSecOps interview

Which pairing of security testing approaches is correct?

  1. A. SAST tests the running application from outside; DAST reads the source code
  2. B. SAST finds only performance issues
  3. C. Both need the application deployed to production
  4. D. SAST analyses source or bytecode without running it, early in the pipeline; DAST attacks the running application, finding runtime and configuration issues

Correct answer: D. SAST analyses source or bytecode without running it, early in the pipeline; DAST attacks the running application, finding runtime and configuration issues

Static analysis (SAST) scans code paths for patterns like SQL injection before deployment; dynamic testing (DAST) probes a running instance, catching issues such as misconfigured headers that code scanning misses.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic