Exam2pass
0 items Sign In or Register
  • Home
  • IT Exams
  • Guarantee
  • FAQs
  • Reviews
  • Contact Us
  • Demo
Exam2pass > 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 Spring Security? (Choose two.)

A. Access control can be configured at the method level.

B. A special Java Authentication and Authorization Service (JAAS) policy file needs to be configured.

C. Authentication data can be accessed using a variety of different mechanisms, including databases and LDAP.

D. In the authorization configuration, the usage of permitAll () allows bypassing Spring security completely.

E. It provides a strict implementation of the Java EE Security specification.

Buy Now

Correct Answer: AD

Reference: https://www.baeldung.com/security-none-filters-none-access-permitAll

Questions 5

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

Correct Answer: BC

Reference: https://www.javatpoint.com/spring-vs-spring-boot-vs-spring-mvc

Questions 6

Refer to the exhibit.

Which option is a valid way to retrieve the account id? (Choose the best answer.)

A. Add @PathVariable("id") String accountId argument to the update() handler method.

B. Add @PathVariable long accountId argument to the update() handler method.

C. Add @RequestParam long accountId argument to the update() handler method.

D. Add @RequestParam("id") String accountId argument to the update() handler method.

Buy Now

Correct Answer: A

Reference: https://docs.spring.io/spring-framework/docs/4.3.12.RELEASE/spring-framework-reference/ htmlsingle/

Questions 7

Which two statements are true about REST? (Choose two.)

A. REST is a Protocol.

B. REST is Stateful.

C. REST is Reliable.

D. REST is Interoperable.

E. REST is Relative.

Buy Now

Correct Answer: AD

Reference: https://www.tutorialspoint.com/restful/restful_introduction.htm

Questions 8

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

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.

Buy Now

Correct Answer: C

Reference: https://stackabuse.com/how-to-access-property-file-values-in-spring-boot/

Questions 9

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

Correct Answer: BE

Questions 10

Which two statements are true concerning the BeanPostProcessor Extension point? (Choose two.)

A. BeanPostProcessors are called before the dependencies have been injected.

B. Custom BeanPostProcessors can be implemented for Spring applications.

C. BeanPostProcessors are called before the BeanFactoryPostProcessors.

D. BeanPostProcessors are called during the initialization phase of a bean life cycle.

E. BeanPostProcessors cannot be ordered in a Spring Boot application.

Buy Now

Correct Answer: BD

Reference: https://docs.spring.io/spring-framework/docs/3.0.0.M3/reference/html/ch04s07.html

Questions 11

Which two statements are true regarding @DataJpaTest? (Choose two.)

A. TestEntityManager provides all methods that are provided by EntityManager and more.

B. If an embedded database is on the classpath, it will be used to configure a DataSource by default.

C. It can be used for testing both JPA components and NoSQL components.

D. It auto-configures a TestEntityManager bean.

E. It can be used for testing JdbcTemplate.

Buy Now

Correct Answer: BD

Reference: https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/test/autoconfigure/ orm/jpa/DataJpaTest.html

Questions 12

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

Correct Answer: C

Questions 13

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

A. A Spring bean can be explicitly created by annotating methods or fields by @Autowired.

B. A Spring bean can be implicitly created by annotating the class with @Component and using the component-scanner to scan its package.

C. A Spring bean can be implicitly created by annotating the class with @Bean and using the component-scanner to scan its package.

D. A Spring bean can be explicitly created using @Bean annotated methods within a Spring configuration class.

E. A Spring bean can be explicitly created by annotating the class with @Autowired.

Buy Now

Correct Answer: BE

Reference: https://docs.spring.io/spring-framework/docs/3.0.0.M4/spring-framework-reference/html/

ch03s10.html

https://howtodoinjava.com/spring-core/spring-beans-autowiring-concepts/

Exam Code: 2V0-72.22
Exam Name: Professional Develop VMware Spring
Last Update: Jul 01, 2026
Questions: 60

PDF (Q&A)

$45.99
ADD TO CART

VCE

$49.99
ADD TO CART

PDF + VCE

$59.99
ADD TO CART

Exam2Pass----The Most Reliable Exam Preparation Assistance

There are tens of thousands of certification exam dumps provided on the internet. And how to choose the most reliable one among them is the first problem one certification candidate should face. Exam2Pass provide a shot cut to pass the exam and get the certification. If you need help on any questions or any Exam2Pass exam PDF and VCE simulators, customer support team is ready to help at any time when required.

Home | Guarantee & Policy |  Privacy & Policy |  Terms & Conditions |  How to buy |  FAQs |  About Us |  Contact Us |  Demo |  Reviews

2026 Copyright @ exam2pass.com All trademarks are the property of their respective vendors. We are not associated with any of them.