Free 2V0-72.22 Sample Questions — Professional Develop VMware Spring

Professional Develop VMware Spring (2V0-72.22) is a professional-level VMware certification exam. The blueprint splits the exam across 5 domains, starting with Spring Framework Fundamentals, Spring Boot, Spring Data and Integration. On exam day you face around 90 questions in 115 minutes, in formats such as multiple choice, multiple select. The 15 questions below are free samples written to match that style: answer each one first, then reveal the correct answer and note which topics you miss. The 2V0-72.22 is rated intermediate in difficulty, and most candidates prepare with at least 12 months of hands-on experience. Because every answer is revealed in place, you can work through the whole set without leaving this page. Work through all 15 samples before deciding whether to buy the full 64+ question PDF.

  • 15 free questions
  • pass mark 300/1000
  • 115 min
  • $250 official fee
  • blueprint v72.22
  • Every free question shows the correct answer
  • Questions follow the official 5-domain blueprint
  • No account or email required
  • 64+ questions in the full PDF

Looking for more? Click here to get the full PDF with 64+ practice questions for $10 for offline study and deeper preparation.

Question 1

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
Show Answer
Correct Answer:
  • 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
  • F. Dependency injection facilitates loose coupling between components
Question 2

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
Show Answer
Correct Answer:
  • C. It can be used to display arbitrary application information
  • E. Typically it is used to display build or source control information
Question 3

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
Show Answer
Correct Answer:
  • 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
Question 4

Which two annotations indicate that the transaction for a transactional test method should be committed after the test method has completed? (Choose two.)

  • A. @SqlMergeMode(false)
  • B. @Rollback(false)
  • C. @Commit
  • D. @Sql(alwaysCommit=true)
  • E. @Transactional(commit=true)
Show Answer
Correct Answer:
C. @Commit
Question 5

Which two statements describe the ApplicationContext correctly? (Choose two.)

  • A. The ApplicationContext is the root interface for accessing the Spring container
  • B. The ApplicationContext lazy initializes beans by default
  • C. The ApplicationContext can be created in a test environment, web application, and in a standalone application
  • D. The ApplicationContext does not include all functionality of the BeanFactory
  • E. The ApplicationContext maintains singleton beans that are instantiated by the Spring runtime
Show Answer
Correct Answer:
  • C. The ApplicationContext can be created in a test environment, web application, and in a standalone application
  • E. The ApplicationContext maintains singleton beans that are instantiated by the Spring runtime
Question 6

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
Show Answer
Correct Answer:
A. Repository
Question 7

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

  • A. Use the @AutoConfigureAfter or @AutoConfigureBefore annotations to apply configuration in a specific order
  • B. Disable specific auto-configuration classes by using the exclude attribute on the @EnableAutoConfiguation annotation
  • C. Provide customized auto-configuration by subclassing the provided Spring Boot auto-configuration classes
  • D. Enable component scanning within auto-configuration classes to find necessary components
  • E. Control the order of auto-configuration classes applied with @AutoConfigureOrder
Show Answer
Correct Answer:
  • A. Use the @AutoConfigureAfter or @AutoConfigureBefore annotations to apply configuration in a specific order
  • B. Disable specific auto-configuration classes by using the exclude attribute on the @EnableAutoConfiguation annotation
Question 8

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

  • 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
Show Answer
Correct Answer:
D. Used to add a set of name/value pairs to the Spring Environment from an external source
Question 9

Which two statements are correct regarding the differences between @ConfigurationProperties and @Value? (Choose two.)

  • A. @Value must be used for environment variables, as @ConfigurationProperties cannot access the environment
  • B. @Value supports relaxed binding of properties, but not property binding through SpEL
  • C. @ConfigurationProperties is preferable over @Value when type-safety during property binding is a concern
  • D. @ConfigurationProperties only bind properties from .properties files, not from .yml files
  • E. @ConfigurationProperties supports relaxed binding of properties, but not property binding through SpEL
Show Answer
Correct Answer:
  • C. @ConfigurationProperties is preferable over @Value when type-safety during property binding is a concern
  • E. @ConfigurationProperties supports relaxed binding of properties, but not property binding through SpEL
