Spring/Spring Mcq Set 4 Sample Test,Sample questions

adplus-dvertising

Question:
 ACEs(Access control entries) core consists of:-

1.Permissions

2.Security Identity

3.All of the mentioned

4.none of the mentioned

Posted Date:-2022-01-03 00:15:02


Question:
 Attribute used to display custom login page.

1. login-url

2.custom-login

3.login-custom

4. custom-login

Posted Date:-2022-01-03 00:04:15


Question:
 Integration of JSF with Spring Application Context.

1.ContextLoaderListener

2.DelegatingVariableResolver

3.SpringBeanFacesELResolver

4.all of the mentioned

Posted Date:-2022-01-03 00:21:33


Question:
 JSP technology is also used to handle security of JSP views.

1. True

2.False

3.error

4.None of these

Posted Date:-2022-01-03 00:11:30


Question:
 Module that allows each domain to have it’s own access.

1. access share list

2. access common list

3. access control list

4.access list

Posted Date:-2022-01-03 00:13:28


Question:
 Servlet listener which loads application context.

1. Security:intercept-methods

2.global-method-security

3.ContextLoaderListener

4.none of the mentioned

Posted Date:-2022-01-03 00:17:00


Question:
 Session scope attribute to display error message.

1.SPRING_SECURITY_FIRST_EXCEPTION

2.SPRING_SECURITY_LAST_EXCEPTION

3.SPRING_SECURITY_EXCEPTION

4.SPRING_SECURITY_LAST_ERROR

Posted Date:-2022-01-03 00:05:02


Question:
 Tag used to integrate Spring with DWR.

1.dwr:integrate

2.dwr:remote

3. dwr:action

4. None of the mentioned

Posted Date:-2022-01-03 00:23:38


Question:
 Tag used to provide result of web requests and is read only.

1. h:form

2.h:commandButton

3.h:outputText

4.h:inputText

Posted Date:-2022-01-03 00:22:45


Question:
 Which of the following way to provide authenticity of users is/are supported by Spring Security?

1.Authenticating against a database

2.LDAP repository

3.All of the mentioned

4.none of the mentioned

Posted Date:-2022-01-03 00:00:57


Question:
@Secured annotation is used to secure methods implemented by beans.

1. True

2.False

3.error

4.None of these

Posted Date:-2022-01-03 00:10:27


Question:
ACL(Access control list) consists of:-

1.object identity

2.access control entities

3.none of the mentioned

4.all of the mentioned

Posted Date:-2022-01-03 00:13:49


Question:
Action URL can be customized using form-login.

1.True

2.False

3.error

4.None of these

Posted Date:-2022-01-03 00:02:44


Question:
ActionSupport class provides a method to access spring application context.

1.getWebApplicationContext()

2.getWebApplication()

3.getApplicationContext()

4.contextEventListener()

Posted Date:-2022-01-03 00:20:18


Question:
Anonymous login services can be configured by:-

1.anonymous-basic

2. anonymous

3.anonymous-target

4.none of the mentioned

Posted Date:-2022-01-03 00:06:14


Question:
Attribute used to look up and delegate a particular root bean.

1.filter

2. filter-name

3. filtername

4.none of the mentioned

Posted Date:-2022-01-03 00:19:52


Question:
Attribute used to render enclosed content.

1.ifGranted

2.if_Granted

3. ifAllGranted

4.none of the mentioned

Posted Date:-2022-01-03 00:13:02


Question:
Attribute used to specify custom access decision manager.

1.access-decision-manager-ref

2.access-decision-ref

3.access-decision

4.none of the mentioned

Posted Date:-2022-01-03 00:11:13


Question:
Attribute which specifies redirection URL on login error.

1. authentication-failure-url

2.authentication-failure_login-url

3.authentication-login-url

4. None of the mentioned

Posted Date:-2022-01-03 00:04:36


Question:
By default, Remember-me encodes the username, password, remember-me expiration time, and a private key as a token, and stores it as a cache in the user’s browser.

1. True

2. False

3.error

4.None of these

Posted Date:-2022-01-03 00:07:40


Question:
Class used to have full access to the Spring context’s life cycle machinery and dependency injection.

1. DelegatingFilterProxy

2.WebApplicationContextUtils.getRequiredWeb()

3.WebApplicationUtils.getRequiredWebApplicationContext()

4.None of the mentioned

Posted Date:-2022-01-03 00:17:52


Question:
Component of JSF, for user’s input in a form.

1. h:form

2. h:commandButton

3.h:outputText

4.h:inputText

Posted Date:-2022-01-03 00:22:24


Question:
Connection of database with Apache derby server requires.

1.Derby client.jar

2.Spring JDBC support

3.None of the mentioned

4. All of the mentioned

Posted Date:-2022-01-03 00:08:40


Question:
Default values of customized Username and authorities are anonymousUser and ROLE_ANONYMOUS respectively.

1.True

2.False

3.error

4.None of these

Posted Date:-2022-01-03 00:06:32


Question:
Element used to secure methods.

1.security:intercept-methods

2.global-method-security

3.all of the mentioned

4.none of the mentioned

Posted Date:-2022-01-03 00:10:04


Question:
Element used to specify access attributes for bean’s methods.

1. security:protect

2. security:intercept

3.security:intercept-security

4. None of the mentioned

Posted Date:-2022-01-03 00:10:46


Question:
Element which defines user details.

1.user-service

2. user-details

3.user-requirements

4.user-servicerequirements

