Medium1 markMultiple Choice
Area II: SecurityThreats and AttacksArea II

CPA · Question 14 · Area II: Security

Which type of attack involves an attacker inserting malicious code into a website's input field to manipulate the backend database?

Answer options:

A.

Cross-Site Scripting (XSS)

B.

SQL Injection

C.

Buffer Overflow

D.

Man-in-the-Middle

How to approach this question

Identify the attack that specifically targets databases via input fields.

Full Answer

B.SQL Injection✓ Correct
SQL Injection
SQL Injection (SQLi) occurs when untrusted data is sent to an interpreter as part of a command or query, tricking the interpreter into executing unintended commands.

Common mistakes

Confusing XSS (client-side) with SQLi (server-side database).

Practice the full CPA ISC Practice Exam 2

82 questions · hints · full answers · grading

More questions from this exam