Spring MCQ Quiz Hub

Spring Mcq Set 17

Choose a topic to test your knowledge and improve your Spring skills

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





✅ Correct Answer: 1

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





✅ Correct Answer: 3

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





✅ Correct Answer: 4

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





✅ Correct Answer: 1

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





✅ Correct Answer: 1

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





✅ Correct Answer: 2

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





✅ Correct Answer: 1

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





✅ Correct Answer: 2

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





✅ Correct Answer: 3

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





✅ Correct Answer: 3

Spring Batch work with a system scheduler:-





✅ Correct Answer: 3

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





✅ Correct Answer: 1

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





✅ Correct Answer: 4

The CommandLineJobRunner for success will return system error codes:-





✅ Correct Answer: 1

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





✅ Correct Answer: 2

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





✅ Correct Answer: 1

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





✅ Correct Answer: 3

You want to share object state across multiple virtual machines.





✅ Correct Answer: 1

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





✅ Correct Answer: 3

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





✅ Correct Answer: 1

Terracotta doesn’t use serialization of objects.





✅ Correct Answer: 1

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





✅ Correct Answer: 1

Terracotta has a client/server architecture.





✅ Correct Answer: 1

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





✅ Correct Answer: 3

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





✅ Correct Answer: 1

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





✅ Correct Answer: 1

To use the script on Unix-like operating systems:





✅ Correct Answer: 2

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.





✅ Correct Answer: 2

GridGain is an implementation of a processing grid.





✅ Correct Answer: 1

There are many data grids, such as :-





✅ Correct Answer: 4

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





✅ Correct Answer: 4

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





✅ Correct Answer: 1

GridGain provides:-





✅ Correct Answer: 4

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.





✅ Correct Answer: 3

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





✅ Correct Answer: 3

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.





✅ Correct Answer: 1

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.





✅ Correct Answer: 1

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





✅ Correct Answer: 3

To hoist a grid node into existence.





✅ Correct Answer: 1

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





✅ Correct Answer: 2

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





✅ Correct Answer: 3

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





✅ Correct Answer: 3

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





✅ Correct Answer: 1

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





✅ Correct Answer: 4

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





✅ Correct Answer: 1

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





✅ Correct Answer: 2

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





✅ Correct Answer: 1

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





✅ Correct Answer: 3

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





✅ Correct Answer: 2

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





✅ Correct Answer: 1