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

Quiz: Debugging with AI · Question 10 of 10

In the case study, why did the Flask app fail only on the server?

In the case study, why did the Flask app fail only on the server?

  1. A.A CORS setting was wrong
  2. B.The routes were misspelt
  3. C.systemd did not read the .env file, so DATABASE_URL was missing
  4. D.The browser cache was stale
Answer & explanation

Correct answer: systemd did not read the .env file, so DATABASE_URL was missing

Reading the server log revealed KeyError: 'DATABASE_URL'.

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 →