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

GIAC Certified Web Application Defender

Domain 4Objective 1

AJAX Technologies and Security Strategies GWEB Practice Questions (Page 8)

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 46 practice questions to prepare you well beyond it. (estimate)

46questions here
10free pages
8concepts

Questions 36–40

  1. 36expert · hard

    A web application allows users to upload a profile picture via AJAX. The image is stored on a different subdomain (`cdn.example.com`) and displayed in the main app (`app.example.com`). A security review found that the upload endpoint does not validate the file content type and serves user-uploaded files with `Content-Type: image/png` regardless of actual content. Which combination of controls is most effective to prevent stored XSS via uploaded files?

    Select an answer first
  2. 37foundation · easy

    What is the risk of setting the CORS header 'Access-Control-Allow-Origin: *' on an AJAX endpoint that returns sensitive user data?

    Select an answer first
  3. 38foundation · easy

    Which client-side security control is specifically designed to prevent the execution of untrusted scripts in the browser?

    Select an answer first
  4. 39foundation · easy

    What is a key consideration when logging AJAX requests that include sensitive data?

    Select an answer first
  5. 40application · medium

    A security analyst notices a sudden spike in AJAX requests to `/api/applyCoupon` from a single session, each with slightly different parameter values. The requests are returning 200 OK but the discount amounts vary. The analyst suspects an attacker is enumerating coupon codes. Which logging enhancement would BEST support detection and response?

    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.