← Quiz: Testing AI Code: all 10 questions
Quiz: Testing AI Code · Question 10 of 10
You find a bug in production. What should you do first, according to the lesson?
You find a bug in production. What should you do first, according to the lesson?
- A.Fix it quickly and move on
- B.Ask the AI to delete the failing test
- C.Write a test that reproduces the bug, then fix it
- D.Disable CI until it is fixed
Answer & explanation
Correct answer: Write a test that reproduces the bug, then fix it
The test makes sure the bug can never silently return.
Can you get the rest right without peeking?
Take the timed Quiz: Testing AI Code quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →