Spring Framework Quiz # 5

Instructions
Quiz: Spring Framework Quiz # 5
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 # 5
Question 1 of 30
00:00
  • Which of the following object hold the information of principal currently using the application?

  • Which one of the following statements is NOT true about the following configuration in security.xml <http ...> … <form-login login-page="/login/form" login-processing-url="/login" username-parameter="username" password-parameter="password" authentication-failure-url="/login/form?error"/> </http>

  • Which of the following correctly describes TestContextManager of Spring TestContext Framework?

  • Which is NOT a valid way of injecting a Collection in Spring?

  • Which of the following Design Patterns is the common solution for the duplicated form submission problem in Spring MVC?

  • Which of the following is NOT true about Spring Web Services?

  • Which one of the following statements is NOT true about Spring testing annotation?

  • How do you declare a destroy method in a Spring bean?

  • Which of the following is NOT a way to use Spring Web MVC's asynchronous request processing?

  • Which of the following is NOT a valid spring framework module?

  • Which view technologies does Spring Web MVC NOT support out of the box?

  • Which one of the following statements is NOT true about the Application Context.

  • Which of the following utility classes provides functionality to set a non-public field or invoke a non-public setter method when testing application code?

  • Which one of the following statements is NOT true about the following code: @Service("jpaStudentService") @Repository @Transactional public class StudentServiceImpl implements StudentService { private Log log = LogFactory.getLog(StudentServiceImpl.class); @PersistenceContext private EntityManager em; // Other code omitted }

  • What are benefits of transactions for Hibernate?

  • BeanFactory is a popular way to wire beans in Spring, which is a correct way of creating a BeanFactory?

  • Which one of the following statements is NOT true about @Transactional attributes

  • Which of the following is NOT true about Spring transaction management?

  • How do you specify outgoing HTTP content-type?

  • How do you specify the incoming HTTP content-type?

  • Which of the following identify the application-wide permissions available to a principal?

  • Which of the following best describes the utility of @RunWith(SpringJUnit4ClassRunner.class)?

  • What is the @BeforeTransaction annotation used for?

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

  • If you don't want a method to be enlisted in a transaction at all, what type of attribute can be used?

  • Which of the following is not a VALID mode of autowiring

  • Which of the following is FIRST step in user authentication process?

  • How can we create a PreparedStatementCreator?

  • Which of the following are valid approaches for integration Struts with Spring?

  • A RowCallbackHandler has one method called?

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