
GIAC Certified Incident Handler
Domain 3Objective 2
Web Application API Attacks GCIH Practice Questions (Page 7)
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 49 practice questions to prepare you well beyond it. (estimate)
49questions here
10free pages
7concepts
Questions 31–35
- 31
A mobile app uses an API that authenticates users with a long-lived API key embedded in the app binary. A security review finds that the key is the same for all users and grants full access to all data. Which change would best address the authentication and authorization issues?
Select an answer first - 32
A company's API gateway is configured to allow the HTTP method 'DELETE' on a public endpoint that should only support 'GET' and 'POST'. An attacker discovers this and deletes critical data. The security team wants to fix this and prevent similar misconfigurations. Which action is most effective?
Select an answer first - 33
Which of the following is a common technique to mitigate API abuse such as credential stuffing or web scraping?
Select an answer first - 34
An API returns detailed stack traces and database error messages to clients when an exception occurs. Which of the following is the primary security concern?
Select an answer first - 35
A legacy API accepts a 'query' parameter that is used in a SQL query. The development team is under pressure to fix a SQL injection vulnerability quickly. They propose three options: (1) use a WAF to block suspicious patterns, (2) implement a custom input sanitization function that escapes single quotes, (3) rewrite the query to use parameterized statements. The API is critical and cannot have downtime. Which option is the most secure long-term solution?
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.