Home > MCQs > IT & Programming > Spring Framework MCQs

Spring Framework MCQ

Spring Framework Quick Quiz

Question 1 of 10
  • What does 'wiring' the beans do?

    Answer & Explanation

    Correct Answer: Creates a referral to other beans.

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the of the following is not a wiring mode supported by Spring?

    Answer & Explanation

    Correct Answer: by property

    Note: This Question is unanswered, help us to find answer for this one

  • 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>

    Answer & Explanation

    Correct Answer: The <filter-name> value for the DelegatingFilterProxy must be "springSecurityFilterChain".

    Note: This Question is unanswered, help us to find answer for this one

  • What is the purpose of the SessionStatus.setComplete()?

    Answer & Explanation

    Correct Answer: Expires the session Data of a controller.

    Note: This Question is unanswered, help us to find answer for this one

  • How do you load values from property files?

    Answer & Explanation

    Correct Answer: ${parameter_name}

    Note: This Question is unanswered, help us to find answer for this one

  • How are authentication and authorization different?

    Answer & Explanation

    Correct Answer: Authentication is validating that users are who they claim to be. Authorization is granting access to specific resources and functions.

    Note: This Question is unanswered, help us to find answer for this one

  • A RowCallbackHandler has one method called?

    Answer & Explanation

    Correct Answer: processRow(ResultSet)

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following is a VALID Spring form taglib declaration?

    Answer & Explanation

    Correct Answer: <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

    Note: This Question is unanswered, help us to find answer for this one

  • What is AOP?

    Answer & Explanation

    Correct Answer: Aspect oriented programming

    Note: This Question is unanswered, help us to find answer for this one

  • Assuming username and password authentication is in place, what method on the Authentication object can be used to obtain the username?

    Answer & Explanation

    Correct Answer: GetPrincipal

    Note: This Question is unanswered, help us to find answer for this one

  • Spring Framework Quick Quiz

    battery

    Poor Results!

    You need a lot of improvement.

    Just don't give up!

    Correct Answers: 0/10

    Start Practicing with our MCQs given below.