
GIAC Certified Web Application Defender
Domain 4Objective 1
AJAX Technologies and Security Strategies GWEB Practice Questions (Page 4)
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 16–20
- 16
A security engineer is reviewing an AJAX endpoint that returns JSON. The endpoint is accessed via HTTPS and uses cookies for session management. The engineer wants to prevent JSON hijacking, where an attacker uses a `<script>` tag to load the JSON and override a JavaScript array constructor. Which combination of controls is MOST effective?
Select an answer first - 17
A company's web application has an AJAX endpoint that allows users to update their own profile. The endpoint is protected by a session cookie and a CSRF token. A penetration test found that the CSRF token is not validated when the request includes a custom header `X-Requested-With: XMLHttpRequest`. The application relies on the same-origin policy to prevent cross-origin AJAX requests. Which additional control is most effective to prevent CSRF?
Select an answer first - 18
A web application has an AJAX endpoint that accepts a JSON array of filter objects and uses them to query a database. An attacker sends a request with duplicate keys in a JSON object, such as `{"filter": "a", "filter": "b"}`. The server-side framework parses the JSON and uses the last value. The security team is concerned about HTTP parameter pollution. Which defense is most effective?
Select an answer first - 19
A security operations team is configuring monitoring for a web application's AJAX endpoints. They want to detect credential stuffing attacks that use AJAX login requests. The application uses a standard login form with JSON submission. Which monitoring approach is most effective while minimizing false positives?
Select an answer first - 20
A web application has an AJAX endpoint that returns user data in JSON format. The endpoint is accessed via a `<script>` tag by a legacy integration, and the response is a JSON array. A security review identified a JSON hijacking risk. Which change is most effective to mitigate this?
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.