This Java and Spring Boot Online Test Separates Good From Bad Hires

Check our public questions below

Solve questions to get feedback or
take a practice test and get a free certificate.

Screen with work-sample questions

Work-samples are the best predictor of work performance. 8,000+ companies use TestDome premium questions.

About the test

The Java and Spring Boot online test assesses candidates' knowledge of  Java, the Spring Framework and Spring Boot.

It's ideal for pre-employment screening. A good Java and Spring Boot developer should be familiar with the most commonly used aspects of the framework, Spring Boot auto configuration, and be able to leverage those to create enterprise grade applications.

This online test requires candidates to answer multiple-choice questions about the Spring Framework, Spring Boot, and solve live coding problems using Java.

Sample public questions

Easy
10 min
code
Public
Java
Interfaces
Inversion of Control
Refactoring

Refactor the AlertService and MapAlertDAO classes:

  • Create a new package-private interface, named AlertDAO, that contains the same methods as MapAlertDAO.
  • MapAlertDAO should implement the AlertDAO interface.
  • AlertService should have a public constructor that accepts AlertDAO.
  • The raiseAlert and getAlertTime methods should use the object passed through the constructor.
Easy
3 min
mca
Public
Java Spring
Database Abstraction
Spring Boot

A company wants to use Spring Boot in a web application which should use JPA as a database abstraction. The unit tests should be run on an H2 database while the production should run on a MySQL database.

Select all the things that need to be done or that will be done automatically by Spring Boot.

Easy
5 min
mca
Public
Java Spring
Configuration

Consider the following Spring bean:

@Component
public class TaskExecutor {

    @Value("${thread.count:10}")
    private int threadCount;
    @Value("worker.thread.name")
    private String threadNameTemplate;
    private AtomicInteger counter = new AtomicInteger();
    private ExecutorService executorService;

    @PostConstruct
    public void init() {
        ThreadFactory threadFactory = (runnable) -> new Thread(threadNameTemplate + counter.incrementAndGet());
        executorService = Executors.newFixedThreadPool(threadCount, threadFactory);
    }
}

Select the statements that are correct.

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the Java and Spring Boot test with public questions.

Take a Certification Test

Sample silver certificate

Sunshine Caprio

Java and SQL

TestDome
Certificate

TestDome logo on certificate

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.

Sign Up to Offer this Test

69 more premium Java and Spring Boot questions

Document Store, Driver Exam, Shipping, Password Advice, Appointments, Chain Link, Document Counter, Hobbies, Node, Paragraph, Product, Snapshot, Snow Storm, Test Results, Username, Utilities, Weighted Average, Language Teacher, Shining Star, Mock Library, Kilometer Converter, Crop Ratio, Integer Utilities, Procedural Generator, Config Element, Stack to List, Fire Dragon, Log Parser, String Occurrence, Worker, Racer, Data Test, Book Search, Mock Log Repository, Service AOP, Services Config, Question Properties, Auto Configuration, Health Check, Segment, Ceramic Store, Patient Class, Shelf Test, Read Write Execute, Read First Line, Max Sum, Platformer, Unique Numbers, Book Sale, Friend, Stories, Moving Total, Internal Nodes, Unique Product, Date Transform, Action Stack, Reward Points, Tiles, New Folder, Animal Hierarchy, Tax Calculator, Car Rental, Veterinarian, Numbers to Text, Wheel Defects, Paper Strip, Flight Connections, Vectors, Special Actions.

Skills and topics tested

  • Java
  • Bug Fixing
  • Language
  • Exceptions
  • Arithmetic
  • Java Spring
  • MVC Pattern
  • REST
  • Linked List
  • OOP
  • Refactoring
  • HashMap
  • Iteration
  • Lists
  • Recursion
  • Tree
  • Regex
  • Strings
  • Accessibility Levels
  • ArrayList
  • Stream API
  • Class Modifiers
  • Inheritance
  • TDD
  • Dynamic Proxy Classes
  • Method Overriding
  • Integer Division
  • Performance Tuning
  • Random
  • Generics
  • Complexity
  • Stack
  • Higher Order Function
  • Interfaces
  • Serialization
  • XML
  • Stream
  • Memory Management
  • Multithreading
  • Synchronization
  • Annotations
  • Spring Boot
  • Configuration
  • Database Abstraction
  • Spring Boot Actuator
  • Abstract Class
  • Test Case Design
  • Unit Testing
  • Algorithmic Thinking
  • Data Structures
  • Sorting
  • Graphs
  • Dynamic Programming
  • HashSet
  • Arrays
  • Classes
  • Objects
  • Queue
  • StringBuilder

For job roles

  • Back-End Developer
  • Java Developer
  • Spring Framework Developer
  • Web Developer

Sample candidate report

What others say

Decorative quote

Simple, straight-forward technical testing

TestDome is simple, provides a reasonable (though not extensive) battery of tests to choose from, and doesn't take the candidate an inordinate amount of time. It also simulates working pressure with the time limits.

Jan Opperman, Grindrod Bank

Product reviews

G2 High Performer 2022G2 Read Our Reviews

Used by

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to project management and customer support. See all pre-made tests.

90+ skills

From JavaScript and SQL to English and customer support. See all questions to filter by skill.

Multi-skills Test

Mix questions for different skills or even custom questions in one test. See an example.

How TestDome works

1

Choose a pre-made test
or create a custom test

2

Invite candidates via
email, URL, or your ATS

3

Candidates take
a test remotely

4

Sort candidates and
get individual reports

Want to know more?

Not exactly what you're looking for?

Related Java and Spring Boot Programming Tests: