Spring/Spring Mcq Set 17 Sample Test,Sample questions

Question:
 A workflow system extricates that process state from the domain and into a separate layer, called a business process.

1.True

2.False

3.none

4.all the mentoined


Question:
 Instances of the ApplicationContext can be injected into the various GridGain class instances (GridTask, GridJob, and so forth) using GridGain:-

1.@Grid

2.@GridGain

3.@GridGain

4.None of the mentioned


Question:
 JobLauncher reference you configured previously is obtained and used to then launch an instance of a Job.

1.True

2.False

3.none

4.all the mentoined


Question:
 Map/reduce is a pattern that was popularized by Google, and it comes from functional programming languages, which often have:-

1.map

2. reduce

3.none of the mentioned

4.All of the mentioned


Question:
 One of the more useful settings for the RetryTemplate is the :-

1.BackOff

2. Back

3.BackOffPolicy

4.All of the mentioned


Question:
 Spring Batch work with a system scheduler:-

1. cron

2.autosys

3. all of the mentioned

4.None of the mentioned


Question:
 TaskExecutor that will spawn a thread of execution and manage that thread without blocking.

1.Async

2. Sync

3.Simple

4.SimpleAsyncTaskExecutor


Question:
 Terracotta works like many other clustered caches, except that, in addition to being a good Hibernate clustered cache.

1.True

2. False

3.none

4.all the mentoined


Question:
 The CommandLineJobRunner for success will return system error codes:-

1.0

2.1

3.2

4.None of the mentioned


Question:
 The main feature common to traditional workflow systems is the ability to support work lists for actors in a process.

1.WS-BPEL (BPEL 2.0)

2.WS-BPEL (BPEL)

3.WS-BPEL for People (BPEL4People)

4.Business Process Modeling Notation (BPMN)


Question:
 The RetryTemplate itself is configured in the Spring context, although it’s trivial to create in code.

1.True

2.False

3.none

4.all the mentoined


Question:
 To distribute processing over many nodes, perhaps to increase result speed through the use of concurrences, perhaps merely to provide load balance and fault tolerance.

1.Grid

2.GridGain

3.All of the mentioned

4.None of the mentioned


Question:
 To hoist a grid node into existence.

1.GridLoader

2.GridLoad

3. Grid

4.GridGain


Question:
 To use the script on Unix-like operating systems:

1.$TERRACOTTA HOME/bin/dso-env.sh $HOST:3312

2.$TERRACOTTA HOME/bin/dso-env.sh $HOST:$PORT

3.All of the mentioned

4. none of the mentioned


Question:
 When you use the script that comes with the distribution is the class:-

1.GridCommandLine

2.GridCommandLineLoader

3. GridCommand

4.All of the mentioned


Question:
 You want to control how steps are executed, perhaps to eliminate a needless waste of time by:-

1.concurrent steps

2.decisions

3.sequential steps

4.All of the mentioned


Question:
A GridLoader instance is responsible for many things such as:-

1.GridFactory.start

2.GridFactory.stop

3.All of the mentioned

4.None of the mentioned


Question:
A language that, when deployed to a BPEL container, describes the execution of a process.

1.WS-BPEL (BPEL 2.0)

2.WS-BPEL (BPEL)

3.WS-BPEL for People (BPEL4People)

4. Business Process Modeling Notation (BPMN)


Question:
A workflow engine lets you model the process in a higher-level form:-

1. XML

2. Use Case

3. UML

4. all of the mentioned


Question:
For each virtual machine client that you want to “see” and share that state, start it with a customized bootclasspath parameter when starting Java.

1. True

2.False

3.none

4.all the mentoined


Question:
GridFactory.start can take as its first parameter a:-

1.GridConfiguration object

2.Spring application context

3.All of the mentioned

4.None of the mentioned


Question:
GridGain is an implementation of a processing grid.

1.True

2. False

3.none

4.all the mentoined


Question:
GridGain lets you start up nodes using the startup script in the:-

1.etc

2. opt

3.bin

4.All of the mentioned


Question:
GridGain provides:-

1. load balancing

2.fault tolerance

3.routing

4. all of the mentioned


Question:
GridGain works with a GridTask, which specifies how to handle the main unit of work of the interface type:-

1.Grid

2. GridGain

3.GridJob

4.All of the mentioned


Question:
If you want to vary the execution flow based on some logic more complex than a job’s ExitStatuses:-

1.ExitStatus

2.Exit

3. Decision

4. all of the mentioned


