Free 2V0-72.22 Exam Braindumps
Professional Develop VMware Spring Questions 37–41 (page: 3)

Updated On: 1-Feb-2026

Which two options are valid optional attributes for Spring's @Transactional annotation? (Choose two.)

  1. isolation
  2. writeOnly
  3. nestedTransaction
  4. readWrite
  5. propagation

Answer(s): A,E


Reference:

https://learningviacode.blogspot.com/2012/10/attributes-in-springs-declarative.html



Which two statements are true about Spring Boot and Spring Data JPA? (Choose two.)

  1. @EntityScan and spring.jpa.* properties can be used to customize Spring Data JP
  2. Any kind of Hibernate property can be passed to Spring Data JPA like spring.jpa.properties.xxx.
  3. Spring Data JPA is the only implementation for relational databases.
  4. Scanning of JPA Entities can not be customized, the whole classpath is scanned.
  5. Embedded Databases (H2, HSQLDB, Derby) are not re-created during the startup.

Answer(s): C,E


Reference:

https://docs.spring.io/spring-boot/docs/1.5.14.RELEASE/reference/html/boot-features- sql.html



Refer to the exhibit.



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

  1. One AccountRepository bean will be instantiated since the default scope is singleton.
  2. Three AccountRepository beans will be instantiated as the accountRepository() method will be called three times.
  3. Many AccountRepository beans will be instantiated, depending how often accountRepository(), transferService() and accountService() are called.
  4. Two AccountRepository beans will be instantiated as the accountRepository() method will be called two times.

Answer(s): C



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.)

  1. A HelloService bean will be created from the helloService() method even if the HelloService.class is not in the classpath.
  2. A HelloService bean will be created from the helloService() method only when there is no other HelloService bean in the ApplicationContext.
  3. This auto-configuration class is used only when the HelloService.class is not on the classpath.
  4. This auto-configuration class is used only when the HelloService.class is on the classpath.
  5. A HelloService bean will be created from the helloService() method and will replace existing a HelloService bean in the ApplicationContext.

Answer(s): B,D



Refer to the exhibit.



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

  1. clientServiceImpl (starting with lowercase "c")
  2. clientServiceImpl (starting with uppercase "C")
  3. clientService (starting with lowercase "c")
  4. ClientService (starting with uppercase "C")

Answer(s): D



Viewing page 3 of 13
Viewing questions 11 - 15 out of 90 questions


Post your Comments and Discuss VMware 2V0-72.22 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!