CompTIA Security+ (SY0-701) — Question 576

During a recent log review, an analyst discovers evidence of successful injection attacks. Which of the following will best address this issue?

Answer options

Correct answer: D

Explanation

Input validation is crucial for preventing injection attacks as it ensures that only correctly formatted data is processed by the application. Authentication, secure cookies, and static code analysis do not directly prevent injection attacks, making them less effective in addressing this specific issue.