Spring Boot interview questions

21 Spring Boot questions from the Spring bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is Auto-configuration?

Junior
  1. A.the externalized key-value file Boot reads at startup to override defaults and supply settings
  2. B.the module exposing production endpoints for health checks, metrics, and runtime introspection
  3. C.Boot's mechanism that wires sensible default beans based on classpath contents and existing user beans
  4. D.the conditional that makes auto-configured beans back off when the developer has already defined their own

Answer + AI explanation with Pro

2. Which term means: "Boot's mechanism that wires sensible default beans based on classpath contents and existing user beans"?

Junior
  1. A.Auto-configuration
  2. B.Embedded server
  3. C.Starter dependency
  4. D.@SpringBootApplication

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.Auto-configuration — the module exposing production endpoints for health checks, metrics, and runtime introspection
  2. B.Auto-configuration — Boot's mechanism that wires sensible default beans based on classpath contents and existing user beans
  3. C.Auto-configuration — a curated, opinionated set of compatible libraries bundled under one coordinate to simplify build setup
  4. D.Auto-configuration — a servlet container like Tomcat packaged inside the runnable JAR so no external deployment is needed

Answer + AI explanation with Pro

4. What is Starter dependency?

Junior
  1. A.the conditional that makes auto-configured beans back off when the developer has already defined their own
  2. B.a curated, opinionated set of compatible libraries bundled under one coordinate to simplify build setup
  3. C.Boot's mechanism that wires sensible default beans based on classpath contents and existing user beans
  4. D.the module exposing production endpoints for health checks, metrics, and runtime introspection

Answer + AI explanation with Pro

5. Which term means: "a curated, opinionated set of compatible libraries bundled under one coordinate to simplify build setup"?

Junior
  1. A.application.properties
  2. B.Starter dependency
  3. C.Actuator
  4. D.@SpringBootApplication

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.Starter dependency — Boot's mechanism that wires sensible default beans based on classpath contents and existing user beans
  2. B.Starter dependency — a convenience annotation combining configuration declaration, auto-configuration enablement, and component scanning
  3. C.Starter dependency — the module exposing production endpoints for health checks, metrics, and runtime introspection
  4. D.Starter dependency — a curated, opinionated set of compatible libraries bundled under one coordinate to simplify build setup

Answer + AI explanation with Pro

7. What is @SpringBootApplication?

Junior
  1. A.the externalized key-value file Boot reads at startup to override defaults and supply settings
  2. B.a curated, opinionated set of compatible libraries bundled under one coordinate to simplify build setup
  3. C.a convenience annotation combining configuration declaration, auto-configuration enablement, and component scanning
  4. D.Boot's mechanism that wires sensible default beans based on classpath contents and existing user beans

Answer + AI explanation with Pro

8. Which term means: "a convenience annotation combining configuration declaration, auto-configuration enablement, and component scanning"?

Junior
  1. A.Embedded server
  2. B.@ConditionalOnMissingBean
  3. C.@SpringBootApplication
  4. D.application.properties

Answer + AI explanation with Pro

9. Which statement is correct?

Junior
  1. A.@SpringBootApplication — Boot's mechanism that wires sensible default beans based on classpath contents and existing user beans
  2. B.@SpringBootApplication — a convenience annotation combining configuration declaration, auto-configuration enablement, and component scanning
  3. C.@SpringBootApplication — the conditional that makes auto-configured beans back off when the developer has already defined their own
  4. D.@SpringBootApplication — a curated, opinionated set of compatible libraries bundled under one coordinate to simplify build setup

Answer + AI explanation with Pro

10. What is application.properties?

Mid
  1. A.a servlet container like Tomcat packaged inside the runnable JAR so no external deployment is needed
  2. B.the module exposing production endpoints for health checks, metrics, and runtime introspection
  3. C.a convenience annotation combining configuration declaration, auto-configuration enablement, and component scanning
  4. D.the externalized key-value file Boot reads at startup to override defaults and supply settings

Answer + AI explanation with Pro

11. Which term means: "the externalized key-value file Boot reads at startup to override defaults and supply settings"?

