nerdexam
Zend

200-530 · Question #539

Which of the following functions will you use as a countermeasure against a SQL injection attack?

The correct answer is D. mysql_escape_string(). See the full explanation below for the reasoning.

Question

Which of the following functions will you use as a countermeasure against a SQL injection attack?

Options

  • Aescapeshellcmd()
  • Bmysql_fetch_array()
  • Cescapeshellarg()
  • Dmysql_escape_string()

How the community answered

(35 responses)
  • A
    6% (2)
  • B
    3% (1)
  • C
    11% (4)
  • D
    80% (28)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice