GIAC
GCIH · Question #115
GCIH Question #115: Real Exam Question with Answer & Explanation
Sign in or unlock GCIH to reveal the answer and full explanation for question #115. The question stem and answer options stay visible for context.
Web Application Attacks & Post-Exploitation
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()
- Bsession_regenerate_id()
- Cmysql_escape_string()
- DPrepared statement
Unlock GCIH to see the answer
You've previewed enough free GCIH questions. Unlock GCIH 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#prepared statements#input sanitization#mysql_real_escape_string