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 10)

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 46–47

  1. 46application · medium

    A public-facing web application allows users to upload profile pictures. The current validation checks only the Content-Type header and the file extension. A penetration test demonstrated that an attacker can upload a file with a .jpg extension and image/jpeg Content-Type, but the file actually contains PHP code that executes when accessed. Which additional control would MOST effectively prevent this attack?

    Select an answer first
  2. 47application · medium

    A security team is configuring a WAF for a web application that allows file uploads. The WAF has a rule that blocks requests containing the string '<?php'. Legitimate users are reporting that their uploads are being blocked. What is the MOST likely cause?

    Select an answer first
Finished these 2 questions?

Review the revealed explanations, or continue through the curriculum.

No more pagesBack to GWEB

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.