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 81:

    What is the primary purpose of bean definition inheritance? (Select one or several answers)

    A. To configure Java class inheritance dynamically within the XML bean definition file

    B. To reduce the amount of configuration required by inheriting properties from other bean definitions

    C. To allow Spring beans to be created on the fly from classes declared as abstract

    D. To simplify configuration by allowing multiple properties files to be loaded in a hierarchy to specify bean properties

  • Question 82:

    Two beans of type MyBean are defined in the ApplicationContext with singleton scope, with ids "myBean1" and "myBean2". The getBean() method is called once for each bean. Which statement is true about the two references returned? (Select one)

    A. The two references refer to different instances of the same type

    B. Both references refer to the same bean instance

    C. One of the references will be null

    D. A RuntimeException will be thrown when the ApplicationContext is initialized

  • Question 83:

    Using Spring AOP, which of the following Spring annotations cause behavior to be added (select one)

    A. @Secured

    B. @Transactional

    C. Both a and b

    D. Neither a or b

  • Question 84:

    Which of the following statements about the @PostConstruct annotation is NOT true? (select one)

    A. It is a JSR-250 standard Java annotation

    B. There are no restrictions on method name or visibility of a method which can be annotated with @PostConstruct

    C. It can be enabled using the tag

    D. It is called before setter injection

  • Question 85:

    You want to externalize constants from your Spring XML configuration file into a .properties file to your Spring beans. Which mechanism could you use? (select one)

    A. Use a PropertyEditor

    B. Use a PropertyPlaceholderConfigurer

    C. Use

    D. Use a BeanPostProcessor

  • Question 86:

    Identify which statement indicates potential advantages of using Spring's Dependency Injection (select one)

    A. Dependencies between application components can be managed external to the components themselves

    B. Configuration can be externalized and centralized in a small set of files

    C. Integration testing is made easier because different components used for testing can easily be injected

    D. All of the above

  • Question 87:

    Which of the following statements about the BeanFactoryPostProcessor are true? (select one or several answers)

    A. Allows for the transformation of Spring bean definitions before the beans are instantiated

    B. Allows for the transformation of Spring beans after the beans have been instantiated

    C. Detects annotations such as @PostConstruct and @PreDestroy and then invokes appropriate behavior

    D. The tag causes a BeanFactoryPostProcessor to be created

  • Question 88:

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

    A. Enabling component-scanning

    B. Enabling the use of the @Transactional annotation

    C. Enabling the use of the @Required, @PreDestroy and @PostConstruct annotations

    D. Enabling the use of the @Around annotation

  • Question 89:

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

    A. The ApplicationContext eagerly instantiates all singleton beans by default

    B. There are many different implementation classes which all implement the ApplicationContext interface

    C. When available, the close() method will cause any registered bean destruction code to be invoked

    D. In a JUnit test using Spring support (with @ContextConfiguration annotation), it is necessary to close the ApplicationContext manually

  • Question 90:

    Consider the following code sample which creates an ApplicationContext from a file called "applicationconfig.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:test-infra-config.xml"); Which of those statements is true? (select one)

    A. The use of the "file" prefix is not necessary

    B. The use of the "classpath" prefix is not necessary

    C. The use of the "." separator is correct

    D. Both a and b

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.