Spring/Spring Mcq Set 3 Sample Test,Sample questions

Question:
 Attribute which specifies all the interfaces

1.script-interfaces

2. lang:bsh

3.lang:script

4.script:bsh

Posted Date:-2022-01-02 23:43:49


Question:
 Default value of refresh-check-delay attribute

1. Zero

2.Negative

3.Positive

4.None of the mentioned above

Posted Date:-2022-01-02 23:49:36


Question:
 Element which allows you to control the scope

1. lang:jruby

2.lang:language

3. lang: bsh

4.lang:groovy

Posted Date:-2022-01-02 23:45:56


Question:
 Interface used to create additional features in groovy based beans

1.GroovyObjectCustomizer

2.GroovyBeanCustomizer

3. GroovyCustomizer

4.None of the mentioned

Posted Date:-2022-01-02 23:42:56


Question:
 Library to use AspectJ weaver

1. spring-instrument.jar

2.spring-introduction.jar

3. spring-aop.jar

4. spring-weave.jar

Posted Date:-2022-01-02 23:35:44


Question:
 To load root application context at the start up.

1. ContextListener

2.ContextLoader

3.ContextLoaderListener

4.ContextEventListener

Posted Date:-2022-01-02 23:56:25


Question:
 To prevent the characters in your script from conflicting with the reserved XML characters

1.Use ![CDATA[…]] tag

2.Use ![DATA[…]] tag

3.Use ![CDATA(…)] tag

4.none of the mentioned

Posted Date:-2022-01-02 23:51:09


Question:
 Way to secure web app’s URL.

1. servlet filters

2.refresh-check-delay

3. http servlet filters

4.none of the mentioned

Posted Date:-2022-01-02 23:54:10


Question:
 What are the ways to declare an advice?

1. pointcut-ref attribute

2. pointcut attribute

3. all of the mentioned

4.none of the mentioned

Posted Date:-2022-01-02 23:30:50


Question:
 What are the ways to declare an advice?

1. pointcut-ref attribute

2. pointcut attribute

3. all of the mentioned

4.none of the mentioned

Posted Date:-2022-01-02 23:32:28


Question:
 What are the ways to declare an advice?

1. pointcut-ref attribute

2. pointcut attribute

3. all of the mentioned

4.none of the mentioned

Posted Date:-2022-01-02 23:33:11


Question:
 XML Element to define an inline script

1. lang:inlinescript

2. lang:inline_script

3.lang:inline@script

4.lang:inline-script

Posted Date:-2022-01-02 23:50:13


Question:
 XML Element to include load-time weaver

1. aop:config

2. aop:auto-wire

3.context:load-time-weaver

4. aop:load-time-weaver

Posted Date:-2022-01-02 23:35:00


Question:
 XML element to specify the property values for scripting bean

1. lang:property

2. bean:property

3. script:property

4.none of the mentioned

Posted Date:-2022-01-02 23:41:07


Question:
Applying aspects to your target objects

1. AspectJ Annotation

2. Weaving

3.All of the mentioned

4.none of the mentioned

Posted Date:-2022-01-02 23:29:56


Question:
Attribute used by Spring to refresh beans

1.refresh-check-interval

2.refresh-check-delay

3.refresh-delay

4.none of the mentioned

Posted Date:-2022-01-02 23:47:44


Question:
BeanShell Library dependencies

1. bsh-2.0b4.jar

2.cglib-nodep-2.1_3.jar

3. all of the mentioned

4.none of the mentioned

Posted Date:-2022-01-02 23:47:03


Question:
By default, DelegatingFilterProxy delegates to a bean whose name is the same as its filter-name property.

1.True

2.False

3.error

4.none of the mentioned

Posted Date:-2022-01-02 23:58:02


Question:
Class-based proxies are best way to advise scripted beans

1.True

2. False

3.error

4.none of the mentioned

Posted Date:-2022-01-02 23:44:06


Question:
Dynamic Language for java platform to cope up with other languages

1.JRuby

2.Groovy

3.BeanShell

4.all of the mentioned

Posted Date:-2022-01-02 23:39:27


Question:
Dynamic-language-backed bean with some configurations

1.Refreshable bean

2.Beanshell

3.Scripting Beans

4. Inline Script

Posted Date:-2022-01-02 23:51:30


Question:
Element used to restrict access to a particular URL.

1. restrict-url

2. intercept-url

3. intercept-restrict

4.none of the mentioned

Posted Date:-2022-01-02 23:59:19


Question:
Element which configures authentication services.

1.authentication-provider

2.authentication-manager

3. all of the mentioned

4.none of the mentioned

Posted Date:-2022-01-02 23:59:51


Question:
Filter chain configured by Spring security, when web app security enabled.

1.springSecurityFilterChain

2. delegatingFilterProxy

3. none of the mentioned

4.all of the mentioned

Posted Date:-2022-01-02 23:58:27


Question:
How to inject Spring bean into domain objects

1.AOP

