My Report

Spring Mock Test 9


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement
 10%

Question 1 of 10

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

Question 1 of 10

Question 2 of 10

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

Question 2 of 10

Question 3 of 10

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

Question 3 of 10

Question 4 of 10

4. Transaction capabilities are built on top of the first class support already provided by the core Spring framework.

Question 4 of 10

Question 5 of 10

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

Question 5 of 10

Question 6 of 10

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

Question 6 of 10

Question 7 of 10

7. Class which delegates the task of delimiting fields and records within a file to a LineMapper, which in turn delegates the task of identifying the fields within that record, to LineTokenizer.

Question 7 of 10

Question 8 of 10

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

Question 8 of 10

Question 9 of 10

9. no-rollback-exception-classes element Exception classes that should not cause the transaction to roll back.

<step id = "step2">
   <tasklet>
           <chunk reader="reader" writer="writer" commit-interval="10" />
           <no-rollback-exception-classes>
           <include class="com.yourdomain.exceptions.YourBusinessException"/>
           </no-rollback-exception-classes>
   </tasklet>
</step>

Question 9 of 10

Question 10 of 10

10. The most fundamental support for gateways comes from the Spring Integration class:-

Question 10 of 10


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.