Q1. Which two statements are true about Spring AOP? (Choose two.)
A.The @After advice type is invoked regardless of whether a method successfully returned or an exception was thrown.
B. In Spring AOP, a join point represents a method execution or property access.
C. In Spring AOP, a join point represents a method execution or property access.
D. Examples of cross-cutting concerns include security, caching, transaction.
E. There are in total 4 types of advice, @Before, @After, @AfterReturning and @AfterThrowing.
Correct Answer: A, D
Q2. Which two statements describe the ApplicationContext correctly? (Choose two.)
A.The ApplicationContext is the root interface for accessing the Spring container.
B. The ApplicationContext lazy initializes beans by default.
C. The ApplicationContext can be created in a test environment, web application, and in a standalone application.
D. The ApplicationContext does not include all functionality of the BeanFactory.
E. The ApplicationContext maintains singleton beans that are instantiated by the Spring runtime.
Correct Answer: A, C
Q3. 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.
Correct Answer: A, D
$ 39
Reviews
There are no reviews yet.