Free 2V0-72.22 Exam Braindumps (page: 3)

Page 2 of 16

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

  1. Access control can be configured at the method level.
  2. A special Java Authentication and Authorization Service (JAAS) policy file needs to be configured.
  3. Authentication data can be accessed using a variety of different mechanisms, including databases and LDAP.
  4. In the authorization configuration, the usage of permitAll () allows bypassing Spring security completely.
  5. It provides a strict implementation of the Java EE Security specification.

Answer(s): A,D


Reference:

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



Which two statements are true regarding a Spring Boot-based Spring MVC application? (Choose two.)

  1. The default embedded servlet container can be replaced with Undertow.
  2. Jetty is the default servlet container.
  3. Spring Boot starts up an embedded servlet container by default.
  4. The default port of the embedded servlet container is 8088.
  5. Spring MVC starts up an in-memory database by default.

Answer(s): B,C


Reference:

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



Which two statements are true regarding Spring and Spring Boot Testing? (Choose two.)

  1. EasyMock is supported out of the box.
  2. @SpringBootTest or @SpringJUnitConfig can be used for creating an ApplicationContext.
  3. Mockito spy is not supported in Spring Boot testing by default.
  4. The spring-test dependency provides annotations such as @Mock and @MockBean.
  5. Integration and slice testing are both supported.

Answer(s): C,D


Reference:

https://docs.spring.io/spring-boot/docs/2.1.5.RELEASE/reference/html/boot-features- testing.html



Refer to the exhibit.



Assume that the application is using Spring transaction management which uses Spring AOP internally.

Choose the statement that describes what is happening when the update1 method is called? (Choose the best answer.)

  1. There are 2 transactions because REQUIRES_NEW always runs in a new transaction.
  2. An exception is thrown as another transaction cannot be started within an existing transaction.
  3. There is only one transaction because REQUIRES_NEW will use an active transaction if one already exists.
  4. There is only one transaction initiated by update1() because the call to update2() does not go through the proxy.

Answer(s): D






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

2V0-72.22 Discussions & Posts