Practice Questions for SQL Injection
Practice Questions for SQL Injection
Answer: B) A technique used to inject malicious SQL statements into an input field
• A) DROP
• B) UNION
• C) SELECT
• D) INSERT
Answer: B) UNION
6. What type of SQL Injection involves injecting SQL queries through the URL or
parameters in a web application?
7. How can parameterized queries help protect against SQL Injection attacks?
8. Which of the following is a form of SQL Injection where an attacker does not
receive direct error messages but can infer information from the application's
behavior?
10. Which of the following is a preventive measure against SQL Injection attacks?