Search Header Logo

NGA-SprngBoot

Authored by Sirish Goud

Other

Professional Development

Used 2+ times

NGA-SprngBoot
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?