Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
GIAC (SANS) logo

GIAC Certified Web Application Defender

Domain 3Objective 1

Input Related Flaws and Input Validation GWEB Practice Questions (Page 4)

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 16–20

  1. 16application · medium

    An application accepts a 'color' parameter that is later used in an HTML style attribute. The development team must choose a validation strategy. Which approach is most appropriate for this parameter?

    Select an answer first
  2. 17application · medium

    A web application has a field for a ZIP code that must be exactly 5 digits. The development team is implementing validation. Which combination of checks is most appropriate?

    Select an answer first
  3. 18application · medium

    A web application has a 'role' parameter that determines user permissions. The valid roles are 'admin', 'editor', and 'viewer'. The application currently uses a denylist that blocks the string 'admin' in the parameter. A tester submits 'role=administrator' and gains admin access. Which validation approach would prevent this?

    Select an answer first
  4. 19application · medium

    A web application uses a parameter named 'page' to select which HTML template to include. The application validates that the value ends with '.html'. An attacker submits 'page=../../etc/passwd%00.html' and the application includes the file. What is the most likely reason the validation is bypassed?

    Select an answer first
  5. 20foundation · easy

    Which statement best describes the role of input validation in preventing injection attacks?

    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.