Explore topic-wise MCQs in Spring.

This section includes 20 Mcqs, each offering curated multiple-choice questions to sharpen your Spring knowledge and support exam preparation. Choose a topic below to get started.

1.

You have to register a flow execution listener in the flow executor.

A. True
B. False
Answer» B. False
2.

To configure JPA vendor-specific information.

A. JPA vendor adaptor
B. Data source
C. All of the mentioned
D. None of the mentioned
Answer» D. None of the mentioned
3.

JpaFlowExecutionListener and Hibernate Listener binds to flow scope.

A. True
B. False
Answer» B. False
4.

To integrate Hibernate with Spring Web flows.

A. JpaFlowExecutionListener
B. HibernateFlowExecutionListener
C. All of the mentioned
D. None of the mentioned
Answer» C. All of the mentioned
5.

To integrate JPA with Spring Web flows.

A. JpaFlowExecutionListener
B. HibernateFlowExecutionListener
C. All of the mentioned
D. None of the mentioned
Answer» B. HibernateFlowExecutionListener
6.

Spring web flow supports integration with.

A. JSF
B. Hibernate
C. JPA
D. All of the mentioned
Answer» E.
7.

Which attribute is used to access security element of web flow.

A. attribute
B. attributes-security
C. attributes
D. none of the mentioned
Answer» D. none of the mentioned
8.

Which of the following class should replace ‘?’.

A. org.springframework.webflow.security.SecurityFlow
B. org.springframework.webflow.SecurityFlowExecutionListener
C. org.springframework.webflow.security.SecurityFlowExecutionListener
D. org.springframework.security.SecurityFlowExecutionListenerView Answer
Answer» D. org.springframework.security.SecurityFlowExecutionListenerView Answer
9.

Group id to add spring security using Maven.

A. org.springframework.secure
B. org.springframework.security
C. org.springframework.securedflow
D. none of the mentionedView Answer
Answer» C. org.springframework.securedflow
10.

SPRING_WEB_FLOW_SUPPORTS_INTEGRATION_WITH.?$

A. JSF
B. Hibernate
C. JPA
D. All of the mentioned
Answer» C. JPA
11.

WHICH_ATTRIBUTE_IS_USED_TO_ACCESS_SECURITY_ELEMENT_OF_WEB_FLOW.?$

A. attribute
B. attributes-security
C. attributes
D. none of the mentioned
Answer» B. attributes-security
12.

To integrate Hibernate with Spring Web flows.$

A. JpaFlowExecutionListener
B. HibernateFlowExecutionListener
C. All of the mentioned
D. None of the mentioned
Answer» B. HibernateFlowExecutionListener
13.

To integrate JPA with Spring Web flows.$

A. JpaFlowExecutionListener
B. HibernateFlowExecutionListener
C. All of the mentioned
D. None of the mentioned
Answer» E.
14.

Libraries used to integrate Hibernate with JPA.

A. Hibernate 3
B. Hibernate 3 Entity Manager
C. JPA API
D. All of the mentioned
Answer» B. Hibernate 3 Entity Manager
15.

HibernateFlowExecutionListener and JpaFlowExecutionListener both belongs to which of the package.

A. org.springframework.web.persistence package
B. org.springframework.persistence package
C. org.springframework.webflow package package
D. org.springframework.webflow.persistence package
Answer» E.
16.

To enable Spring security for web flows.

A. SecurityFlowExecutionListener
B. SecurityFlowExecution
C. FlowSecurity
D. SecurityFlowListener
Answer» D. SecurityFlowListener
17.

auto-config provides only default form-based login service.

A. True
B. False
Answer» B. False
18.

springframework.secure

A. org.springframework.security
B. org.springframework.securedflow
C. none of the mentioned
Answer» C. none of the mentioned
19.

To secure web flows with Spring Security.

A. DelegatingFilter
B. DelegatingFilterProxy
C. DelegatingProxy
D. None of the mentioned
Answer» C. DelegatingProxy
20.

Element which secures web flows.

A. secured
B. security
C. sec
D. none of the mentioned
Answer» B. security