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

Quiz: Docs and Production · Question 3 of 10

What should replace ddl-auto=update in production?

What should replace ddl-auto=update in production?

  1. A.ddl-auto=create
  2. B.Versioned migrations with Flyway or Liquibase, plus ddl-auto=validate
  3. C.Manually editing tables in production
  4. D.Nothing — update is fine everywhere
Answer & explanation

Correct answer: Versioned migrations with Flyway or Liquibase, plus ddl-auto=validate

Migrations are reviewed, repeatable and versioned.

Can you get the rest right without peeking?

Take the timed Quiz: Docs and Production quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →