Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
EC-Council logo

EC-CouncilWeb Application Hacking and Security

Domain 1Objective 4

API Abuse WAHS Practice Questions (Page 2)

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 6–10

  1. 6expert · hard

    A security engineer is reviewing an API that allows users to upload profile pictures. The endpoint POST /api/upload accepts a file and a 'userId' parameter. The application does not validate the file type and stores the file in a publicly accessible directory. An attacker uploads a file named 'profile.php' with malicious content and then accesses it directly. Which of the following is the most critical vulnerability and the best remediation?

    Select an answer first
  2. 7expert · hard

    A company is launching a public API that allows users to retrieve their own order history. The API uses API keys for authentication. The security team is concerned about brute-force attacks on the API keys and wants to implement rate limiting. However, they also want to ensure that legitimate users who make many requests (e.g., during a sale event) are not blocked. Which of the following is the most balanced approach?

    Select an answer first
  3. 8foundation · easy

    An API login endpoint has no rate limiting. What is the most likely consequence?

    Select an answer first
  4. 9foundation · easy

    An attacker discovers that the API endpoint 'DELETE /api/admin/users' is accessible without any role check. This is an example of which vulnerability?

    Select an answer first
  5. 10foundation · easy

    Why is proper logging and monitoring important for API security?

    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.