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 options will inject the value of the daily.limit system property? (Choose two.)

A. @Value("#{daily.limit}")

B. @Value("$(systemProperties.daily.limit)")

C. @Value("$(daily.limit)")

D. @Value("#{systemProperties[`daily.limit']}")

E. @Value("#{systemProperties.daily.limit}")

Buy Now

Correct Answer: BD

Questions 5

Which two options are REST principles? (Choose two.)

A. RESTful applications use a stateless architecture.

B. RESTful application use HTTP headers and status codes as a contract with the clients.

C. RESTful applications cannot use caching.

D. RESTful application servers keep track of the client state.

E. RESTful applications favor tight coupling between the clients and the servers.

Buy Now

Correct Answer: AB

Questions 6

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 7

Which three dependencies are provided by the spring-boot-starter-test? (Choose three.)

A. Cucumber

B. Hamcrest

C. spring-test

D. Junit

E. EasyMock

F. PowerMock

Buy Now

Correct Answer: BDE

Reference: https://www.baeldung.com/spring-boot-testing

Questions 8

Which two statements are correct regarding the @EnableAutoConfiguration annotation? (Choose two.)

A. It is a meta-annotation on the @SpringBootApplication composed annotation.

B. It enables auto-configuration of the ApplicationContext by attempting to guess necessary beans.

C. It is meta-annotation on the @SpringBootConfiguration composed annotation.

D. It has the same effect regardless of the package of the class that is annotated with it.

E. It ensures auto-configuration is applied before user-defined beans have been registered.

Buy Now

Correct Answer: AD

Reference: https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/autoconfigure/ EnableAutoConfiguration.html

Questions 9

Which two statements are correct when @SpringBootApplication is annotated on a class? (Choose two.)

A. It causes Spring Boot to enable auto-configuration by default.

B. Component scanning will start from the package of the class.

C. All other annotations on the class will be ignored.

D. Methods in the class annotated with @Bean will be ignored.

E. A separate ApplicationContext will be created for each class annotated with @SpringBootApplication.

Buy Now

Correct Answer: AE

Reference: https://www.journaldev.com/21556/springbootapplication-springapplication

Questions 10

Refer to the exhibit.

Based on the default Spring behavior, choose the correct answer. (Choose the best answer.)

A. One AccountRepository bean will be instantiated since the default scope is singleton.

B. Three AccountRepository beans will be instantiated as the accountRepository() method will be called three times.

C. Many AccountRepository beans will be instantiated, depending how often accountRepository(), transferService() and accountService() are called.

D. Two AccountRepository beans will be instantiated as the accountRepository() method will be called two times.

Buy Now

Correct Answer: C

Questions 11

Refer to the exhibit.

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

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

Correct Answer: BD

Questions 12

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 13

What two options are auto-configured Spring Boot Actuator HealthIndicators? (Choose two.)

A. DataSourceHealthIndicator

B. GoogleCloudDataStoreHealthIndicator

C. DynamoDBHealthIndicator

D. RabbitHealthIndicator

E. OktaHealthIndicator

Buy Now

Correct Answer: AD

Reference: https://docs.spring.io/spring-boot/docs/1.5.x/reference/html/production-ready-endpoints.html

Exam Code: 2V0-72.22
Exam Name: Professional Develop VMware Spring
Last Update: Jun 13, 2025
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

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