Exam Details

  • Exam Code
    :CORESPRINGV3.2
  • Exam Name
    :Core-Spring (based on Spring 3.2)
  • Certification
    :SpringSource Certification Program
  • Vendor
    :SpringSource
  • Total Questions
    :97 Q&As
  • Last Updated
    :May 14, 2024

SpringSource SpringSource Certification Program CORESPRINGV3.2 Questions & Answers

  • Question 31:

    Consider that all Spring beans have been declared within a package called "com.springsource.service". To enable component scanning one must do the following:

    A. Nothing (component scanning is enabled by default)

    B. Add to your XML configuration

    C. Add to your XML configuration

    D. Remove all other bean definitions from the XML configuration

  • Question 32:

    public class ClientServiceImpl implements ClientService {

    @Transactional(propagation=Propagation.REQUIRED)

    public void update1() {

    update2();

    }

    @Transactional(propagation=Propagation.REQUIRES_NEW)

    public void update2() { // ... }

    }

    You are using transactions with Spring AOP. What is happening when the update1 method is called?

    (Select one)

    A. There is only one transaction because the call to update2() is internal (it does not go through the proxy)

    B. There is only one transaction because REQUIRES_NEW runs into the active transaction if one already exists

    C. There are 2 transactions because REQUIRES_NEW always runs in a new transaction

  • Question 33:

    Which of the following is the correct mechanism for using programmatic transactions in Spring? (Select one)

    A. Use of the @Transactional annotation on each method which should be transactional

    B. Use of the @Transactional annotation on the Class of methods which should all be transactional

    C. Configuration in an XML configuration file using the Spring "tx" namespace

    D. Use of the Spring TransactionTemplate

  • Question 34:

    If the propagation behavior is Propagation.REQUIRES_NEW, choose the statement which describes the propagation behavior (select one)

    A. Runs in a nested transaction if an active transaction exists. If an active transaction does not exist, the transaction behaves as if Propagation.REQUIRED is set

    B. Supports a transaction if one already exists. Throws an exception if an active transaction does not exist.

    C. Always starts a new transaction. If an active transaction already exists, it is suspended

    D. Always executes without a transaction even if an active transaction exists. Throws an exeception if an active transaction exists.

  • Question 35:

    If the propagation behavior is Propagation.REQUIRED, choose the statement which describes the propagation behavior (select one)

    A. Executes in a transaction if one already exists. If there is no transaction, it executes without a transaction context.

    B. Executes in a transaction if one already exists. Throws an exception if there is no active transaction.

    C. Executes in a nested transaction if an active transaction exists. If there is no transaction, it starts a new one.

    D. Executes in a transaction if one already exists. If there is no transaction, it starts a new one.

  • Question 36:

    Which of the following is a valid optional attribute for a transaction definition? (select one)

    A. Propagation behavior

    B. An isolation level

    C. A read-only flag

    D. All of the above

  • Question 37:

    Which of the following statement(s) is/are true concerning Spring Transactions? (Select one or several answers)

    A. Spring only provides support for declarative transaction management, there is no programmatic support

    B. Spring provides declarative transactions only using XML

    C. An AOP pointcut can be used to define which methods to advise for transactions

    D. Spring's tx namespace enables a concise definition of transactional advice

  • Question 38:

    Which statement is NOT a characteristic of Spring's PlatformTransactionManager base interface (select one)

    A. When declaring a PlatformTransactionManager implementation inside Spring configuration: as a requirement, the bean id should be "transactionManager"

    B. The PlatformTransactionManager interface abstracts the differences between local and JTA transactions

    C. There are various implementations of JTA transaction managers for different Java EE containers

    D. PlatformTransactionManager is used in both declarative and programmatic transaction management

  • Question 39:

    Which of the following statements is NOT a characteristic of Spring Transaction Management? (Select one)

    A. It abstracts the differences between local and JTA transactions

    B. It simplifies migration to distributed transactions

    C. The use of JTA transactions is a requirement

    D. Both declarative and programmatic transaction management is supported

  • Question 40:

    Which of the following statements is true with respect to Spring's support for Object-Relational Mapping (ORM) libraries (select one)

    A. Spring supports management of Hibernate Sessions or JPA PersistenceContexts in combination with local transactions

    B. Spring provides support for translating exceptions thrown from ORM libraries into Spring's own exception hierarchy

    C. Spring provides FactoryBeans to configure each of the supported ORM libraries

    D. All of the above is true

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only SpringSource exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your CORESPRINGV3.2 exam preparations and SpringSource certification application, do not hesitate to visit our Vcedump.com to find your solutions here.