nerdexam
CompTIA

SY0-701 · Question #734

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

The correct answer is D. Input validation. Input validation is the most effective way to prevent injection attacks, such as SQL injection, XSS, etc. It ensures that only correctly formatted and expected inputs are processed by the application.

Submitted by anna_se· Mar 6, 2026Threats, vulnerabilities, and mitigations

Question

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

Options

  • AAuthentication
  • BSecure cookies
  • CStatic code analysis
  • DInput validation

How the community answered

(42 responses)
  • A
    7% (3)
  • B
    5% (2)
  • C
    14% (6)
  • D
    74% (31)

Explanation

Input validation is the most effective way to prevent injection attacks, such as SQL injection, XSS, etc. It ensures that only correctly formatted and expected inputs are processed by the application.

Community Discussion

No community discussion yet for this question.

Full SY0-701 Practice