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