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

Quiz: HTTPS, Cookies and Headers · Question 10 of 10

Why is leaving debug mode on in production dangerous?

Why is leaving debug mode on in production dangerous?

  1. A.It makes the site faster
  2. B.Error pages can reveal code, settings, paths and sometimes secrets to anyone
  3. C.It turns off HTTPS
  4. D.It deletes logs
Answer & explanation

Correct answer: Error pages can reveal code, settings, paths and sometimes secrets to anyone

Show users a generic error page and keep details in server logs.

Can you get the rest right without peeking?

Take the timed Quiz: HTTPS, Cookies and Headers quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →