
GIAC Certified Incident Handler
Domain 3Objective 3
Web Application Injection Attacks GCIH Practice Questions (Page 3)
Part of the Web Application Security domain, which makes up ~25% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 240-minute exam (~95–160 total, ~24–40 in this domain), expect 8–13 from this objective — we provide 80 practice questions to prepare you well beyond it. (estimate)
80questions here
16free pages
25concepts
Questions 11–15
- 11
A C application logs user-provided messages using the code: printf(user_message). A security tester submits a message containing %x %x %x and observes that the application outputs memory addresses from the stack. Which remediation would most directly prevent this format string vulnerability?
Select an answer first - 12
What is the primary defense against LDAP injection?
Select an answer first - 13
Which of the following is the most effective defense against SQL injection?
Select an answer first - 14
A company is deploying a new web application that handles sensitive data. The security team wants to implement a comprehensive defense-in-depth strategy against all injection types. They have budget constraints and need to prioritize controls. Which combination of controls provides the most effective defense?
Select an answer first - 15
A Node.js application uses MongoDB and allows users to search for products by name. The search query is built as: db.products.find({ name: req.query.name }). A security review finds that sending ?name[$regex]=.*admin.* returns products with 'admin' in the name, which is not the intended behavior. The application must support partial string matching. Which remediation would be most secure?
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). “GCIH” is a trademark of its owner, used for identification only.