Exam GCIH All QuestionsBrowse all questions from this exam
Question 50

Which special character or character sequence is often used in SQL injection attacks because it acts as a SQL comment delimiter?

    Correct Answer: A

    The '--' sequence is often used in SQL injection attacks because it acts as a comment delimiter in SQL. This character sequence tells the SQL engine to ignore the rest of the line, which can be exploited by attackers to bypass certain security measures or manipulate queries.

Discussion
bobertyOption: A

' is a string delimiter, -- is a comment delimiter