← 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?
- A.Your production database password
- B.A real student's phone number from the error row
- C.A minimal code sample with fake data and the exact error text
- 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 →