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

Quiz: AI Coding Risks · Question 1 of 10

You need help with a database connection error. What should you paste?

You need help with a database connection error. What should you paste?

  1. A.The full .env file with the password
  2. B.The error text and connection code with the password replaced by a placeholder
  3. C.A dump of the production database
  4. D.Your SSH private key
Answer & explanation

Correct answer: The error text and connection code with the password replaced by a placeholder

Redact secrets; the error and code shape are what the model needs.

Can you get the rest right without peeking?

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

Start the quiz →