CoreSpringV3.2 MCQs and Practice Test


CoreSpringV3.2 MCQs CoreSpringV3.2 TestPrep CoreSpringV3.2 Study Guide CoreSpringV3.2 Practice Test CoreSpringV3.2 Exam Questions


killexams.com


SpringSource


CoreSpringV3.2


Core-Spring (based on Spring 3.2)


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

Download PDF for 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


KILLEXAMS.COM


Killexams.com is a leading online platform specializing in high-quality certification exam preparation. Offering a robust suite of tools, including MCQs, practice tests, and advanced test engines, Killexams.com empowers candidates to excel in their certification exams. Discover the key features that make Killexams.com the go-to choice for exam success.



Exam Questions:

Killexams.com provides exam questions that are experienced in test centers. These questions are updated regularly to ensure they are up-to-date and relevant to the latest exam syllabus. By studying these questions, candidates can familiarize themselves with the content and format of the real exam.


Exam MCQs:

Killexams.com offers exam MCQs in PDF format. These questions contain a comprehensive

collection of questions and answers that cover the exam topics. By using these MCQs, candidate can enhance their knowledge and improve their chances of success in the certification exam.


Practice Test:

Killexams.com provides practice test through their desktop test engine and online test engine. These practice tests simulate the real exam environment and help candidates assess their readiness for the actual exam. The practice test cover a wide range of questions and enable candidates to identify their strengths and weaknesses.


Guaranteed Success:

Killexams.com offers a success guarantee with the exam MCQs. Killexams claim that by using this materials, candidates will pass their exams on the first attempt or they will get refund for the purchase price. This guarantee provides assurance and confidence to individuals preparing for certification exam.


Updated Contents:

Killexams.com regularly updates its question bank of MCQs to ensure that they are current and reflect the latest changes in the exam syllabus. This helps candidates stay up-to-date with the exam content and increases their chances of success.

Back to Home