CPP - Certified Professional Programmer Practice Test
CPP Database Programming & SQL 3
Which approach is the most effective way to prevent SQL injection attacks in application code?
Select your answer
A
Escaping all user input with a custom function
B
Using parameterized queries (prepared statements)
C
Validating that input contains no spaces
D
Encrypting the database connection string
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 Study This Quiz as Flashcards →