Spring Framework Quiz # 2

Instructions
Quiz: Spring Framework Quiz # 2
Subject: Basic Spring Framework
Total Questions: 30 MCQs
Time: 30 Minutes

Note

  • Do not refresh the page while taking the test.
  • Results along with correct answers will be shown at the end of the test.
Spring Framework Quiz # 2
Question 1 of 30
00:00
  • How are mocks used in Spring?

  • What is the SpringJUnit4ClassRunner class used for?

  • What is NOT a way for beans to be defined?

  • How can you provide configuration metadata to the Spring container?

  • Which of these are types of IOC (dependency injection) ?

  • Which of the following ORM are supported in Spring

  • Spring Security currently supports authentication integration with which of the following technology

  • True or False? Spring provides an abstraction over JMS.

  • True or False? Spring supports lookup via JNDI.

  • Which of the following is true when creating a custom login form for applications using Spring Security?

  • What is bean wiring?

  • Transaction MUST follow which of the following properties?

  • Which of the following statements are true about Spring Testing Support?

  • What is the difference between Bean Factory and Application Context?

  • Which of the following is NOT a HTTP operation?

  • What are the supported scopes in Hibernate?

  • What are the different points where weaving can be applied?

  • The transaction attribute supported by Spring includes:

  • Which of the following are Autowire types?

  • What is the name of the central servlet which is part of Spring?

  • What are the most used classes in Spring DAO?

  • Which of the following statements is correct about Spring MVC:

  • which one of the following is the correct sequence of how a normal view request is handled in a web application using Spring MVC: 1. Request: A request is submitted to the server. 2. Invokes: The dispatcher dispatches the request to the appropriate controller based on the HTTP request information and the web application configuration. 3. Service Call: The controller interacts with the service layer. 4. Response: The controller updates the model and, based on the execution result, returns the corresponding view to the user.

  • Which is the most popular way of interfacing with Spring's JDBC support?

  • What's the relationship between Spring and Maven?

  • Which of the following concrete implementation, by default, handles the request 'first' when it is sent to a Spring MVC Framework?

  • Which one of the following annotation can be used to inject dependencies a) @Inject b) @Entity c) @Valid d) @Autowire

  • How could you inject using a factory method ?

  • In Spring, singleton means only one instance per _____.

  • How do you load values from property files?

Liked this quiz? Share it with friends:

Spring Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

Spring Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it