Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

2V0-72.22 Exam Dumps - Professional Develop VMware Spring

Go to page:
Question # 17

Which two statements are true about REST? (Choose two.)

A.

REST is a Protocol.

B.

REST is Stateful.

C.

REST is Reliable.

D.

REST is Interoperable.

E.

REST is Relative.

Full Access
Question # 18

Which three statements are advantages of using Spring’s Dependency Injection? (Choose three.)

A.

Dependency injection can make code easier to trace because it couples behavior with construction.

B.

Dependency injection reduces the start-up time of an application.

C.

Dependencies between application components can be managed external to the components.

D.

Configuration can be externalized and centralized in a small set of files.

E.

Dependency injection creates tight coupling between components.

F.

Dependency injection facilitates loose coupling between components.

Full Access
Question # 19

Which two use cases can be addressed by the method level security annotation @PreAuthorize? (Choose two.)

A.

Allow access to a method based on user identity.

B.

Allow access to a method based on the returned object.

C.

Allow access to a method based on HTTP method.

D.

Allow access to a method based on request URL.

E.

Allow access to a method based on roles.

Full Access
Question # 20

Which two statements are true about Spring Boot and Spring Data JPA? (Choose two.)

A.

@EntityScan and spring.jpa.* properties can be used to customize Spring Data JPA.

B.

Any kind of Hibernate property can be passed to Spring Data JPA like spring.jpa.properties.xxx.

C.

Spring Data JPA is the only implementation for relational databases.

D.

Scanning of JPA Entities can not be customized, the whole classpath is scanned.

E.

Embedded Databases (H2, HSQLDB, Derby) are not re-created during the startup.

Full Access
Question # 21

Which two options are application slices that can be tested with Spring Boot Testing? (Choose two.)

A.

Repository

B.

Messaging

C.

Web

D.

Container

E.

Client

Full Access
Question # 22

Which two statements are true regarding Spring and Spring Boot Testing? (Choose two.)

A.

EasyMock is supported out of the box.

B.

@SpringBootTest or @SpringJUnitConfig can be used for creating an ApplicationContext.

C.

Mockito spy is not supported in Spring Boot testing by default.

D.

The spring-test dependency provides annotations such as @Mock and @MockBean.

E.

Integration and slice testing are both supported.

Full Access
Question # 23

Which two options are valid optional attributes for Spring’s @Transactional annotation? (Choose two.)

A.

isolation

B.

writeOnly

C.

nestedTransaction

D.

readWrite

E.

propagation

Full Access
Go to page: