nerdexam
GIAC

GPEN · Question #106

Which of the following can be used as a countermeasure against the SQL injection attack? Each correct answer represents a complete solution. Choose two.

Sign in or unlock GPEN to reveal the answer and full explanation for question #106. The question stem and answer options stay visible for context.

Web Application Penetration Testing

Question

Which of the following can be used as a countermeasure against the SQL injection attack? Each correct answer represents a complete solution. Choose two.

Options

  • Amysql_real_escape_string()
  • BPrepared statement
  • Cmysql_escape_string()
  • Dsession_regenerate_id()

Unlock GPEN to see the answer

You've previewed enough free GPEN questions. Unlock GPEN for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#SQL injection#input sanitization#prepared statements#web security
Full GPEN Practice