
GIAC Certified Web Application Defender
Domain 3Objective 1
Input Related Flaws and Input Validation GWEB Practice Questions (Page 8)
Part of the Input Handling and Injection Flaws domain, which makes up ~16% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 180-minute exam (~70–120 total, ~11–19 in this domain), expect 4–6 from this objective — we provide 44 practice questions to prepare you well beyond it. (estimate)
44questions here
9free pages
9concepts
Questions 36–40
- 36
When a user submits invalid input, what is the recommended way to handle the error message?
Select an answer first - 37
A web application has a search feature that reflects user input in the HTML response. The application uses a WAF that blocks requests containing '<script>'. A security engineer discovers that the WAF can be bypassed using a double-encoded payload, and the application then reflects the decoded payload without encoding. The team must decide between two fixes: (1) configure the WAF to decode twice, or (2) add output encoding in the application. Which approach is the most robust long-term solution?
Select an answer first - 38
A web application has a search feature that takes a 'q' parameter and uses it in three different contexts: an SQL query, an HTML response, and a JavaScript variable. The development team is designing validation for this parameter. What is the most important consideration?
Select an answer first - 39
Why is context-specific validation necessary for input that will be used in different parts of an application?
Select an answer first - 40
Which validation technique would best ensure that a username contains only letters, numbers, and underscores?
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). “GWEB” is a trademark of its owner, used for identification only.