Spring Framework Quiz # 3

Instructions
Quiz: Spring Framework Quiz # 3
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 # 3
Question 1 of 30
00:00
  • What does the @Valid as part of JSR-303 mean?

  • What is the role of the @PostConstruct and @PreDestroy annotations?

  • Which of the following is BAD practice, in general?

  • Which of the following best describes @Order annotation?

  • Which is an embedded database supported by Spring?

  • Which of the following is an advantage of using Spring's transaction management?

  • What is the default scope of a Spring bean?

  • In Spring MVC, what is responsible for handling HTTP requests and responses?

  • What are the different types of bean injection?

  • Exceptions thrown by the Spring DAO classes are subclasses of which?

  • True or False? Spring supports joda-time.

  • What is the @Valid annotation used for?

  • What does the ${...} placeholder usually signify?

  • If a Spring bean implements BeanFactoryAware, which method is called with the bean instance?

  • Spring's caching support does what?

  • Which of the following correctly describes JobLauncher?

  • Spring's JdbcTemplate is central class to interact with a database through JDBC. How can it be created?

  • How does Spring handle XML marshalling/unmarshalling?

  • Which of the following annotations can be used to declare a bean in Spring?

  • By default when singleton bean is instantiated?

  • How can you instantiate BeanFactory?

  • To enable MVC Java config, @EnableWebMvc should be used with which of following annotation?

  • Which of these is NOT a Spring Bean Scope?

  • Imagine I have multiple classes that have similar properties; what's a good way of handling this situation without copy/pasting the bean definitions?

  • True or False? Spring Integration is a part of the Spring framework you must use if you want to use beans.

  • True or False - @Inject is part of Spring Framework

  • Which of the following is NOT a method of using transactions in Spring?

  • Which if the most common scope for DAO beans?

  • Which of these is NOT a Spring annotation?

  • In "<property name="initialShapeSeed" value="#{ numberGuess.randomNumber }"/>", what is the name of the notation used to define the value of the property?

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