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

Quiz: Spring Boot Basics · Question 4 of 10

Which ddl-auto value is dangerous on a real production database?

Which ddl-auto value is dangerous on a real production database?

  1. A.validate
  2. B.none
  3. C.create-drop
  4. D.It is ignored in production
Answer & explanation

Correct answer: create-drop

create-drop recreates the schema and drops it on shutdown.

Can you get the rest right without peeking?

Take the timed Quiz: Spring Boot Basics quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →