← 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?
- A.Writes your controllers for you
- B.Creates commonly needed beans based on the libraries on the classpath and your properties
- C.Deploys the app to the cloud
- 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 →