← 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?
- A.The full .env file with the password
- B.The error text and connection code with the password replaced by a placeholder
- C.A dump of the production database
- 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 →