Skip to main content

CISSP practice question · Security Assessment and Testing

A team relies solely on static application security testing (SAST) in its pipeline.

A team relies solely on static application security testing (SAST) in its pipeline. Which issue is SAST LEAST likely to detect?

  • ASQL queries built by concatenating unvalidated user input
  • BA production web server configured to allow directory listing
  • CHard-coded credentials embedded in the application source code
  • DCalls to a deprecated cryptographic hash function such as MD5
Show the answer and explanation

Correct answer: B) A production web server configured to allow directory listing

SAST examines code without running it, so it finds coding flaws but misses runtime and environment issues such as server configuration.

Why each option is right or wrong

  • A) Incorrect. Tracing user input into query construction is a core SAST capability, so injection flaws like this are a typical SAST finding.
  • B) Correct. Directory listing is a property of the deployed server configuration, not the application's source code. Runtime testing such as DAST or configuration scanning finds it; SAST does not see the environment.
  • C) Incorrect. Secrets in source code are visible to static analysis, and SAST and secret-scanning tools commonly flag them.
  • D) Incorrect. Use of weak cryptographic APIs is visible in code, and SAST rules routinely flag calls to deprecated algorithms.
Exam domain
Security Assessment and Testing · 12% of CISSP
Question type
Multiple choice (one answer)

Practise the full CISSP exam

This question is one of a small free sample from the CertRidge CISSP bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with ISC2; never copied from the real exam.