
GIAC Web Application Penetration Tester
Domain 5Objective 1
Web Application SQL Injection Attacks GWAPT Practice Questions (Page 4)
Part of the Injection and Client-Side Attacks domain, which makes up ~23% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 180-minute exam (~70–120 total, ~16–28 in this domain), expect 8–14 from this objective — we provide 28 practice questions to prepare you well beyond it. (estimate)
28questions here
6free pages
4concepts
Questions 16–20
- 16
A development team is fixing a SQL injection vulnerability in a PHP application that uses MySQL. The vulnerable code builds a query by concatenating user input into an ORDER BY clause. Which remediation should the team implement?
Select an answer first - 17
A penetration tester is assessing a web application that uses a search feature. The application returns different page content for true and false conditions, but the tester cannot use UNION-based injection because the application filters the keyword 'UNION'. The tester wants to extract data from the 'users' table. Which technique should the tester use?
Select an answer first - 18
A security team is remediating a SQL injection vulnerability in a PHP application. The vulnerable code uses string concatenation to build a query for a search feature. The team is considering using PDO prepared statements. Which additional control is most important to implement?
Select an answer first - 19
A security team is hardening a web application against SQL injection. The team wants to implement a defense that is effective even if input validation is bypassed. Which control should the team implement?
Select an answer first - 20
A tester is exploiting a SQL injection in a login form. The application uses the query: SELECT * FROM users WHERE username = '$user' AND password = '$pass'. The tester wants to log in as a specific user named 'admin' without knowing the password. Which payload should be submitted in the username field?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GIAC (SANS). “GWAPT” is a trademark of its owner, used for identification only.