
EC-CouncilEthical Hacking Essentials
Domain 6Objective 3
SQL Injection Attacks and Countermeasures EHE Practice Questions (Page 5)
Part of the Web Application Attacks and Countermeasures domain, which makes up ~9% of our current practice bank.
43questions here
9free pages
7concepts
Questions 21–25
- 21
A development team is fixing a login form that is vulnerable to SQL injection. The application must continue to support complex search filters on the same database. Which remediation provides the strongest protection against SQL injection while preserving the search functionality?
Select an answer first - 22
A database administrator is hardening a database server that supports a web application. The application uses a single database account for all queries. To reduce the impact of a successful SQL injection attack, which action should the administrator take?
Select an answer first - 23
A penetration tester is assessing a web application's search feature. The application does not display database error messages, and the tester cannot see the results of injected queries directly. However, when the tester submits a single quote, the page returns a generic error; when submitting a valid search term, the page displays results. The tester wants to determine whether the application is vulnerable to SQL injection without relying on visible output. Which technique should the tester use?
Select an answer first - 24
A security team is reviewing web server logs and notices a series of requests to a search endpoint containing the pattern: 'search=test%27%20OR%20%271%27%3D%271'. The team suspects an automated SQL injection scan. Which type of SQL injection is the attacker likely testing for?
Select an answer first - 25
A security team is assessing the potential impact of a SQL injection vulnerability in a customer-facing web application. The application connects to a database using an account with sysadmin privileges. Which of the following are realistic consequences of a successful SQL injection attack in this scenario? (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. “EHE” is a trademark of its owner, used for identification only.