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

Quiz: Debugging with AI · Question 5 of 10

Which is safe to include in a debugging prompt?

Which is safe to include in a debugging prompt?

  1. A.Your production database password
  2. B.A real student's phone number from the error row
  3. C.A minimal code sample with fake data and the exact error text
  4. D.The full .env file
Answer & explanation

Correct answer: A minimal code sample with fake data and the exact error text

Redact secrets and use fake data with the same shape.

Can you get the rest right without peeking?

Take the timed Quiz: Debugging with AI quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →