🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.Fix it quickly and move on
  2. B.Ask the AI to delete the failing test
  3. C.Write a test that reproduces the bug, then fix it
  4. 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 →