Mid
  1. A.Auto-configuration
  2. B.Embedded server
  3. C.Actuator
  4. D.application.properties

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.application.properties — the externalized key-value file Boot reads at startup to override defaults and supply settings
  2. B.application.properties — a curated, opinionated set of compatible libraries bundled under one coordinate to simplify build setup
  3. C.application.properties — Boot's mechanism that wires sensible default beans based on classpath contents and existing user beans
  4. D.application.properties — the module exposing production endpoints for health checks, metrics, and runtime introspection

Answer + AI explanation with Pro

13. What is Embedded server?

Junior
  1. A.a servlet container like Tomcat packaged inside the runnable JAR so no external deployment is needed
  2. B.a convenience annotation combining configuration declaration, auto-configuration enablement, and component scanning
  3. C.a curated, opinionated set of compatible libraries bundled under one coordinate to simplify build setup
  4. D.the externalized key-value file Boot reads at startup to override defaults and supply settings

Answer + AI explanation with Pro

14. Which term means: "a servlet container like Tomcat packaged inside the runnable JAR so no external deployment is needed"?

Junior
  1. A.@ConditionalOnMissingBean
  2. B.Starter dependency
  3. C.Actuator
  4. D.Embedded server

Answer + AI explanation with Pro

15. Which statement is correct?

Junior
  1. A.Embedded server — the externalized key-value file Boot reads at startup to override defaults and supply settings
  2. B.Embedded server — a curated, opinionated set of compatible libraries bundled under one coordinate to simplify build setup
  3. C.Embedded server — Boot's mechanism that wires sensible default beans based on classpath contents and existing user beans
  4. D.Embedded server — a servlet container like Tomcat packaged inside the runnable JAR so no external deployment is needed

Answer + AI explanation with Pro

16. What is Actuator?

Mid
  1. A.Boot's mechanism that wires sensible default beans based on classpath contents and existing user beans
  2. B.the externalized key-value file Boot reads at startup to override defaults and supply settings
  3. C.a convenience annotation combining configuration declaration, auto-configuration enablement, and component scanning
  4. D.the module exposing production endpoints for health checks, metrics, and runtime introspection

Answer + AI explanation with Pro

17. Which term means: "the module exposing production endpoints for health checks, metrics, and runtime introspection"?

Mid
  1. A.application.properties
  2. B.Starter dependency
  3. C.Auto-configuration
  4. D.Actuator

Answer + AI explanation with Pro

18. Which statement is correct?

Mid
  1. A.Actuator — a convenience annotation combining configuration declaration, auto-configuration enablement, and component scanning
  2. B.Actuator — the conditional that makes auto-configured beans back off when the developer has already defined their own
  3. C.Actuator — the module exposing production endpoints for health checks, metrics, and runtime introspection
  4. D.Actuator — a servlet container like Tomcat packaged inside the runnable JAR so no external deployment is needed

Answer + AI explanation with Pro

19. What is @ConditionalOnMissingBean?

Senior
  1. A.the conditional that makes auto-configured beans back off when the developer has already defined their own
  2. B.Boot's mechanism that wires sensible default beans based on classpath contents and existing user beans
  3. C.a servlet container like Tomcat packaged inside the runnable JAR so no external deployment is needed
  4. D.a convenience annotation combining configuration declaration, auto-configuration enablement, and component scanning

Answer + AI explanation with Pro

20. Which term means: "the conditional that makes auto-configured beans back off when the developer has already defined their own"?

Senior
  1. A.Embedded server
  2. B.Auto-configuration
  3. C.@ConditionalOnMissingBean
  4. D.@SpringBootApplication

Answer + AI explanation with Pro

21. Which statement is correct?

Senior
  1. A.@ConditionalOnMissingBean — the conditional that makes auto-configured beans back off when the developer has already defined their own
  2. B.@ConditionalOnMissingBean — Boot's mechanism that wires sensible default beans based on classpath contents and existing user beans
  3. C.@ConditionalOnMissingBean — a curated, opinionated set of compatible libraries bundled under one coordinate to simplify build setup
  4. D.@ConditionalOnMissingBean — a convenience annotation combining configuration declaration, auto-configuration enablement, and component scanning

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Spring Boot question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers