SpringSource Core-Spring (based on Spring 3.2) Sample Questions:
1. Which statement is NOT a characteristic of Spring's PlatformTransactionManager base interface (select one)
A) PlatformTransactionManager is used in both declarative and programmatic transaction management
B) There are various implementations of JTA transaction managers for different Java EE containers
C) When declaring a PlatformTransactionManager implementation inside Spring configuration: as a requirement, the bean id should be "transactionManager"
D) The PlatformTransactionManager interface abstracts the differences between local and JTA transactions
2. Which of the following statements about Spring @MVC is NOT true (select one)
A) The DispatcherServlet, controller beans and other collaborators are all defined and configured in web.xml
B) Data can be passed from the controller to the view by use of the special Model parameter
C) Classes annotated with @Controller annotation can be detected by component scanning and loaded as Spring beans
D) Controllers are typically able to delegate to business methods in an application because a reference to a service bean can be injected into the controller
3. Security filters are used in Spring Security in which ways? (select one)
A) To provide a logout capability
B) All of the above
C) To drive authentication
D) To enforce authorization of web requests
4. Which of the following protocols is NOT supported by Spring Remoting? (select one)
A) CORBA
B) HttpInvoker
C) RMI
5. Spring's RMI Service Exporter provides which of the following services? (select one)
A) Avoids the service interface having to extend Remote
B) Transparently exposes an existing POJO service to the RMI registry
C) Exposes services that can be accessed via plain RMI
D) All of the above
Solutions:
Question # 1 Answer: C | Question # 2 Answer: A | Question # 3 Answer: B | Question # 4 Answer: A | Question # 5 Answer: D |