nerdexam
GIAC

GSLC · Question #559

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 GSLC to reveal the answer and full explanation for question #559. The question stem and answer options stay visible for context.

Security Architecture & Engineering

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_escape_string()
  • Bsession_regenerate_id()
  • Cmysql_real_escape_string()
  • DPrepared statement

Unlock GSLC to see the answer

You've previewed enough free GSLC questions. Unlock GSLC 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 validation#prepared statements#web application security
Full GSLC Practice