Labour Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: cramtreat

2V0-72.22 Professional Develop VMware Spring Questions and Answers

Questions 4

Which two statements are true about @Controller annotated classes? (Choose two.)

Options:

A.

The @Controller annotated classes can only render views.

B.

The classes are eligible for handling requests in Spring MVC.

C.

The classes must be annotated together with @EnableMvcMappings to be discovered via component scanning.

D.

@Controller is interchangeable with @RestController with no extra code changes for the methods inside the class.

E.

The @Controller annotation is a stereotype annotation like @Component.

Buy Now
Questions 5

Which two statements are correct regarding Spring Boot auto-configuration? (Choose two.)

Options:

A.

Auto-configuration uses @Conditional annotations to constrain when it should apply.

B.

Auto-configuration could apply when a bean is missing but not when a bean is present.

C.

Auto-configuration is applied by processing candidates listed in META-INF/spring.factories.

D.

Auto-configuration could apply when a bean is present but not when a bean is missing.

E.

Auto-configuration is applied before user-defined beans have been registered.

Buy Now
Questions 6

Which two statements are true regarding the RestTemplate class? (Choose two.)

Options:

A.

It supports asynchronous non-blocking model.

B.

It automatically supports sending and receiving Java objects.

C.

It provides convenience methods for writing REST clients.

D.

It provides convenience methods for writing REST services.

E.

Sending an HTTP request with a custom header is not possible when using RestTemplate.

Buy Now
Questions 7

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

Buy Now
Questions 8

Refer to the exhibit.

Which two statements are correct regarding the HelloAutoConfig auto-configuration class when it isspecified in the META-INF/spring.factories file? (Choose two.)

Options:

A.

A HelloService bean will be created from the helloService() method even if the

HelloService.class is not in the classpath.

B.

A HelloService bean will be created from the helloService() method only when there is no other

HelloService bean in the ApplicationContext.

C.

This auto-configuration class is used only when the HelloService.class is not on the classpath.

D.

This auto-configuration class is used only when the HelloService.class is on the classpath.

E.

A HelloService bean will be created from the helloService() method and will replace existing a

HelloService bean in the ApplicationContext.

Buy Now
Questions 9

Which statement is true about the @PropertySource annotation? (Choose the best answer.)

Options:

A.

Used to designate the location of the application.properties file in a Spring Boot application.

B.

Used to easily look up and return a single property value from some external property file.

C.

Used to designate the file directory of the application.properties file in a Spring Boot application.

D.

Used to add a set of name/value pairs to the Spring Environment from an external source.

Buy Now
Exam Code: 2V0-72.22
Exam Name: Professional Develop VMware Spring
Last Update: May 2, 2024
Questions: 60
2V0-72.22 pdf

2V0-72.22 PDF

$28  $80
2V0-72.22 Engine

2V0-72.22 Testing Engine

$33.25  $95
2V0-72.22 PDF + Engine

2V0-72.22 PDF + Testing Engine

$45.5  $130