Docker Online Test
For Jobseekers
Practice your skills and earn a certificate of achievement when you score in the top 25%.
Take a Practice TestFor Companies
Test candidates with real-world problems and interview the best ones.
Sign Up to Offer this TestAbout 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
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.
- When a virtual machine completes startup, it runs the following command to ready the custom container image:
docker create --name balanced-container company-image
- 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
- 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
- Finding an increased load again, the load balancer signals the VM to awaken the container. The VM runs the command:
docker ____ balanced-container
- 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
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
For jobseekers: get certified
Earn a free certificate by achieving top 25% on the Docker test with public questions.
Take a Certification TestSample silver certificate
Sunshine Caprio
Java and SQL TestDomeCertificate
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.
Ready to Interview?
Use these and other questions from our library with our
Code Interview Platform.
4 more premium Docker questions
Networking Namespaces, Docker Limits, Docker Ports, Build Results.
Skills and topics tested
- Docker
- Command Line Arguments
- Docker Run
- Resource Constraints
- Configuration
- Docker Compose
- Dockerfile
For job roles
- Back-End Developer
- DevOps Engineer
- Full-Stack Developer
- Mobile Developer
- Software Developer
- Web Developer
- Web Front-End Developer
Sample candidate report
Need it fast? AI-crafted tests for your job role
TestDome generates custom tests tailored to the specific skills you need for your job role.
Sign up now to try it out and see how AI can streamline your hiring process!
What others say
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
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.
130+ 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
Choose a pre-made test
or create a custom test
Invite candidates via
email, URL, or your ATS
Candidates take
a test remotely
Sort candidates and
get individual reports