NGA-SprngBoot

NGA-SprngBoot

Professional Development

10 Qs

quiz-placeholder

Similar activities

Shoes

Shoes

KG - Professional Development

15 Qs

PlayerUnknown's Battlegrounds

PlayerUnknown's Battlegrounds

1st Grade - Professional Development

6 Qs

Pubg

Pubg

Professional Development

10 Qs

LCS Trainings - Driving Performance: EYI, GEAR, and QIP

LCS Trainings - Driving Performance: EYI, GEAR, and QIP

Professional Development

8 Qs

Summer quiz

Summer quiz

KG - Professional Development

11 Qs

VMPO QUIZ - APRIL 2020

VMPO QUIZ - APRIL 2020

Professional Development

10 Qs

pneumatic system

pneumatic system

2nd Grade - Professional Development

14 Qs

Cloud Native Fundamentals

Cloud Native Fundamentals

Professional Development

10 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?