Online Spring Test

10 Questions | Attempts: 910
Share

SettingsSettingsSettings
Online Spring Test - Quiz

Spring framework is an open source Java platform. It is also an application framework for Java platform. Having a detailed knowledge of Spring framework is very nice. Take this quiz, it's for you. Good Luck!


Questions and Answers
  • 1. 

    The technology that Spring is most identified with is

    • A.

      Transaction Management Interface

    • B.

      Dependency Injection

    • C.

      Aspect Oriented Programming

    • D.

      JavaBeanstyle POJOs

    Correct Answer
    B. Dependency Injection
  • 2. 

    In Spring framework, which of the following is not a content of the core container? 

    • A.

      Beans

    • B.

      Core

    • C.

      JMS

    • D.

      Context

    Correct Answer
    C. JMS
  • 3. 

    Which of the following modules supports programmatic and declarative transaction management for classes that implement special interfaces and for all your POJOs?

    • A.

      Transaction module

    • B.

      ORM module

    • C.

      OXM module

    • D.

      JDBC module

    Correct Answer
    A. Transaction module
  • 4. 

    The module that provides basic web-oriented integration features is

    • A.

      Web-Portlet module

    • B.

      Web-MVC module

    • C.

      Web-Socket module

    • D.

      Web module

    Correct Answer
    D. Web module
  • 5. 

    The design pattern that allows you to remove the hard-coded dependencies and makes your application loosely coupled, extendable and maintainable is

    • A.

      Spring Tool Suite

    • B.

      Spring Dependency Injection

    • C.

      Spring Modules

    • D.

      Spring Bean

    Correct Answer
    B. Spring Dependency Injection
  • 6. 

    The Global-session scope does what? 

    • A.

      Scopes the bean definition to HTTP Session

    • B.

      Scopes the bean definition to Spring IoC container

    • C.

      Scopes the bean definition to HTTP Application or Global session

    • D.

      Scopes the bean definition to HTTP request

    Correct Answer
    C. Scopes the bean definition to HTTP Application or Global session
  • 7. 

    Which of the following database is not supported using jdbcTemplate?

    • A.

      Oracle

    • B.

      MySql

    • C.

      PostgresSql

    • D.

      NoSql

    Correct Answer
    D. NoSql
  • 8. 

    Where can DispatcherServlet be defined? 

    • A.

      In web.xml file

    • B.

      In Beans configuration file

    • C.

      Web-inf/dispatcher.xml

    • D.

      Meta-inf/dispatcher.xml

    Correct Answer
    A. In web.xml file
  • 9. 

     How can you handle the shut down of IoC container?

    • A.

      Using shutdownHook()

    • B.

      Using shutdownHandler()

    • C.

      Using registerShutdownHook()

    • D.

      Using registerHook()

    Correct Answer
    C. Using registerShutdownHook()
  • 10. 

    Which of the following stands true for spring beans?

    • A.

      Spring beans are simple POJOs

    • B.

      Spring beans are managed by IoC container

    • C.

      Spring beans are instantiated and assembled

    • D.

      All of the above

    Correct Answer
    D. All of the above

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 13, 2018
    Quiz Edited by
    ProProfs Editorial Team
  • Feb 25, 2018
    Quiz Created by
    Stephanie Young
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.