Spring MCQ Quiz Hub

Spring Mcq Set 17

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

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




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




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




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




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




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




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




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




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




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




11. Spring Batch work with a system scheduler:-




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




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




14. The CommandLineJobRunner for success will return system error codes:-




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




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




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




18. You want to share object state across multiple virtual machines.




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




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




21. Terracotta doesn’t use serialization of objects.




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




23. Terracotta has a client/server architecture.




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




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




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




27. To use the script on Unix-like operating systems:




28. 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.




29. GridGain is an implementation of a processing grid.




30. There are many data grids, such as :-




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




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




33. GridGain provides:-




34. 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.




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




36. 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.




37. 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.




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




39. To hoist a grid node into existence.




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




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




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




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




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




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




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




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




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




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




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