🎙 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 1 of 10

What does auto-configuration do?

What does auto-configuration do?

  1. A.Writes your controllers for you
  2. B.Creates commonly needed beans based on the libraries on the classpath and your properties
  3. C.Deploys the app to the cloud
  4. D.Generates the database from SQL files
Answer & explanation

Correct answer: Creates commonly needed beans based on the libraries on the classpath and your properties

e.g. H2 on the classpath → a DataSource is configured automatically.

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 →