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

EC-CouncilEthical Hacking Essentials

Domain 6Objective 3

SQL Injection Attacks and Countermeasures EHE Practice Questions (Page 2)

Part of the Web Application Attacks and Countermeasures domain, which makes up ~9% of our current practice bank.

43questions here
9free pages
7concepts

Questions 6–10

  1. 6application · medium

    A development team is rewriting a legacy PHP application that has suffered multiple SQL injection incidents. The team wants to implement a defense-in-depth strategy. Which set of measures best aligns with that goal?

    Select an answer first
  2. 7foundation · easy

    Which type of SQL injection relies on the same communication channel to both inject the malicious payload and retrieve the results?

    Select an answer first
  3. 8application · medium

    A security analyst is using an automated scanner to test a web application for SQL injection. The scanner reports a potential vulnerability in the 'product_id' parameter. To confirm the finding, the analyst manually submits the following payload: product_id=1 AND 1=1 and then product_id=1 AND 1=2. The application returns the same page for the first request and a different page for the second. What does this indicate?

    Select an answer first
  4. 9foundation · easy

    Which of the following is a common attack vector for SQL injection?

    Select an answer first
  5. 10application · easy

    A junior developer at a software company is building a feature that looks up customer records by a customer ID provided in a URL parameter. The developer writes the following code: query = "SELECT * FROM customers WHERE id = " + userInput. A senior developer reviews the code and says it is vulnerable to SQL injection. What is the primary reason this code is vulnerable?

    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.