Posted Date:-2022-01-03 00:00:30


Question:
Element which redirects to a specific URL on logout.

1.logout-success

2. logout-success_url

3.logout-url

4. logout-success-url

Posted Date:-2022-01-03 00:05:50


Question:
Form-based login is configured by:-

1.servlet filters

2.refresh-check-delay

3. form-login

4.none of the mentioned

Posted Date:-2022-01-03 00:02:25


Question:
HTTP Basic authentication support is configured by:-

1. logout

2. http-basic

3.http-basicauth

4.none of the mentioned

Posted Date:-2022-01-03 00:01:49


Question:
In order to leverage Spring application context machinery and configuration.

1. HttpRequestHandlerJNDI

2.HttpRequestHandlerServlet

3.HttpRequestHandler

4.none of the mentioned

Posted Date:-2022-01-03 00:18:26


Question:
Interface implemented by object instantiated by HttpRequestHandlerServlet.

1. HttpRequestHandlerJNDI

2. HttpRequestHandlerServlet

3. HttpRequestHandler

4.none of the mentioned

Posted Date:-2022-01-03 00:19:30


Question:
Interfaces that defines operation of an ACL service.

1. AclService

2.MutableAclService

3.All of the mentioned

4.None of the mentioned

Posted Date:-2022-01-03 00:16:15


Question:
Logout service is configured by:-

1.logout

2. login

3.logout-basic

4.logout_basic

Posted Date:-2022-01-03 00:05:26


Question:
Method to retrieve Spring Applicationcontext.

1.WebApplicationContextUtils.getRequiredWebApplicationContext()

2.WebApplicationContextUtils.getRequiredWeb()

3.WebApplicationUtils.getRequiredWebApplicationContext()

4.None of the mentioned

Posted Date:-2022-01-03 00:17:27


Question:
Remember-me support can be configured by:-

1. remember-me

2.remember-me-basic

3.remember-basic

4.none of the mentioned

Posted Date:-2022-01-03 00:07:24


Question:
SID(Security Identity) associates with permission using.

1.principal(PrincipalSid)

2.authority (GrantedAuthoritySid)

3.all of the mentioned

4. none of the mentioned

Posted Date:-2022-01-03 00:15:53


Question:
Spring Security algorithms to secure password.

1.MD5

2.SHA

3.All of the mentioned

4.none of the mentioned

Posted Date:-2022-01-03 00:08:12


Question:
Spring supports web flows by:-

1. Java

2. XML

3.All of the mentioned

4.none of the mentioned

Posted Date:-2022-01-03 00:24:16


Question:
Struts plugin used to integrate with spring.

1.ContextLoaderListener

2.ContextLoaderPlugin

3.ContextLoaderListenerPlugin

4.none of the mentioned

Posted Date:-2022-01-03 00:21:10


Question:
Struts servlet used to handle web requests.

1. ActionServlet

2. Action

3.ActionSupport

4.ActionStruts

Posted Date:-2022-01-03 00:20:43


Question:
Tag used to render view contents conditionally.

1.security:authorize

2. security:authority

3. security:authenticate

4. None of the mentioned

Posted Date:-2022-01-03 00:12:41


Question:
Tag which displays user’s Authentication object.

1.security:tag

2. security_Tag

3. security:authentication

4.none of the mentioned

Posted Date:-2022-01-03 00:11:53


Question:
Tag which renders the granted authorities one by one.

1. c:for

2.c:forEach

3. c:doWhile

4.c:while

Posted Date:-2022-01-03 00:12:19


Question:
Tag which triggers server side requests.

1. h:form

2.h:commandButton

3.h:outputText

4. h:inputText

Posted Date:-2022-01-03 00:23:17


Question:
The basic security services registered and configured by Spring Security.

1.Form-based login service

2. Logout Service

3.HTTP Basic authentication.

4.all of the mentioned

Posted Date:-2022-01-03 00:01:22


Question:
To handle web requests in JSF.

1.FacesServlet

2.JavaFacesServlet

3.Faces-Servlet

4.none of the mentioned

Posted Date:-2022-01-03 00:21:58


Question:
Utility to calculate MD5 digests for your password.

1. CheckSum

2.BeanShell

3.Jacksum

4.none of the mentioned

Posted Date:-2022-01-03 00:09:23


Question:
Which of the following is/are part of BasePermission class:-

1.CREATE

2.READ/WRITE

3.DELETE

4.all of the mentioned

Posted Date:-2022-01-03 00:15:27


Question:
You can specify the statements for querying a user’s information and authorities in the users-by-username-query and authorities-by-username-query attributes.

1.True

2.False

3.error

4.None of these

Posted Date:-2022-01-03 00:09:02


More MCQS

  1. Spring Mcq Set 1
  2. Spring Mcq Set 2
  3. Spring Mcq Set 3
  4. Spring Mcq Set 4
  5. Spring Mcq Set 5
  6. Spring Mcq Set 6
  7. Spring Mcq Set 7
  8. Spring Mcq Set 8
  9. Spring Mcq Set 9
  10. Spring Mcq Set 10
  11. Spring Mcq Set 11
  12. Spring Mcq Set 12
  13. Spring Mcq Set 13
  14. Spring Mcq Set 14
  15. Spring Mcq Set 15
  16. Spring Mcq Set 16
  17. Spring Mcq Set 17
  18. Spring Mcq Set 18
  19. Spring Mcq Set 19
  20. Spring Mcq Questions
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!