← All Spring Framework Flashcard Decks

Spring Boot & Auto-Configuration Flashcards

6 cards from real Spring Framework practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 6 Spring Boot & Auto-Configuration flashcards as text
  1. What Spring Boot Actuator endpoint shows the health status of the application?

    Answer: /actuator/health

    The /actuator/health endpoint aggregates health indicators and returns the overall UP or DOWN status of the application.

  2. Which annotation conditionally registers a bean only if another specific bean is present?

    Answer: @ConditionalOnBean

    @ConditionalOnBean registers a bean in the context only if one or more specified beans are already present in the BeanFactory.

  3. In Spring Boot, what is the purpose of application profiles?

    Answer: To load different configurations based on the active environment (dev, test, prod)

    Spring profiles allow you to define environment-specific beans and configuration properties, activated via spring.profiles.active.

  4. What does the @SpringBootTest annotation do?

    Answer: Loads the full application context for integration testing

    @SpringBootTest bootstraps the complete Spring application context for integration tests, making it useful for testing end-to-end behavior.

  5. What property sets the embedded server port in Spring Boot?

    Answer: server.port

    The server.port property in application.properties configures the port that the embedded server (Tomcat by default) listens on.

  6. How do you bind a group of related properties to a Java object in Spring Boot?

    Answer: Using @ConfigurationProperties on a class with a prefix

    @ConfigurationProperties binds external configuration properties with a common prefix to fields of a POJO, enabling type-safe configuration.

How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy

Sources & references

Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy

  1. docs.broadcom.com — Test delivery, retake policy, exam information · verified Oct 2026
  2. spring-academy.broadcom.com — Eligibility · verified Oct 2026
  3. broadcom.com — Fees, exam format, passing score, time limit · verified Oct 2026