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
    :

SpringSource SpringSource Certification Program CORESPRINGV3.2 Questions & Answers

  • Question 91:

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

    A. A FactoryBean can be used to generate Spring beans of any type

    B. The Spring configuration will ALWAYS inject the instance of the FactoryBean implementation

    C. FactoryBean is a Spring interface

    D. Factory objects used in Spring do not necessarily have to implement the FactoryBean interface

  • Question 92:

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

    A. Scalar values cannot be injected into setters or constructors with primitive type parameters

    B. Spring performs automatic type conversion for certain data types, such as String to int

    C. In XML Spring configuration, you can inject scalar values using the ref attribute of the tag

    D. All of the above

  • Question 93:

    Consider the following complete configuration sample:

    Which of the following statements is true? (Select one)

    A. This configuration is correct

    B. This configuration is not valid because the first bean should have an id. Its value should be "rewardNetwork".

    C. This configuration is not valid because the second bean should have an id. Its value should be "accountRepository".

    D. Both (b) and (c)

  • Question 94:

    Select which statement is true with respect to constructor injection with Spring (select one)

    A. Multiple parameters can be dependency injected into a constructor

    B. Using XML configuration, the constructor-arg element may be omitted if the constructor requires a single parameter

    C. One single bean cannot mix constructor injection with setter injection

    D. All of the above

  • Question 95:

    Which of the following scenarios requires you to instantiate an ApplicationContext using the `new' keyword? (Select one)

    A. Running your Spring application inside a JUnit test (using SpringJUnit4ClassRunner)

    B. Bootstrapping your Spring application within a Java main() method

    C. Deploying your Spring application in an application server, packaged in a WAR file

    D. Both a and b

  • Question 96:

    Consider the following class:

    public class LegacySingleton {

    private LegacySingleton(){}

    public static LegacySingleton getAServiceInstance() {

    return new LegacySingleton();

    }

    }

    How can a bean of type LegacySingleton be created (using XML configuration)? (select one)

    A. It is not possible, the constructor must be public

    B. Use the factory-method attribute on the tag

    C. Use the init-method attribute on the tag

    D. Use autowiring

  • Question 97:

    Select which statement(s) is/are true with respect to programming to interfaces with Spring

    A. The use of interfaces allows for reduced coupling between collaborating objects

    B. Spring requires all beans to implement interfaces

    C. Spring requires that parameters in constructors and setters are defined using interface types

    D. Spring requires all beans to have an empty constructor (either default or declared)

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.