2.XML

3.AspectJ

4. Java Based

Posted Date:-2022-01-02 23:36:40


Question:
How to weave your classes using argument while compiling?

1. -javaagent:CLASSPATH

2. -javaagent:PackgePath

3. -javaweave:CLASSPATH

4.-javaweave:PackagePath

Posted Date:-2022-01-02 23:34:34


Question:
In Ruby instance variable begins with

1.#

2. *

3. @

4.none of the mentioned

Posted Date:-2022-01-02 23:40:20


Question:
Lightweight java scripting language executing java fragments

1. JRuby

2. Groovy

3.BeanShell

4.all of the mentioned

Posted Date:-2022-01-02 23:39:54


Question:
Name of the process when targe classes are loaded into JVM

1.load-time weaving

2. process-time weaving

3. load-process weaving

4. process-delivery weaving

Posted Date:-2022-01-02 23:34:10


Question:
Objects created outside the container:-

1. Domain Objects

2. User Objects

3.SpringVisitor Objects

4.none of the mentioned

Posted Date:-2022-01-02 23:36:06


Question:
Refresh checking feature is not applicable for an inline script

1.True

2. False

3.error

4.None of these

Posted Date:-2022-01-02 23:50:42


Question:
Script’s location is specified by attribute

1. script-source

2.xml-source

3. script-annotation

4.none of the mentioned

Posted Date:-2022-01-02 23:41:56


Question:
Scripting language based on Ruby

1. JRuby

2.Groovy

3.BeanShell

4.all of the mentioned

Posted Date:-2022-01-02 23:39:04


Question:
Scripting languages supported by Spring?

1. JRuby

2.Groovy

3.BeanShell

4.all of the mentioned

Posted Date:-2022-01-02 23:38:30


Question:
Servlet APIs to access security information of web application.

1.HttpServletRequest.isUserInRole()

2.HttpServletRequest.getUserPrincipal()

3.None of the mentioned

4. All of the mentioned

Posted Date:-2022-01-02 23:55:34


Question:
Servlet filter registered in web deployment descriptor, which filters request in spring application context.

1. DelegatingFilter

2. DelegatingFilterProxy

3.DelegatingProxy

4.none of the mentioned

Posted Date:-2022-01-02 23:54:39


Question:
Special compiler used during weaving

1. jvm

2.gcc

3. ajc

4.none of the mentioned

Posted Date:-2022-01-02 23:33:44


Question:
Spring can detect and refresh changes from the script source files.

1. True

2. False

3.error

4.None of these

Posted Date:-2022-01-02 23:52:23


Question:
Spring includes AnnotationBeanConfigurerAspect in its aspect library for configuring the dependencies of any objects

1.True

2. False

3.error

4.None of these

Posted Date:-2022-01-02 23:37:52


Question:
Spring IoC container refreshes the script periodically according to the interval period specified

1.True

2. False

3.error

4.None of these

Posted Date:-2022-01-02 23:48:49


Question:
The http auto-config=”false” element automatically configures the basic security services that a typical web application needs.

1.True

2.False

3.error

4.None of these

Posted Date:-2022-01-02 23:58:54


Question:
The responsibility of DelegatingFilterProxy is simply to delegate HTTP request filtering to a Spring bean that implements the interface:-

1. java.util.logging.Filter

2.java.util.logging.net

3.java.util.logging.FilterHttp

4.none of the mentioned

Posted Date:-2022-01-02 23:57:29


Question:
To dispatch requests for web application.

1.DispatcherServlet

2. ViewHandler

3.ViewResolver

4.none of the mentioned

Posted Date:-2022-01-02 23:56:58


Question:
To quickly add a Spring Validator implementation to a Spring MVC Controller

1. Use inline-script

2.lang:inline-script

3.All of the mentioned

4.None of the mentioned

Posted Date:-2022-01-02 23:51:59


Question:
We can directly use Spring AOP for injection of beans

1. True

2.False

3.error

4.None of these

Posted Date:-2022-01-02 23:36:59


Question:
Which scope does @Configurable instantiated class looks for?

1. Singleton

2.Prototype

3.None of the mentioned

4.all of the mentioned

Posted Date:-2022-01-02 23:37:23


Question:
XML Element to declare a bean implemented by Groovy

1.lang:groovy

2. lang:jruby

3. beanscript:jruby

4. script:jruby

Posted Date:-2022-01-02 23:41:30


Question:
XML Element to declare a bean implemented by JRuby

1. lang:jruby

2.aop:jruby

3.beanscript:jruby

4.script:jruby

Posted Date:-2022-01-02 23:40:46


Question:
XML Element to declare a bean implemented by JRuby

1.lang:bash

2.aop:bash

3. lang:bsh

4.script:bash

Posted Date:-2022-01-02 23:43:27


Question:
You also have to include suitable load-time weaver’s configuration in XML

1.True

2.False

3.error

4.none of the mentioned

Posted Date:-2022-01-02 23:35:25


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!