Spring Framework Quiz # 7

Instructions
Quiz: Spring Framework Quiz # 7
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 # 7
Question 1 of 30
00:00
  • Which of the following development styles are supported by Spring WS?

  • Which of the following is NOT a filter type in <context:component-scan> element?

  • When are proxies generated in the Spring lifecycle?

  • Which one of the following statements is true about the following configuration in web.xml: <filter> <filter-name>springSecurityFilterChain</filter-name> <filter-class> org.springframework.web.filter.DelegatingFilterProxy </filter-class> </filter> <filter-mapping> <filter-name>springSecurityFilterChain</filter-name> <url-pattern>/myapplication/*</url-pattern> </filter-mapping>

  • How can you find out about the current content when an aspect is invoked?

  • Which the following statements is true about Spring validation?

  • When detecting a Device device in a @Controller in Spring MVC, which of these is NOT supported?

  • Which of these is correct when creating an ApplicationContext?

  • How filters are used in Spring Web?

  • How is a resource defined in the context of a REST service?

  • Which of these is a valid Advice annotation?

  • What does a ViewResolver do?

  • How are Spring Data repositories implemented by Spring at runtime?

  • What is SpEL and how is it used in Spring?

  • The process of linking aspects with other objects to create an advised object is called

  • How are JDK Dynamic proxies and CGLIB proxies used in Spring?

  • Which of these is not a valid method on the JoinPoint interface?

  • In what order do the @PostConstruct annotated method, the init-method parameter method on beans and the afterPropertiesSet() method execute?

  • What is the function of the @Transactional annotation at the class level?

  • What is the root interface for accessing a Spring bean container?

  • Which annotation can be used within Spring Security to apply method level security?

  • What is the purpose of the @Lazy annotation and why would you use it?

  • What is dependency injection?

  • What is a RESTful web service?

  • What happens when a class is annotated with the @Controller annotation?

  • Which property can be used to change the port of a Spring application?

  • What is the purpose of the @ResponseBody annotation?

  • How are mocking frameworks such as Mockito used with Spring?

  • What is the name of the central servlet that dispatches requests to controllers?

  • What is the purpose of the Spring IoC (Inversion of Control) container?

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