PT0-001 · Question #48
A software developer wants to test the code of an application for vulnerabilities. Which of the following processes should the software developer perform?
The correct answer is C. Static scan. Static analysis examines application source code without executing it, making it the correct method for a developer reviewing code directly for security vulnerabilities.
Question
A software developer wants to test the code of an application for vulnerabilities. Which of the following processes should the software developer perform?
Options
- AVulnerability scan
- BDynamic scan
- CStatic scan
- DCompliance scan
How the community answered
(53 responses)- A6% (3)
- B2% (1)
- C91% (48)
- D2% (1)
Why each option
Static analysis examines application source code without executing it, making it the correct method for a developer reviewing code directly for security vulnerabilities.
A vulnerability scan typically targets network infrastructure and running services to detect known CVEs and misconfigurations, not application source code.
Dynamic scanning (DAST) tests a running application by sending live inputs and observing behavior, rather than inspecting the source code itself.
Static analysis, also known as Static Application Security Testing (SAST), analyzes source code, bytecode, or binaries without running the application. This allows a developer to identify security flaws such as injection vulnerabilities, insecure function calls, and logic errors directly within the codebase during the development phase before deployment.
A compliance scan checks systems against regulatory or policy benchmarks such as CIS or NIST standards and does not analyze application code for security vulnerabilities.
Concept tested: Static application security testing SAST for source code
Source: https://owasp.org/www-community/controls/Static_Code_Analysis
Topics
Community Discussion
No community discussion yet for this question.