This Docker 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 Docker online test evaluates a candidate’s ability to work with the platform virtualization tool Docker, including the knowledge of how to configure containers and images, run services within those containers, and manage the lifecycle of those containers.

It’s an ideal test for pre-employment screening of candidates applying for any developer role. A good candidate for any job requiring the use of virtualization will be able to display competency with using Docker, one of the most popular containerization and virtualization platforms. This Docker test can be used to screen large groups of candidates to select only those with the required Docker knowledge to bring in for an interview.

Sample public questions

Easy
3 min
fill
Public
Docker
Command Line Arguments
Docker Compose

The automation team is testing their background Docker web server containers. They need to cleanly remove the existing containers without leaving any artifacts behind, then start new containers.

Complete the following docker commands to achieve these objectives:

# Gracefully end all processes in the containers
host> docker-compose stop
# Remove the containers and their anonymous volumes
host> docker-compose ____ -v
# Start containers in background
host> docker-compose up ____ apache php mysql
Easy
7 min
fill
Public
Docker
Command Line Arguments
Life Cycle

As part of a load balancing scheme, your company uses multiple virtual machines which can provision and deprovision Docker containers as demand changes.

Complete the docker commands (with no additional arguments) that manage the lifecycle of a docker image.

  1. When a virtual machine completes startup, it runs the following command to ready the custom container image:
    docker create --name balanced-container company-image
  2. When the load balancer detects high usage, it signals the virtual machine to make the container available for use. The VM runs the following command:
    docker ____ balanced-container
  3. The load balancer detects that a container has been underutilized for more than 15 minutes. It signals the VM to suspend the container to conserve CPU resources. The VM runs the command:
    docker ____ balanced-container
  4. Finding an increased load again, the load balancer signals the VM to awaken the container. The VM runs the command:
    docker ____ balanced-container
  5. After an hour of underutilization, the load balancer signals the VM to gracefully end all processes in the container to conserve RAM resources. The VM runs the command:
    docker ____ balanced-container

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the Docker test with public questions.

Take a Certification Test

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

Skills and topics tested

  • Docker
  • Docker Run
  • Resource Constraints
  • Command Line Arguments
  • Dockerfile
  • Configuration
  • Docker Compose

For job roles

  • Back-End Developer
  • DevOps Engineer
  • Full-Stack Developer
  • Mobile Developer
  • Software Developer
  • Web Developer
  • Web Front-End Developer

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.

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 Docker Programming Tests: