nerdexam
GIAC

GWAPT · Question #6

Which method is most effective in preventing SQL injection attacks?

The correct answer is A. Using parameterized queries or prepared statements. See the full explanation below for the reasoning.

Question

Which method is most effective in preventing SQL injection attacks?

Options

  • AUsing parameterized queries or prepared statements
  • BHiding database error messages
  • CEncrypting the database
  • DDisabling SQL logging

How the community answered

(41 responses)
  • A
    78% (32)
  • B
    5% (2)
  • C
    15% (6)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full GWAPT Practice