SpringBoot Core

SpringBoot Core

Professional Development

15 Qs

quiz-placeholder

Similar activities

VIVO V17 ASSESSMENT

VIVO V17 ASSESSMENT

Professional Development

19 Qs

ปวช 1. Post test Unit 4- weather

ปวช 1. Post test Unit 4- weather

Professional Development

20 Qs

5 s techniques

5 s techniques

Professional Development

10 Qs

Children's Story Characters

Children's Story Characters

Professional Development

20 Qs

Cycle 2: Session 1 Review.

Cycle 2: Session 1 Review.

Professional Development

10 Qs

Design Thinking

Design Thinking

Professional Development

11 Qs

Yorkshire Housing Yorkshire Quiz

Yorkshire Housing Yorkshire Quiz

Professional Development

20 Qs

SAFETY & TOOLS

SAFETY & TOOLS

Professional Development

10 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