Leads4pass > VMware > VMware Certifications > 2V0-72.22 > 2V0-72.22 Online Practice Questions and Answers

2V0-72.22 Online Practice Questions and Answers

Questions 4

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.

Buy Now
Questions 5

Given an ApplicationContext containing three bean definitions of type Foo with bean ids foo1, foo2, and foo3, which three @Autowired scenarios are valid and will allow the ApplicationContext to initialize successfully? (Choose three.)

A. @Autowired public void setFoo (Foo foo) {...}

B. @Autowired @Qualifier ("foo3") Foo foo;

C. @Autowired public void setFoo (@Qualifier ("foo1") Foo foo) {...}

D. @Autowired private Foo foo;

E. @Autowired private Foo foo2;

F. @Autowired public void setFoo(Foo foo2) {...}

Buy Now
Questions 6

Spring puts each bean instance in a scope. What is the default scope? (Choose the best answer.)

A. prototype

B. singleton

C. request

D. session

Buy Now
Questions 7

Which two are required to use transactions in Spring? (Choose two.)

A. Add @EnableTransactionManagement to a Java configuration class.

B. Annotate a class, an interface, or individual methods requiring a transaction with the @Transactional annotation.

C. A class must be annotated with @Service and @Transaction.

D. A class requiring a transaction must implement the TransactionInterceptor interface.

E. Write a Spring AOP advice to implement transactional behavior.

Buy Now
Questions 8

Which two statements about the @Autowired annotation are true? (Choose two.)

A. @Autowired fields are injected after any config methods are invoked.

B. Multiple arguments can be injected into a single method using @Autowired.

C. By default, if a dependency cannot be satisfied with @Autowired, Spring throws a RuntimeException.

D. If @Autowired is used on a class, field injection is automatically performed for all dependencies.

E. @Autowired can be used to inject references into BeanPostProcessor and BeanFactoryPostProcessor.

Buy Now
Questions 9

Refer to the exhibit.

Which statement is true? (Choose the best answer.)

A. CustomerRepository should be a class, not an interface.

B. JPA annotations are required on the Customer class to successfully use Spring Data JDBC.

C. An implementation of this repository can be automatically generated by Spring Data JPA.

D. A class that implements CustomerRepository must be implemented and declared as a Spring Bean.

Buy Now
Questions 10

Which two statements are correct regarding the Actuator info endpoint? (Choose two.)

A. It provides configuration options through which only an authenticated user can display application information.

B. It is not enabled by default.

C. It can be used to display arbitrary application information.

D. It can be used to change a property value on a running application.

E. Typically it is used to display build or source control information.

Buy Now
Questions 11

Which two statements are correct regarding the Health Indicator status? (Choose two.)

A. The last status in a sorted list of HealthIndicators is used to derive the final system health.

B. The status with the least severity is used as the top-level status.

C. Custom status values can be created.

D. The built-in status values are DOWN, OUT_OF_SERVICE, UNKNOWN, and UP in decreasing order of severity.

E. The severity order cannot be changed due to security reasons.

Buy Now
Questions 12

What are the two reasons Spring be used to build a Java application? (Choose two.)

A. Spring automates a Java application build.

B. Spring provides a Dependency Injection container.

C. Spring automates deployment of Java applications to all of the major cloud providers.

D. Spring provides comprehensive Java IDE support.

E. Spring provides abstractions over infrastructure such as persistence and messaging.

Buy Now
Questions 13

Which two statements describe Spring JdbcTemplate? (Choose two.)

A. All JdbcTemplate methods throw SQLException which you are required to handle.

B. The JdbcTemplate provides the ability to work with result sets.

C. The JdbcTemplate can only perform update but not insert to the database.

D. The JdbcTemplate provides methods for query execution.

E. The JdbcTemplate generates SQL statements.

Buy Now
Exam Code: 2V0-72.22
Exam Name: Professional Develop VMware Spring
Last Update: Jun 08, 2026
Questions: 60
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99