🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: SQL Injection: all 10 questions

Quiz: SQL Injection · Question 9 of 10

Why should raw database errors not be shown to users?

Why should raw database errors not be shown to users?

  1. A.They are too long
  2. B.They slow down the page
  3. C.They help attackers learn table and column names
  4. D.They break HTTPS
Answer & explanation

Correct answer: They help attackers learn table and column names

Log the details on the server and show a generic message.

Can you get the rest right without peeking?

Take the timed Quiz: SQL Injection quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →