
EC-CouncilWeb Application Hacking and Security
Domain 1Objective 4
API Abuse WAHS Practice Questions (Page 1)
Part of the Broken Access Control domain, which makes up ~23% of our current practice bank. EC-Council does not publish an official question count, but from its 360-minute exam (~145–240 total, ~33–55 in this domain), expect 7–11 from this objective — we provide 63 practice questions to prepare you well beyond it. (estimate)
63questions here
13free pages
14concepts
Questions 1–5
- 1
A company has an API that manages user profiles. The endpoint GET /api/v2/users/{id} is intended to return public profile information. However, the same endpoint with the HTTP method PUT allows a user to update the profile of any user ID. The API also has a deprecated v1 endpoint that uses GET for updates. During a security test, you find that the v1 endpoint is still active and does not require authentication. Which of the following is the most effective way to mitigate both the verb tampering and the deprecated endpoint risk?
Select an answer first - 2
A company's API has a deprecated v1 endpoint /api/v1/admin/export that was used for internal reporting. The endpoint was removed from documentation but is still accessible in production and lacks the new role-based authorization checks that v2 has. An attacker discovers the endpoint through a wordlist and uses it to export sensitive data. What is the most effective remediation?
Select an answer first - 3
A security architect is designing an API that will be used by multiple third-party applications. The API uses JWT for authentication. The architect wants to ensure that tokens cannot be forged and that the API can verify the token's integrity without relying on a shared secret. Which of the following is the most appropriate approach?
Select an answer first - 4
Which OWASP API Security Top 10 risk is characterized by an attacker accessing objects (e.g., records, files) that belong to other users by manipulating object identifiers in API requests?
Select an answer first - 5
What is the 'algorithm confusion' vulnerability in JWT?
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 EC-Council. “WAHS” is a trademark of its owner, used for identification only.