SpringSource CoreSpringV3.2 Exam
Core-Spring (based on Spring 3.2) (Page 3 )

Updated On: 1-Feb-2026

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)

  1. There is only one transaction because the call to update2() is internal (it does not go through the proxy)
  2. There is only one transaction because REQUIRES_NEW runs into the active transaction if one already exists
  3. There are 2 transactions because REQUIRES_NEW always runs in a new transaction

Answer(s): A



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

  1. Use of the @Transactional annotation on each method which should be transactional
  2. Use of the @Transactional annotation on the Class of methods which should all be transactional
  3. Configuration in an XML configuration file using the Spring "tx" namespace
  4. Use of the Spring TransactionTemplate

Answer(s): D



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

  1. 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
  2. Supports a transaction if one already exists. Throws an exception if an active transaction does notexist.
  3. Always starts a new transaction. If an active transaction already exists, it is suspended
  4. Always executes without a transaction even if an active transaction exists. Throws an exeception if anactive transaction exists.

Answer(s): C



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

  1. Executes in a transaction if one already exists. If there is no transaction, it executes without a transaction context.
  2. Executes in a transaction if one already exists. Throws an exception if there is no active transaction.
  3. Executes in a nested transaction if an active transaction exists. If there is no transaction, it starts a new one.
  4. Executes in a transaction if one already exists. If there is no transaction, it starts a new one.

Answer(s): D



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

  1. Propagation behavior
  2. An isolation level
  3. A read-only flag
  4. All of the above

Answer(s): D



Viewing page 3 of 21
Viewing questions 11 - 15 out of 97 questions



Post your Comments and Discuss SpringSource CoreSpringV3.2 exam prep with other Community members:

Join the CoreSpringV3.2 Discussion