
EC-CouncilCertified Ethical Hacker
Domain 5Objective 3
SQL Injection 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 40 practice questions to prepare you well beyond it. (estimate)
40questions here
8free pages
6concepts
Questions 11–15
- 11
When using sqlmap to test a URL for SQL injection, which option specifies the target URL?
Select an answer first - 12
A penetration tester is assessing a web application that uses a login form. The tester submits ' OR '1'='1' -- in the username field and gains access to the first account in the database. The application returns a generic error page when invalid credentials are submitted. Which type of SQL injection is the tester most likely exploiting, and what is the primary reason the attack succeeds?
Select an answer first - 13
A security consultant is reviewing a web application that uses an ORM (Object-Relational Mapping) framework. The consultant finds that the ORM allows raw SQL queries for complex reporting. The reporting feature accepts user input for sorting and filtering. Which of the following is the most secure way to implement this feature?
Select an answer first - 14
A web application developer is reviewing code that handles user input for a search feature. The code currently concatenates user input directly into a SQL query. The developer wants to refactor the code to prevent SQL injection while minimizing changes to the application logic. Which approach is the most secure and least disruptive?
Select an answer first - 15
A security analyst is using sqlmap to test a web application. The analyst wants to avoid detection by the application's logging system. Which sqlmap options can help reduce the number of requests sent? (Select all that apply.)
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.