Question 10

Which two statements are correct regarding Spring Boot 2.x Actuator Metrics? (Choose two.)

  • A. An external monitoring system must be used with Actuator
  • B. The metrics endpoint /actuator/metrics is exposed over HTTP by default
  • C. Timer measures both the number of timed events and the total time of all events timed
  • D. Custom metrics can be measured using Meter primitives such as Counter, Gauge, Timer, and DistributionSummary
  • E. metric must be created with one or more tags
Show Answer
Correct Answer:
  • C. Timer measures both the number of timed events and the total time of all events timed
  • D. Custom metrics can be measured using Meter primitives such as Counter, Gauge, Timer, and DistributionSummary
Question 11

Which two statements are true regarding bean creation? (Choose two.)

  • A. Spring bean can be explicitly created by annotating methods or fields by @Autowired
  • B. Spring bean can be implicitly created by annotating the class with @Component and using the component-scanner to scan its package
  • C. Spring bean can be implicitly created by annotating the class with @Bean and using the component-scanner to scan its package
  • D. Spring bean can be explicitly created using @Bean annotated methods within a Spring configuration class
  • E. Spring bean can be explicitly created by annotating the class with @Autowired
Show Answer
Correct Answer:
  • B. Spring bean can be implicitly created by annotating the class with @Component and using the component-scanner to scan its package
  • D. Spring bean can be explicitly created using @Bean annotated methods within a Spring configuration class
Question 12

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
Show Answer
Correct Answer:
  • 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.
Question 13

Which two statements are true regarding storing user details in Spring Security? (Choose two.)

  • A. With a custom UserDetailsService defined in the ApplicationContext, Spring Boot still creates the default user
  • B. Passwords must be hashed and the default hashing algorithm is MD5
  • C. User details can be stored in custom storage and retrieve them by implementing the UserDetailsService interface
  • D. User details can be stored in a database, in LDAP, or in-memory
  • E. The user details includes username and password but not authorities
Show Answer
Correct Answer:
  • C. User details can be stored in custom storage and retrieve them by implementing the UserDetailsService interface
  • D. User details can be stored in a database, in LDAP, or in-memory
Question 14

Which two statements about pointcut expressions are true? (Choose two.)

  • A. pointcut expression cannot specify the type of parameters
  • B. pointcut expression will throw an exception if no methods are matched
  • C. pointcut expression cannot have a wildcard for a method name
  • D. pointcut expression can include operators such as the following: && (and), || (or), ! (not)
  • E. pointcut expression can be used to select join points which have been annotated with a specific annotation
Show Answer
Correct Answer:
  • D. pointcut expression can include operators such as the following: && (and), || (or), ! (not)
  • E. pointcut expression can be used to select join points which have been annotated with a specific annotation
Question 15

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

  • A. Generic MapS
  • B. Simple types (int, long, String, etc)
  • C. JSONObject
  • D. User defined types
  • E. Properties
  • F. XMLObject
Show Answer
Correct Answer:
  • A. Generic MapS
  • B. Simple types (int, long, String, etc)
  • D. User defined types

2V0-72.22 sample questions FAQ

Are these 2V0-72.22 sample questions from the real exam?

No. They are original practice questions written to match the format and topic mix of the Professional Develop VMware Spring exam, which contains around 90 questions. Treat them as representative practice, not leaked exam content.

How many free 2V0-72.22 sample questions do I get?

This page includes 15 questions, each with its correct answer you can reveal in place. The full study PDF expands that to 64+ questions.

Do the sample questions include the correct answers?

Yes. Open the answer panel under each question to see which option is correct. Answer first, then reveal, so the set works as a self-check rather than a reading exercise.

Is 15 sample questions enough to pass the 2V0-72.22?

Not on its own. Use the samples to find weak topics, revise them against the official domains, then work through the full 64+ question set under timed conditions before booking the exam.

Aced these? Get the Full Exam

Download the complete 2V0-72.22 study bundle with 64+ questions in a single printable PDF.