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)
Related CISSP questions
- Most of an application portfolio's code comes from open-source libraries.Security Assessment and Testing
- A team fuzzes a proprietary industrial protocol by randomly flipping bits in captured packets.Security Assessment and Testing
- A disgruntled developer could insert code that deletes records on a set future date.Security Assessment and Testing
- Developers patched a SQL injection flaw in an order search feature. Which testing confirms that the fix didn't break…Security Assessment and Testing
All 110 free CISSP questions by domain · 15 sample questions on one page
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.