Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

Spring Batch Online Skill Assessment Test

Topics Covered

  • Spring Batch Fragments
  • Spring Hibernate Integration
  • Spring Batch
  • Annotations
  • Spring Batch with MySQL
  • Spring Batch Code
  • Spring Batch Configuration

Useful for hiring

  • Spring Batch Developer
  • Senior Java Developer
  • JavaScript Developer

Start hiring job-fit candidates using this assessment

GET A DEMO

"The best part of Interview Mocha is they have topic wise questions available. The skill wise extensive reports and advanced analytics lets us measure & benchmark the proficiency level of employees in that particular skill."

Cheryl Tolkinen, Securian, USA,
Learning & Development Manager
Question

Complete the following spring code to make it work correctly.

StaxEventItemWriter staxItemWriter = new StaxEventItemWriter()
…………………………………………………………………………

Map aliases = new HashMap();
aliases.put("customer","org.springframework.batch.sample.domain.CustomerCredit");
aliases.put("credit","java.math.BigDecimal");
aliases.put("name","java.lang.String");
Marshaller marshaller = new XStreamMarshaller();
marshaller.setAliases(aliases);

Answer
    • ExecutionContext executionContext = new ExecutionContext();

    • FileSystemResource resource = new FileSystemResource("data/outputFile.xml")

    • Set<Long> getRunningExecutions(String staxItemWriter) throws NoSuchJobException;

    • private Resource directory;
      public void setDirectoryResource(Resource directory) {
          this.directory = directory;
      }

Question

The BATCH_JOB_INSTANCE table holds all information relevant to a JobInstance and serves as the top of the overall hierarchy. How can you use DDL to create it?

Answer
    • CREATE TABLE BATCH_JOB_INSTANCE  (
        JOB_INSTANCE_ID BIGINT  PRIMARY KEY ,
        VERSION BIGINT,    
        JOB_NAME VARCHAR(100) NOT NULL ,
        JOB_KEY VARCHAR(2500)
       constraint JOB_ INSTANCE_PARAMS_FK foreign key (JOB_ INSTANCE_ID)
       references BATCH_JOB_ INSTANCE (JOB_ INSTANCE _ID)
      );

    • CREATE TABLE BATCH_JOB_INSTANCE  (
        JOB_INSTANCE_ID BIGINT  PRIMARY KEY ,
        VERSION BIGINT,    
        JOB_NAME VARCHAR(100) NOT NULL ,
        JOB_KEY VARCHAR(2500)
      );

    • CREATE TABLE BATCH_JOB_INSTANCE  (
        JOB_INSTANCE_ID BIGINT  PRIMARY KEY ,
        VERSION BIGINT,    
        JOB_NAME VARCHAR(100) NULL,
        JOB_KEY VARCHAR(2500)
       constraint JOB_ INSTANCE_PARAMS_FK foreign key (JOB_ INSTANCE_ID)
       references BATCH_JOB_ INSTANCE (JOB_ INSTANCE _ID)
      );

    • CREATE TABLE BATCH_JOB_INSTANCE  (
        JOB_INSTANCE_ID BIGINT  PRIMARY KEY ,
        VERSION BIGINT,    
        JOB_NAME VARCHAR(100) NULL ,
        JOB_KEY VARCHAR(2500)
      );

Question

Complete the attribute of the following transaction:

 
   
   
 


Note: There can be multiple correct answers to this question.

Answer
    • propagation="REQUIRED"

    • timeout="30"

    • propagation="REQUESTED" 

    • timeout="0"

Test details:

Spring Batch interview test enables employers and recruiters to identify right fit candidate by evaluating working skills and job readiness. For this reason, the emphasis is laid upon evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge.

Test Details: 20 minutes 

20 Application Questions


The combination of Application and Theory questions helps to evaluate Technical as well as practical Skills of Candidates.

Test description:

Spring Batch test helps Employers to assess the Spring batch skills of a developer before an interview. Spring Batch is comprehensive batch framework designed to enable the development of robust batch applications. Spring Batch online test is designed to check the development and web programming skills of Spring batch Developer- As per Industry Standards.

Spring Batch assessment test contains questions on following Topics:
 

  • Spring Batch Fragments

  • Spring Hibernate Integration

  • Spring Batch

  • Annotations

  • Spring Batch with MySQL

  • Spring Batch Code

  • Spring Batch Configuration 


Spring Batch skills test is designed by our subject matter experts to evaluate knowledge of Spring Batch developer before hiring. Using powerful reporting, you can have a detailed analysis of the test results to help you make a better hiring decision and predict the candidate’s performance.

The test contains MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, True or False.

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at support@interviewmocha.com to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...
GET A DEMO

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates

GET A DEMO