NEW
Font size
WorksheetsSpring and Spring boot
Total questions: 10
Worksheet time: 5mins
What is Spring Framework used for?
Creating graphical user interfaces
Managing database schemas
Building and managing enterprise applications
Generating test data
What is the core container module in the Spring Framework?
Spring Boot
Spring Web
Spring MVC
Spring IoC
What is the purpose of Spring Boot?
To provide a lightweight container for Spring applications
To simplify the configuration and deployment of Spring applications
To enhance the performance of Spring applications
To replace the Spring Framework entirely
Which embedded web server is supported by default in Spring Boot?
Tomcat
GlassFish
WildFly
Jetty
What is the purpose of the @Autowired annotation in Spring?
It defines a new bean
It injects dependencies automatically
It configures database connections
It specifies URL patterns
Which file is commonly used for configuring Spring beans in XML format?
applicationContext.xml
spring-beans.xml
beans-config.xml
spring-context.xml
Which Spring module provides support for transaction management?
Spring AOP
Spring Data
Spring Transaction
Spring ORM
What is the primary role of the Spring Boot Starter modules?
To create Spring beans
To manage application properties
To configure the database
To simplify dependency management
What does the term "Inversion of Control" (IoC) refer to in Spring?
A control statement in programming logic
A design pattern for creating classes
The process of controlling hardware devices
The management of object dependencies by a container
Which of the following is a microframework built on top of the Spring Framework?
Spring Data
Spring Boot
Spring Security
Spring Cloud