Question:
More complicated return codes can be returned by creating and declaring a top-level bean that implements the interface:-

1.ExitCode

2.ExitCodeMapper

3.ExitMapper

4.All of the mentioned


Question:
On Unix-like operating systems, you start Terracotta as :-

1.$TERRACOTTA HOME/bin/start-tc-server.sh –f $PATH TO TERRACOTTA CONFIGURATION

2. $TERRACOTTA HOME/bin/start-tc-server.sh –f $PATH TO TERRACOTTA

3. $TERRACOTTA HOME/bin/start-tc-server.sh –f $PATH TO TERRACOTTA

4.None of the mentioned


Question:
Pattern which refers to the arrangement of multiple JMS clients all consuming the same queue messages.

1.aggressive-consumer

2.aggressive

3.all of the mentioned

4.None of the mentioned


Question:
Spring Batch provides a mechanism to offload processing to another process.

1.chunking

2.remote chunking

3.remote

4. none of the mentioned


Question:
Spring Batch ships with only handler, which executes steps in multiple threads using a TaskExecutor strategy.

1. TaskExecutorPartition

2. TaskExecutorPartitionHandler

3. TaskExecutorPartitionHandle

4. TaskExecutor


Question:
Terracotta doesn’t use serialization of objects.

1.True

2. False

3.none

4.all the mentoined


Question:
Terracotta has a client/server architecture.

1. True

2. False

3.none

4.all the mentoined


Question:
Terracotta is different than most clustered caches today because it has no visible API

1.True

2.False

3.none

4.all the mentoined


Question:
The bean is recognized and becomes part of the application context because of the:-

1.@Component

2.@Attr

3.All of the mentioned

4. none of the mentioned


Question:
The company, Terracotta, has also recently become the corporate sponsor of:-

1. Ehcache

2.Quartz

3. All of the mentioned

4.None of the mentioned


Question:
The file which enables you to tell GridGain about which GridTask classes are deployed:-

1.gridgain.xml

2.gridgain.html

3.grid.xml

4.gridify.xml


Question:
There are many data grids, such as :-

1. Coherence

2.Terracotta

3.Terracotta

4.All of the mentioned


Question:
There’s nothing to prevent you from having many steps within the flow elements.

1.True

2.False

3.none

4.all the mentoined


Question:
This is likely the second most useful implementation. It provides a servlet that bootstraps the GridGain instance inside any web container as a servlet.

1.org.gridgain.grid.loaders.cmdline.GridCommandLineLoader

2.org.gridgain.grid.loaders.servlet.GridServletLoader

3. org.gridgain.grid.loaders.jboss.GridJbossLoader

4.org.gridgain.grid.loaders.weblogic.GridWeblogicStartup


Question:
This is the default implementation. It is used when you run gridgain.sh or gridgain.bat.

1.org.gridgain.grid.loaders.cmdline.GridCommandLineLoader

2.org.gridgain.grid.loaders.servlet.GridServletLoader

3.org.gridgain.grid.loaders.jboss.GridJbossLoader

4.org.gridgain.grid.loaders.weblogic.GridWeblogicStartup


Question:
To build a parallelized solution for a problem that’s intrinsically better-suited to parallelization or that, for want of resources, needs to be chunked.

1.map

2. reduce

3.all of the mentioned

4.None of the mentioned


Question:
To deploy a Terracotta application, you first download the distribution. The distribution provides :-

1.utility scripts

2. JAR files

3. All of the mentioned

4. none of the mentioned


Question:
To determine the next step is the simplest example of a conditional flow.

1. Exit

2. Status

3. Status

4.None of the mentioned


Question:
To parameterize a job, which is then available to your steps through Spring Batch expression language.

1.Job

2.Steps

3.JobParameters

4.None of the mentioned


Question:
To quickly grid-enable a method on a bean using GridGain.

1.@Gridify

2.@Grid

3.@GridGain

4.None of the mentioned


Question:
Typical jobs of almost any complexity will have multiple steps, however.

1.True

2.False

3.none

4.all the mentoined


Question:
When using GridGain stem mostly from the fact that what you develop on one node can’t always automatically work on another node with no additional configuration.

1.True

2.False

3.none

4.all the mentoined


Question:
When you call the method on the service with the @Gridify annotation pointing to this GridTask implementation, it stops execution of method and loads an instance of this implementation.

1.True

2.False

3.none

4.all the mentoined


Question:
You want to share object state across multiple virtual machines.

1.Terracotta

2.Hibernate Transaction

3.All of the mentioned

4.None of the mentioned


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!