NGA-SprngBoot

NGA-SprngBoot

Professional Development

10 Qs

quiz-placeholder

Similar activities

English mate 4th

English mate 4th

4th Grade - Professional Development

7 Qs

Windows PC quizez

Windows PC quizez

Professional Development

8 Qs

Brand history

Brand history

Professional Development

10 Qs

cATcHY’s Training Quiz Group 3

cATcHY’s Training Quiz Group 3

Professional Development

10 Qs

U.S Women's National Soccer Team

U.S Women's National Soccer Team

Professional Development

10 Qs

Alatan Perkebunan

Alatan Perkebunan

KG - Professional Development

10 Qs

Springtime & Easter Trivia

Springtime & Easter Trivia

Professional Development

13 Qs

UiPath

UiPath

Professional Development

14 Qs

NGA-SprngBoot

NGA-SprngBoot

Assessment

Quiz

Other

Professional Development

Medium

Created by

Sirish Goud

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The requirement for publishing an application's data as a REST service is.

@ModelandAttrbute

@RequestMapping

@Bean

None of the above

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

_____________ is the component in Spring Boot auto-configures a DataSource based on the classpath settings.

DataSourceAutoConfiguration

JdbcTemplate

HibernateTemplate

ServletTemplate

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

____________ is the embedded servlet container will supported by default in Spring Boot.

Tomcat

Gradel

Maven

None of the above

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In Spring Boot, what is the primary purpose of the @ComponentScan annotation?

To indicate class in Bean

To indicate class Configuration class

to Indicate class is RestController

Scan for Spring components and configurations

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Can you explain what the @Entity annotation is for in Spring Boot?

To make a declaration of a JPA entity

To make a declaration of a Repository

To make a declaration of a Configuration

To make a declaration of a Bean

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the process for accessing the H2 database's web console during development in Spring Boot?

Enabling spring.h2.console.enabled is done by setting it to true

Enabling server.port = 2345

Enabling spring.datasource to true

None of the above

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which annotation is used to define SQL queries in repository interfaces in Spring Boot?

@Query

@Entity

@Id

@Column

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?