🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Spring Boot Basics: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. What does auto-configuration do?
  2. Q2. Which environment variable overrides the property app.jwt.secret?
  3. Q3. How do you start the app with the prod profile?
  4. Q4. Which ddl-auto value is dangerous on a real production database?
  5. Q5. Why does a Spring Boot jar not need a separately installed Tomcat?
  6. Q6. Your app fails to start with "Port 8081 was already in use". What is the fix?
  7. Q7. What does spring.jpa.open-in-view=false do?
  8. Q8. Where should a real database's schema changes be managed in production?
  9. Q9. Which Actuator endpoints are safe to expose publicly in most apps?
  10. Q10. A application-prod.properties file and the main application.properties both set server.port. The app runs with the prod profile. Which valu…