Black Friday Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

VMware Certification 2V0-72.22 Book

Page: 2 / 5
Question 8

Refer to the exhibit.

How can a Spring Bean be created from this LegacySingleton class?

Options:

A.

Call LegacySingleton.getInstance() from within a @Bean method and return the instance.

B.

Return an instance of LegacySingleton using the new keyword from a @Bean method.

C.

It is not possible without modifying the LegacySingleton class, the constructor must be public.

D.

Modify the LegacySingleton class by adding the @Autowired annotation to the instance variable.

Question 9

Spring Boot will find and load property files in which of the following? (Choose the best answer.)

Options:

A.

A *.properties file matching the name of the class annotated with @SpringBootApplication.

B.

config.properties or config.yml, usually located in the classpath root.

C.

application.properties or application.yml, usually located in the classpath root.

D.

env.properties or env.yml, usually located in the classpath root.

Question 10

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

Options:

A.

isolation

B.

writeOnly

C.

nestedTransaction

D.

readWrite

E.

propagation

Question 11

Which three dependencies are provided by the spring-boot-starter-test? (Choose three.)

Options:

A.

Cucumber

B.

Hamcrest

C.

spring-test

D.

Junit

E.

EasyMock

F.

PowerMock

Page: 2 / 5
Exam Code: 2V0-72.22
Exam Name: Professional Develop VMware Spring
Last Update: Nov 24, 2024
Questions: 79
2V0-72.22 pdf

2V0-72.22 PDF

$25.5  $84.99
2V0-72.22 Engine

2V0-72.22 Testing Engine

$28.5  $94.99
2V0-72.22 PDF + Engine

2V0-72.22 PDF + Testing Engine

$40.5  $134.99