MCQOPTIONS
Saved Bookmarks
This section includes 7 Mcqs, each offering curated multiple-choice questions to sharpen your Spring knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Spring Batch provides a convenience class, CompositeItemProcessor, which forwards the output of the filter to the input of the successive filter. |
| A. | True |
| B. | False |
| C. | n<div class="collapseomatic_content" id="target-id6241e40c1abdb">Answer: a |
| Answer» D. | |
| 2. |
There s support for writing JMS:- |
| A. | JmsItemWriter |
| B. | JpaItemWriter |
| C. | JdbcBatchItemWriter |
| D. | All of the mentioned |
| Answer» E. | |
| 3. |
Indeed, a step could be considered the smallest unit of work for a job. Input (what s read) is passed to the Step and potentially processed; then output (what s written) is created from the step. |
| A. | Steplet |
| B. | Tasklet |
| C. | All of the mentioned |
| D. | None of the mentioned |
| Answer» C. All of the mentioned | |
| 4. |
However, it s important to wear another hat, that of a DBA, when writing applications. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 5. |
SimpleJobLauncher, whose sole purpose is to give you a mechanism to launch batch jobs, where a job in this case is our batch solution. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 6. |
MapJobRegistry instance. This is critical it is the central store for information regarding a given Job. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 7. |
There s only one really useful implementation of the JobRepository interface, which stores information about the state of the batch processes in a database. |
| A. | SimpleJobRepository |
| B. | SimpleJob |
| C. | SimpleRepo |
| D. | All of the mentioned |
| Answer» B. SimpleJob | |