Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

VMware 2V0-72.22 - Professional Develop VMware Spring

Page: 3 / 3
Total 79 questions

Which two statements are true regarding a Spring Boot-based Spring MVC application? (Choose two.)

A.

The default embedded servlet container can be replaced with Undertow.

B.

Jetty is the default servlet container.

C.

Spring Boot starts up an embedded servlet container by default.

D.

The default port of the embedded servlet container is 8088.

E.

Spring MVC starts up an in-memory database by default.

Which two statements are true regarding @DataJpaTest? (Choose two.)

A.

TestEntityManager provides all methods that are provided by EntityManager and more.

B.

If an embedded database is on the classpath, it will be used to configure a DataSource by default.

C.

It can be used for testing both JPA components and NoSQL components.

D.

It auto-configures a TestEntityManager bean.

E.

It can be used for testing JdbcTemplate.

Which two statements describe the ApplicationContext correctly? (Choose two.)

A.

The ApplicationContext is the root interface for accessing the Spring container.

B.

The ApplicationContext lazy initializes beans by default.

C.

The ApplicationContext can be created in a test environment, web application, and in a standalone application.

D.

The ApplicationContext does not include all functionality of the BeanFactory.

E.

The ApplicationContext maintains singleton beans that are instantiated by the Spring runtime.