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