If a class is annotated with @Component, what should be done to have Spring automatically detect
the annotated class and load it as a bean? (Choose the best answer.)
A
Explanation:
Reference:
https://www.baeldung.com/spring-component-annotation
Which two options will inject the value of the daily.limit system property? (Choose two.)
BD
Which two options are REST principles? (Choose two.)
AB
Which option is true about use of mocks in a Spring Boot web slice test? (Choose the best answer.)
A
Explanation:
Reference:
https://tanzu.vmware.com/developer/guides/spring-boot-testing/
Which two statements are true regarding Spring Security? (Choose two.)
AD
Explanation:
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.)
BC
Explanation:
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.)
CD
Explanation:
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.)
D
Which two statements are true concerning constructor injection? (Choose two.)
CE
Given an ApplicationContext containing three bean definitions of type Foo with bean ids foo1, foo2,
and foo3, which three @Autowired scenarios are valid and will allow the ApplicationContext to
initialize successfully? (Choose three.)
ADF