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

GIAC Certified Web Application Defender

Domain 4Objective 4

File Upload, Response Readiness, Proactive Defense GWEB Practice Questions (Page 3)

Part of the Advanced Threats and Defense domain, which makes up ~27% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 180-minute exam (~70–120 total, ~19–32 in this domain), expect 5–8 from this objective — we provide 47 practice questions to prepare you well beyond it. (estimate)

47questions here
10free pages
10concepts

Questions 11–15

  1. 11application · medium

    A web application stores uploaded resumes in a directory under the web root. A security audit recommends storing files outside the web root. What is the PRIMARY security benefit of this change?

    Select an answer first
  2. 12application · medium

    A web application allows users to upload profile images. The current validation checks the file extension against a whitelist (.jpg, .png, .gif) and verifies the MIME type from the Content-Type header. A penetration test revealed that an attacker can upload a file with a .jpg extension that contains PHP code and execute it by requesting the file directly. The application stores uploads in the web root under /uploads. Which combination of changes would most effectively mitigate this vulnerability?

    Select an answer first
  3. 13expert · hard

    A web application allows users to upload files that are then shared with other users. The application currently stores files in the web root with original filenames and performs no content inspection. A security consultant recommends a defense-in-depth approach. Which combination of controls would provide the STRONGEST protection against file-based attacks?

    Select an answer first
  4. 14foundation · easy

    What is the primary purpose of centralized logging in a web application environment?

    Select an answer first
  5. 15application · medium

    A document management system accepts PDF and DOCX files. Developers implemented validation by checking the file extension and the MIME type from the Content-Type header. A security review found that attackers can upload a file with a .pdf extension but containing HTML/JavaScript, which is then served to other users. The application stores files in a database and serves them via a download endpoint. Which additional control would best address this issue?

    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.