SpringBoot Core

SpringBoot Core

Professional Development

15 Qs

quiz-placeholder

Similar activities

QUIZIZ WEEK 11

QUIZIZ WEEK 11

Professional Development

10 Qs

Suspension quiz

Suspension quiz

Professional Development

15 Qs

Operational Excellence Part 3

Operational Excellence Part 3

Professional Development

15 Qs

Trivia Tourney 1/21/22

Trivia Tourney 1/21/22

Professional Development

10 Qs

Lawson1

Lawson1

3rd Grade - Professional Development

13 Qs

second order system response

second order system response

Professional Development

13 Qs

Easter trivia

Easter trivia

12th Grade - Professional Development

20 Qs

Education and training- Reading comprehension A2

Education and training- Reading comprehension A2

Professional Development

11 Qs

SpringBoot Core

SpringBoot Core

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Easy

Created by

PRAVEEN SHARMA

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Professional Development