GCIH Practice Question: A GCIH incident handler is reviewing web server logs after a suspected API reconnaissance…
A GCIH incident handler is reviewing web server logs after a suspected API reconnaissance campaign. The logs show numerous requests to endpoints such as /api/v1/users, /api/v2/users, /api/v3/users, and /api/internal/users, all returning HTTP 404 except one. Which attack technique is most consistent with this pattern?
⚠ Common exam trap
The trap here is assuming that repeated 404 responses indicate a failed attack, when in fact they are the expected outcome of enumeration that successfully identifies a valid API version.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
API version enumeration
The pattern of requests to multiple API version prefixes and internal-looking paths, with only one returning a non-404 response, indicates deliberate version and endpoint enumeration. Attackers use this to map the API surface and find versions that may be deprecated, unpatched, or less protected, which then become targets for further exploitation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Cross-site scripting (XSS) in API responses
Why it's wrong here
Cross-site scripting injects script into content that another user's browser runs, so the logs would show script payloads in parameters or stored data, such as script tags or JavaScript event handlers. These logs show requests for different API paths with no payloads at all, and most return 404. That is mapping the API's structure, not injecting scripts.
- ✓
API version enumeration
Why this is correct
Requesting the same resource under v1, v2, v3 and an 'internal' path, with almost everything returning 404, is systematic enumeration of the API's versions and hidden routes. Older or undocumented versions often lack current authentication, rate limiting or validation, so the one that answered becomes the attacker's next target. Investigate what it exposed and whether it should exist at all.
- ✗
Server-side request forgery (SSRF) via API parameters
Why it's wrong here
Server-side request forgery makes the server itself send requests, typically by supplying a URL in a parameter so the application fetches internal resources or cloud metadata. The logs would show parameters containing URLs or internal addresses. Here the attacker requests different paths directly, with no URL-bearing parameters, so the pattern fits enumeration, not SSRF.
- ✗
JWT algorithm confusion attack
Why it's wrong here
JWT algorithm confusion tampers with tokens, for example changing the 'alg' header to none or switching from RS256 to HS256 so the server accepts a forged signature. It needs a token and shows up as unusual token values. These requests involve no token manipulation, only probing of API paths, so they point to reconnaissance by version enumeration.
About these practice questions
Courseiva writes every GCIH question from scratch — 322 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
You might also like
Similar GCIH questions
- Which security measure is most effective against API-based Denial of Service (DoS) attacks targeted at resource-intensiv…
- During an incident response engagement, a GCIH analyst examines an API that accepts JSON input and notices that the appl…
- A security analyst is reviewing logs from a web application firewall (WAF) and notices a series of requests containing p…
- An API uses OAuth 2.0. An attacker sends a request with a modified 'redirect_uri' parameter to an authorization endpoint…
- An incident responder is examining a GraphQL API after a breach report. Query logs show a single POST to /graphql contai…
Written and reviewed by Johnson Ajibi, MSc IT Security
Security Systems Architect · founder of Courseiva
Last reviewed September 2026 · checked against the official GIAC exam blueprint
This GCIH practice question is part of Courseiva's free GIAC certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the GCIH exam.