CoreSpringV3.2 Dumps CoreSpringV3.2 Braindumps CoreSpringV3.2 Real Questions CoreSpringV3.2 Practice Test CoreSpringV3.2 Actual Questions
killexams.com
Core-Spring (based on Spring 3.2)
https://killexams.com/pass4sure/exam-detail/CoreSpringV3.2
Consider the following Spring Security configuration
<security:http>
<security:intercept-url pattern="/accounts/*" access="ROLE_USER" />
<security:intercept-url pattern="/accounts/editAccount.htm" access="ROLE_ADMIN" />
</<security:http>
In order to access to "/accounts/editAccount.htm", what role is required? (select one)
ROLE_USER
ROLE_ADMIN
Both ROLE_USER and ROLE_ADMIN
No role is required
Select which of the following is a mechanism which can be used with Spring Security to store user details (select one)
Database
LDAP
Properties file
All of the above
What is the principal purpose of Spring's Security XML namespace? (Select one)
To provide a mechanism for applying security to Spring Web Services
To provide a schema for configuring Spring Security in a Spring XML configuration file
To provide a mechanism for encrypting Spring Security XML configuration files
To allow Spring Security to be applied to XHTML
What is the principal purpose of Spring's Security tag library? (Select one)
To provide a mechanism for applying security to Spring Web Services
To allow certain URLs to be tagged as requiring secure access
To provide functionality in JSP pages, such as hiding certain sections based on roles
To allow Spring Security to be applied to XHTML
Which of the following statements is true concerning configuring JMS Resources with Spring? (Select one)
Spring cannot use a standalone JMS provider
Spring can use the JMS resources provided by an application server
The Connection Factory cannot be standalone
The Connection Factory cannot be retrieved from JNDI
Which of the following statement is true concerning Spring's JmsTemplate (select one)
The JmsTemplate manages resources transparently (e.g. Connections, default Queue...)
The JmsTemplate converts checked JMSExceptions to runtime equivalents
The JmsTemplate provides convenience methods and callbacks
All of the above
Which of the following methods is NOT provided by the JmsTemplate? (select one)
setDefaultDestination
onMessage (asynchronous call)
convertAndSend
receiveAndConvert (synchronous call)
Consider the following Spring JMS configuration
<jms:listener-container connection-factory="connectionFactory">
<jms:listener destination="order.queue" ref="orderListener" method="order"/>
</jms:listener-container>
Which of the following statements is truE. (select one)
Spring will automatically receive messages from the order.queue.destination
The orderListener bean has to implement javax.jms.MessageListener or Spring's SessionAwareMessageListener interface
The application needs to run in an application server that provides a JMS implementation out of the box
Spring will automatically send a response message