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

Updated On: 9-Mar-2026

When injecting scalar/literal values into Spring beans, which of the following statements is true?
(select one)

  1. Scalar values cannot be injected into setters or constructors with primitive type parameters
  2. Spring performs automatic type conversion for certain data types, such as String to int
  3. In XML Spring configuration, you can inject scalar values using the ref attribute of the <property
    /> tag
  4. All of the above

Answer(s): B



Which of the following statements about the FactoryBean interface is NOT true? (select one)

  1. A FactoryBean can be used to generate Spring beans of any type
  2. The Spring configuration <property name="someValue" ref="myFactoryBeanImpl"/> will
    ALWAYS inject the instance of the FactoryBean implementation
  3. FactoryBean is a Spring interface
  4. Factory objects used in Spring do not necessarily have to implement the FactoryBean interface

Answer(s): B



Consider the following code sample which creates an ApplicationContext from a file called "application-config.xml" in the "rewards.internal" package, and a file called test-infra-config.xml in the current folder:

ApplicationContext context = new
FileSystemXmlApplicationContext("classpath:rewards.internal.application-config.xml", "file:testinfra-config.xml");

Which of those statements is true? (select one)

  1. The use of the "file" prefix is not necessary
  2. The use of the "classpath" prefix is not necessary
  3. The use of the "." separator is correct
  4. Both a and b

Answer(s): A



Which of the following statements is NOT true with respect to Spring's ApplicationContext? (select one)

  1. The ApplicationContext eagerly instantiates all singleton beans by default
  2. There are many different implementation classes which all implement the ApplicationContext interface
  3. When available, the close() method will cause any registered bean destruction code to be invoked
  4. In a JUnit test using Spring support (with @ContextConfiguration annotation), it is necessary to close the ApplicationContext manually

Answer(s): D



Select which of the following configuration tasks would be implemented using Spring's XML
"context" namespace (select one or several answers)

  1. Enabling component-scanning
  2. Enabling the use of the @Transactional annotation
  3. Enabling the use of the @Required, @PreDestroy and @PostConstruct annotations
  4. Enabling the use of the @Around annotation

Answer(s): A,C



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



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

CoreSpringV3.2 Exam Discussions & Posts

AI Tutor