Docker Online Test

TestDome skill assessments are used by more than 11,000 companies and 1,030,000 test takers.

For Jobseekers

Practice your skills and earn a certificate of achievement when you score in the top 25%.

Take a Practice Test

For Companies

Test candidates with real-world problems and interview the best ones.

Sign Up to Offer this Test

About the test

The Docker online test assesses knowledge of the platform virtualization and containerization tool, Docker.

The assessment includes work-sample tasks such as:

  • Using Dockerfiles to create container images.
  • Creating and starting Docker containers using Docker Run.
  • Configuring and running multiple containers with Docker Compose.

A good DevOps engineer or software developer should know how to use Docker to configure containers and images, run services within those containers, and manage the container lifecycle.

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

Sample silver certificate

Sunshine Caprio

Java and SQL
TestDome
Certificate
TestDome logo icon

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

4 more premium Docker questions

Build Results, Networking Namespaces, Docker Ports, Docker Limits.

Skills and topics tested

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

For job roles

  • Back-End Developer
  • DevOps Engineer
  • Full-Stack Developer
  • Mobile Developer
  • Software Developer
  • Web Developer
  • Web Front-End 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 - Crowd Badge
G2 - High Performer (2022)
Capterra - 4.5 Stars
Capterra - Shortlist (2023)

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?