๐Ÿงช Spring Boot MCQ Quiz Hub

Spring Boot Common Test

Choose a topic to test your knowledge and improve your Spring Boot skills

Choose name of annotations @SpringBootApplication annotation is equivalent to using with their default attribute





โœ… Correct Answer: 4

Springboot enables the developers to us ?





โœ… Correct Answer: 1

Springboot provides?





โœ… Correct Answer: 1

Can we exclude any package without using then basePackages filter ?





โœ… Correct Answer: 1

Spring Boot provides a trickier option for achieving this without touching the component scan?





โœ… Correct Answer: 1

@SpringBootApplication can used to exclude any package without using basePackage filter?





โœ… Correct Answer: 1

Choose correct Code Snippet used to exclude





โœ… Correct Answer: 1

Can we disable a specific auto-configuration class?





โœ… Correct Answer: 1

How we can disable a specific auto- configuration class?





โœ… Correct Answer: 1

Syntax for specific auto-configuration classes that we do not want are being applied?





โœ… Correct Answer: 1

Syntax for Spring Boot provides the facility to control the list of auto-configuration classes to exclude by using the spring.autoconfigure.exclude property<br> application.properties<br> //By using property file<br><br> spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration





โœ… Correct Answer: 1

Can we disable the default web server in the Spring Boot application?





โœ… Correct Answer: 1

spring.main.web-application-type=none is use to disable the default web server in the Spring Boot application





โœ… Correct Answer: 1

Can we override or replace the Embedded Tomcat server in Spring Boot?





โœ… Correct Answer: 1

Is this possible to change the port of Embedded Tomcat server in Spring boot?





โœ… Correct Answer: 1