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

EC-CouncilCertified Ethical Hacker

Domain 5Objective 3

SQL Injection CEH Practice Questions (Page 1)

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 40 practice questions to prepare you well beyond it. (estimate)

40questions here
8free pages
6concepts

Questions 1–5

  1. 1application · medium · select all that apply

    A development team is hardening a web application against SQL injection. Which of the following are effective prevention measures? (Select all that apply.)

    Select an answer first
  2. 2expert · hard

    A development team is migrating a legacy PHP application to a modern framework. The application currently uses mysql_query() with concatenated strings. The team wants to prevent SQL injection while preserving the ability to perform complex dynamic queries. Which approach should they adopt?

    Select an answer first
  3. 3expert · hard

    A penetration tester is using sqlmap to exploit a SQL injection in a POST parameter. The application requires a valid session cookie and a CSRF token for each request. The tester has obtained a valid session and the CSRF token is embedded in the page. Which sqlmap option should the tester use to handle the CSRF token automatically?

    Select an answer first
  4. 4foundation · easy

    In addition to using parameterized queries, which coding practice helps reduce the risk of SQL injection?

    Select an answer first
  5. 5expert · hard

    A penetration tester has found a SQL injection in a login form. The application uses a query: SELECT * FROM users WHERE username = '$user' AND password = '$pass'. The tester wants to bypass authentication and log in as the administrator. The application has a filter that removes the word 'OR' from input. Which payload should the tester use?

    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.