Spring Interview Questions - 32 | Snaprecruit.com
Spring Interview Questions - 32 | Snaprecruit.com
JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing
Enterprises
Spring interview questions part 32
Spring interview questions part 32
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Libraries used to integrate Hibernate with JPA.
A. Hibernate 3
B. Hibernate 3 Entity Manager
C. JPA API
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
2. To configure JPA vendor-specific information.
A. JPA vendor adaptor
B. Data source
C. All of the mentioned
D. None of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
3. You have to register a flow execution listener in the flow executor.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
4. Way to secure web app’s URL.
A. servlet filters
B. refresh-check-delay
C. http servlet filters
D. none of the mentioned
Show Correct Answer
Correct Answer is :
servlet filters
5. Servlet filter registered in web deployment descriptor, which filters request in spring application context.
A. DelegatingFilter
B. DelegatingFilterProxy
C. DelegatingProxy
D. None of the mentioned
Show Correct Answer
Correct Answer is :
DelegatingFilterProxy
6. Servlet APIs to access security information of web application.
A. HttpServletRequest.isUserInRole()
B. HttpServletRequest.getUserPrincipal()
C. None of the mentioned
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
7. To load root application context at the start up.
A. ContextListener
B. ContextLoader
C. ContextLoaderListener
D. ContextEventListener
Show Correct Answer
Correct Answer is :
ContextLoaderListener
8. To dispatch requests for web application.
A. DispatcherServlet
B. ViewHandler
C. ViewResolver
D. None of the mentioned
Show Correct Answer
Correct Answer is :
DispatcherServlet
9. The responsibility of DelegatingFilterProxy is simply to delegate HTTP request filtering to a Spring bean that implements the interface:-
A. java.util.logging.Filter
B. java.util.logging.net
C. java.util.logging.FilterHttp
D. none of the mentioned
Show Correct Answer
Correct Answer is :
java.util.logging.Filter
10. By default, DelegatingFilterProxy delegates to a bean whose name is the same as its filter-name property.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
11. Filter chain configured by Spring security, when web app security enabled.
A. springSecurityFilterChain
B. delegatingFilterProxy
C. none of the mentioned
D. all of the mentioned
Show Correct Answer
Correct Answer is :
springSecurityFilterChain
12. The http auto-config=”false” element automatically configures the basic security services that a typical web application needs.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
13. Element used to restrict access to a particular URL.
A. restrict-url
B. intercept-url
C. intercept-restrict
D. none of the mentioned
Show Correct Answer
Correct Answer is :
intercept-url
14. Element which configures authentication services.
A. authentication-provider
B. authentication-manager
C. all of the mentioned
D. none of the mentioned
Show Correct Answer
Correct Answer is :
all of the mentioned
15. Element which defines user details.
A. user-service
B. user-details
C. user-requirements
D. user-servicerequirements
Show Correct Answer
Correct Answer is :
user-service
16. Which of the following way to provide authenticity of users is/are supported by Spring Security?
A. Authenticating against a database
B. LDAP repository
C. All of the mentioned
D. None of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
17. The basic security services registered and configured by Spring Security.
A. Form-based login service
B. Logout Service
C. HTTP Basic authentication.
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
18. HTTP Basic authentication support is configured by:-
A. logout
B. http-basic
C. http-basicauth
D. none of the mentioned
Show Correct Answer
Correct Answer is :
none of the mentioned
19. Form-based login is configured by:-
A. servlet filters
B. refresh-check-delay
C. form-login
D. none of the mentioned
Show Correct Answer
Correct Answer is :
form-login
20. Action URL can be customized using form-login.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
Similar Interview Questions
Search for latest jobs
Find Jobs