Select which of the following is a mechanism which can be used with Spring Security to store user details (select one)
A. All of the above
B. Database
C. Properties file
D. LDAP
正解:A
質問 2:
Which of the following statements best describes the After Throwing advice type? (select one)
A. The advice is executed after a method invocation throws an exception
B. The advice is designed to allow exceptions thrown from a join point to be caught and prevented from propagating up the stack
C. The advice is invoked only if the method returns successfully
D. Custom processing can be performed before a join point executes
正解:A
質問 3:
Which of the following statements best describes the benefits of using the Spring Framework with respect to unit testing? (Select one)
A. The Spring Framework encourages you to program to interfaces which makes it easier to stub or mock out dependencies in your code
B. All of the above
C. The extensive runtime checks performed by the ApplicationContext when it initializes make traditional unit testing less important
D. Your Java code typically has dependencies on Spring Framework classes which are designed to make the job of unit testing easier
正解:A
質問 4:
What is the primary purpose of bean definition inheritance? (Select one or several answers)
A. To reduce the amount of configuration required by inheriting properties from other bean definitions
B. To simplify configuration by allowing multiple properties files to be loaded in a hierarchy to specify bean properties
C. To allow Spring beans to be created on the fly from classes declared as abstract
D. To configure Java class inheritance dynamically within the XML bean definition file
正解:A
質問 5:
Which statement concerning Aspect Oriented Programming (AOP) is true (Select one)
A. Spring AOP implements aspects using the Proxy pattern
B. All of the above
C. Three of the advice types are "before", "after" and "around"
D. AOP modularizes cross-cutting concerns
正解:B
質問 6:
Which of the following statements about Spring's JUnit integration testing support is true? (select one)
A. All of the above
B. You can indicate which XML configuration files the test class will use to create the ApplicationContext
C. To obtain references to the Spring bean(s) you want to test, you need to call getBean() on the ApplicationContext provided
D. A new ApplicationContext is initialized and created for each test method
正解:B
質問 7:
Spring's RMI Service Exporter provides which of the following services? (select one)
A. All of the above
B. Exposes services that can be accessed via plain RMI
C. Avoids the service interface having to extend Remote
D. Transparently exposes an existing POJO service to the RMI registry
正解:A
質問 8:
Assuming a web application context name of "rewardsonline", a servlet mapping of "/admin/*", and an incoming URL of "/rewarsdonline/admin/accounts/show", what is the URL used for Spring MVC request-mapping purposes? (select one)
A. /accounts/show
B. /rewardsonline/admin/accounts/show
C. /show
D. /admin/acounts/show
正解:A
河井** -
前回の試験では及ばず落ちましが4月の試験でPass4Testのこの問題集を購入して今回合格出来ました。