SpringBoot Core

SpringBoot Core

Professional Development

15 Qs

quiz-placeholder

Similar activities

Spring

Spring

Professional Development

10 Qs

Spring Boot

Spring Boot

Professional Development

10 Qs

ERad3

ERad3

Professional Development

12 Qs

Fruits and Vegetables (EFL for Restaurant Staff)

Fruits and Vegetables (EFL for Restaurant Staff)

Professional Development

20 Qs

Easter trivia

Easter trivia

12th Grade - Professional Development

20 Qs

TOULMIN’S MODEL OF ARGUMENTATION

TOULMIN’S MODEL OF ARGUMENTATION

Professional Development

16 Qs

Operational Excellence Part 3

Operational Excellence Part 3

Professional Development

15 Qs

Cycle 2: Session 1 Review.

Cycle 2: Session 1 Review.

Professional Development

10 Qs

SpringBoot Core

SpringBoot Core

Assessment

Quiz

Professional Development

Professional Development

Easy

Created by

PRAVEEN SHARMA

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the @SpringBootApplication annotation combine?

@Component, @Service, @Repository

@Configuration, @EnableAutoConfiguration, @ComponentScan

@RestController, @RequestMapping, @EnableJpaRepositories

@SpringBootTest, @EnableCaching, @EnableScheduling

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which annotation makes a class a candidate for auto-detection by Spring when using annotation-based configuration?

@Autowired

@Bean

@Component

@SpringBootApplication

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of @RestController annotation in Spring Boot?

To define a controller that returns view pages

To define a controller that returns JSON or XML directly

To perform REST API validation

To scan components

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which annotation is used to inject dependencies automatically in Spring?

@Bean

@Inject

@Autowired

@Component

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When there are multiple beans of the same type, which annotation helps to choose the right one to inject?

@Autowired

@Qualifier

@Component

@Value

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which annotation gives higher priority to a bean when multiple candidates are available for autowiring?

@Lazy

@Qualifier

@Primary

@Bean

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the @Lazy annotation do in Spring?

Prevents a bean from being autowired

Loads the bean immediately at application start

Delays the creation of bean until it is needed

Makes the bean thread-safe

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?