Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Free Exam Questions

2V0-72.22 Exam Questions & Answers

Professional Develop VMware Spring  •  VMware

79 Questions 130 min Updated Sep 2026 99% Pass Rate
Get Full Access

100% money-back guarantee

Sample 2V0-72.22 Questions

Practice with real exam-style questions, each with the verified correct answer and explanation.

Q1 MultipleChoice

Which three types of objects can be returned form a JdbcTemplate query? (Choose three.)

Correct Answer: A, B, D
Explanation:

The JdbcTemplate class provides various methods to execute queries and manipulate the query results. Depending on the query and the expected result type, we can choose from the following three types of objects that can be returned from a JdbcTemplate query:

A . Generic Maps

This is true because the JdbcTemplate.queryForList method returns a List of Map objects, where each Map represents a row of the query result. The Map keys are the column names and the Map values are the column values1. For example:

List<Map<String, Object>> results = jdbcTemplate.queryForList(''SELECT * FROM EMPLOYEE''); for (Map<String, Object> row : results) { System.out.println(row.get(''NAME'') + ' ' + row.get(''SALARY'')); }

B . Simple types (int, long, String, etc)

This is true because the JdbcTemplate.queryForObject method can return a single value of a simple type, such as int, long, String, etc. This method is useful for running queries that return a single row and a single column2. For example:

int count = jdbcTemplate.queryForObject(''SELECT COUNT(*) FROM EMPLOYEE'', Integer.class); System.out.println('Number of employees: ' + count);

D . User defined types

This is true because the JdbcTemplate.query method can return a List of user defined types, such as custom classes or beans. This method takes a RowMapper as an argument, which is an interface that maps each row of the query result to an instance of the user defined type3. For example:

public class Employee { private String name; private int salary; // getters and setters }

public class EmployeeRowMapper implements RowMapper<Employee> { @Override public Employee mapRow(ResultSet rs, int rowNum) throws SQLException { Employee employee = new Employee(); employee.setName(rs.getString(''NAME'')); employee.setSalary(rs.getInt(''SALARY'')); return employee; } }

List<Employee> employees = jdbcTemplate.query(''SELECT * FROM EMPLOYEE'', new EmployeeRowMapper()); for (Employee employee : employees) { System.out.println(employee.getName() + ' ' + employee.getSalary()); }

Q2 MultipleChoice

Refer to the exhibit.

What is the id/name of the declared bean in this Java configuration class? (Choose the best answer.)

Correct Answer: C
Explanation:

This is true because the id/name of a bean declared by the @Bean annotation is derived from the name of the method that returns the bean. In this case, the method name is clientService, so the bean name will be clientService as well. By default, Spring uses a lower-case first letter for bean names, unless explicitly specified otherwise by using the name attribute of the @Bean annotation. For example, we can use @Bean(name = ''ClientService'') to change the bean name to ClientService (starting with uppercase ''C'').

Q3 MultipleChoice

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

Correct Answer: A, E
Explanation:

A . Allow access to a method based on user identity.

This is true because the @PreAuthorize annotation can use the principal object to access the user identity and check if it matches a certain condition. For example, we can use the following expression to allow access only to the user with the username ''admin'':

@PreAuthorize(''principal.username == 'admin''')

E . Allow access to a method based on roles.

This is true because the @PreAuthorize annotation can use the hasRole, hasAnyRole, or hasAuthority methods to check if the user has a certain role or authority. For example, we can use the following expression to allow access only to users who have the role ''ADMIN'' or ''USER'':

@PreAuthorize(''hasAnyRole('ADMIN', 'USER')'')

Q4 MultipleChoice

Which two statements are true regarding a Spring Boot "fat" JAR? (Choose two.)

Correct Answer: C, E
Q5 MultipleChoice

Which two statements are true regarding Spring Security? (Choose two.)

Correct Answer: A, C
Explanation:

Spring Security is a framework that provides comprehensive security services for Java applications, such as authentication, authorization, encryption, session management, and more. One of its features is method security, which allows applying access control rules at the method level using annotations or XML configuration. Another feature is authentication, which is the process of verifying the identity of a user or a system. Spring Security supports various authentication mechanisms, such as username and password, tokens, certificates, etc., and can access authentication data from different sources, such as databases, LDAP directories, in-memory stores, etc.

Get access to all 79 verified questions with detailed answers.

Unlock All 2V0-72.22 Questions

Frequently Asked Questions

The 2V0-72.22 is a professional-level certification exam that validates expertise in developing applications using VMware Spring framework and related technologies. This exam is designed for developers who want to demonstrate their proficiency in building enterprise applications with Spring.

The exam covers core Spring framework concepts including dependency injection, aspect-oriented programming, data access, web development, and cloud-native application development. It also includes testing, security, and integration with other enterprise technologies.

The exam typically lasts 105 minutes and consists of approximately 60 multiple-choice questions. You need to achieve a passing score to obtain the certification credential.

VMware recommends having hands-on experience with Spring Framework development and a solid understanding of Java programming fundamentals. Prior completion of Spring-related courses or certifications can also help prepare for this exam.

You can prepare by studying official VMware documentation, taking authorized training courses, practicing with sample exams, and gaining practical experience building Spring applications. Many candidates also use study guides, online tutorials, and community resources to reinforce their knowledge.
Exam Details
  • Exam Code2V0-72.22
  • VendorVMware
  • Total Questions79
  • Duration130 min
  • LanguageEnglish
  • Last UpdatedSep 3, 2026
4.9/5

Pass 2V0-72.22 First Time

Get all 79 exam questions with verified answers and 90-day free updates.

Buy Now & Pass
  • PDF + Practice Test Bundle
  • 90-Day Free Updates
  • 100% Money-Back Guarantee
  • Instant Download
  • 24/7 Customer Support
99% Pass Rate Trusted by 50,000+ IT professionals