Development with AWS Services

A developer must check existing application code for paths where untrusted input reaches SQL queries before deployment. Which AI-assisted capability BEST addresses this need?

Show the answer

Correct answerC. Scan source code for security vulnerabilities

AWhy not this: Dependency scanning identifies vulnerable library versions, not unsafe input handling written in the application.

BWhy not this: Complexity-focused refactoring improves maintainability but does not specifically assess unsafe input flows.

CWhy this is right: Source code security scanning can identify untrusted input reaching SQL queries without appropriate safeguards.

DWhy not this: Tests generated from existing behavior may preserve unsafe behavior rather than identify it as a security vulnerability.

AI-assisted source code security scanning can identify unsafe input handling that could permit SQL injection. Dependency scanning finds known vulnerabilities in libraries, rather than unsafe data flows in application code.