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

EC-CouncilCertified Ethical Hacker

Domain 5Objective 4

API and Webhook Hacking CEH Practice Questions (Page 3)

Part of the Web Application Hacking domain, which makes up ~8% of our current practice bank. EC-Council does not publish an official question count, but from its 240-minute exam (~95–160 total, ~8–13 in this domain), expect 2–3 from this objective — we provide 46 practice questions to prepare you well beyond it. (estimate)

46questions here
10free pages
8concepts

Questions 11–15

  1. 11expert · hard

    A security team is reviewing an API that uses a NoSQL database. The API accepts a JSON filter object and passes it directly to a database query. The team wants to prevent NoSQL injection while maintaining the flexibility of the filter feature. Which approach is most effective?

    Select an answer first
  2. 12expert · hard

    A company's webhook receiver is frequently overwhelmed by bursts of legitimate traffic from a partner during peak hours, causing timeouts and lost events. The company also suspects that an attacker is sending forged webhook requests to amplify the load. The company wants to ensure reliable processing of legitimate events while mitigating the impact of malicious traffic. Which combination of controls is most effective?

    Select an answer first
  3. 13application · medium

    A developer at a healthcare startup exposes a REST API for patient records. The API uses JWT-based authentication. A penetration tester finds that by changing the 'id' parameter in a GET request to /api/v1/patients/{id}, they can retrieve another patient's record without any additional checks. The JWT contains the user's role and user ID. Which of the following is the most effective fix for this vulnerability?

    Select an answer first
  4. 14application · medium

    An e-commerce platform accepts product search queries via a REST API endpoint. The API constructs a MongoDB query using user input directly. A security consultant discovers that sending a payload like '{"$ne": null}' in the search field returns all products, bypassing the intended filter. Which of the following is the most effective mitigation?

    Select an answer first
  5. 15expert · hard

    A multi-tenant SaaS application uses a single API endpoint to update user profiles. The endpoint accepts a JSON body and binds all fields to the user object. A tenant admin discovers they can set 'account_tier' to 'enterprise' by adding that field to the request. The company wants to fix this without breaking the existing API contract for legitimate clients. Which of the following is the best approach?

    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. “CEH” is a trademark of its owner, used for identification only.