nerdexam
GIAC

GWAPT · Question #106

Which of the following measures help mitigate SQL injection risks? (Choose two)

The correct answer is A. Using prepared statements with placeholders C. Validating user inputs against a whitelist. See the full explanation below for the reasoning.

Question

Which of the following measures help mitigate SQL injection risks? (Choose two)

Options

  • AUsing prepared statements with placeholders
  • BHardcoding user credentials in queries
  • CValidating user inputs against a whitelist
  • DDisplaying verbose error messages

How the community answered

(24 responses)
  • A
    83% (20)
  • B
    8% (2)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full GWAPT Practice