CoreSpringV3.2 Dumps CoreSpringV3.2 Braindumps CoreSpringV3.2 Real Questions CoreSpringV3.2 Practice Test CoreSpringV3.2 Actual Questions


killexams.com


SpringSource


CoreSpringV3.2


Core-Spring (based on Spring 3.2)


https://killexams.com/pass4sure/exam-detail/CoreSpringV3.2


QUESTION: 90

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)


  1. ROLE_USER

  2. ROLE_ADMIN

  3. Both ROLE_USER and ROLE_ADMIN

  4. No role is required


Answer: A


QUESTION: 91

Select which of the following is a mechanism which can be used with Spring Security to store user details (select one)


  1. Database

  2. LDAP

  3. Properties file

  4. All of the above


Answer: D


QUESTION: 92

What is the principal purpose of Spring's Security XML namespace? (Select one)


  1. To provide a mechanism for applying security to Spring Web Services

  2. To provide a schema for configuring Spring Security in a Spring XML configuration file

  3. To provide a mechanism for encrypting Spring Security XML configuration files

  4. To allow Spring Security to be applied to XHTML


Answer: B


QUESTION: 93

What is the principal purpose of Spring's Security tag library? (Select one)


  1. To provide a mechanism for applying security to Spring Web Services

  2. To allow certain URLs to be tagged as requiring secure access

  3. To provide functionality in JSP pages, such as hiding certain sections based on roles

  4. To allow Spring Security to be applied to XHTML


Answer: C


QUESTION: 94

Which of the following statements is true concerning configuring JMS Resources with Spring? (Select one)


  1. Spring cannot use a standalone JMS provider

  2. Spring can use the JMS resources provided by an application server

  3. The Connection Factory cannot be standalone

  4. The Connection Factory cannot be retrieved from JNDI


Answer: B


QUESTION: 95

Which of the following statement is true concerning Spring's JmsTemplate (select one)


  1. The JmsTemplate manages resources transparently (e.g. Connections, default Queue...)

  2. The JmsTemplate converts checked JMSExceptions to runtime equivalents

  3. The JmsTemplate provides convenience methods and callbacks

  4. All of the above


Answer: D


QUESTION: 96

Which of the following methods is NOT provided by the JmsTemplate? (select one)


  1. setDefaultDestination

  2. onMessage (asynchronous call)

  3. convertAndSend

  4. receiveAndConvert (synchronous call)


Answer: B


QUESTION: 97

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)


  1. Spring will automatically receive messages from the order.queue.destination

  2. The orderListener bean has to implement javax.jms.MessageListener or Spring's SessionAwareMessageListener interface

  3. The application needs to run in an application server that provides a JMS implementation out of the box

  4. Spring will automatically send a response message


Answer: A