Question Bank

3705 approved questions from the community

Docker orchestration tools like Kubernetes and Docker Swarm are used to simplify container scaling and management.

HARD
TRUE FALSE
25s
Docker
by Mohamed

What is the Bridge network driver in Docker primarily used for?

EASY
SINGLE CHOICE
30s
Docker
by Mohamed

What is the default grace period for docker stop before forcefully stopping a container?

HARD
SINGLE CHOICE
35s
Docker
by Mohamed

You can connect to running Docker containers and execute commands inside them.

EASY
TRUE FALSE
20s
Docker
by Mohamed

You can connect to Docker images and execute commands inside them.

EASY
TRUE FALSE
20s
Docker
by Mohamed

Docker image templates can exist in isolation without any running containers.

MEDIUM
TRUE FALSE
20s
Docker
by Mohamed

Docker containers can exist without Docker images.

MEDIUM
TRUE FALSE
20s
Docker
by Mohamed

You need to write a script in a Dockerfile to create a Docker image.

EASY
TRUE FALSE
20s
Docker
by Mohamed

When docker kill is used, the process receives a chance to perform cleanup operations before termination.

HARD
TRUE FALSE
25s
Docker
by Mohamed

Docker's portability allows organizations to deploy containers across hybrid and multi-cloud environments.

MEDIUM
TRUE FALSE
25s
Docker
by Mohamed

Docker images can be versioned, providing a clear and reproducible history of an application's changes.

MEDIUM
TRUE FALSE
25s
Docker
by Mohamed

What is the main difference between the COPY and ADD commands in a Dockerfile?

MEDIUM
SINGLE CHOICE
35s
Docker
by Mohamed

How does Docker run on Windows and MacOS if it requires a Linux kernel?

HARD
SINGLE CHOICE
40s
Docker
by Mohamed

The Docker client can communicate with more than one Docker daemon.

MEDIUM
TRUE FALSE
25s
Docker
by Mohamed

The Docker daemon runs continuously as a dockerd systemd service.

EASY
TRUE FALSE
20s
Docker
by Mohamed

Docker uses UnionFS or OverlayFS to layer filesystems and provide efficient image layering.

HARD
TRUE FALSE
30s
Docker
by Mohamed

Docker containers are more lightweight and start faster than virtual machines.

MEDIUM
TRUE FALSE
25s
Docker
by Mohamed

Docker Compose supports scaling services to run multiple instances easily.

EASY
TRUE FALSE
20s
Docker
by Mohamed

Docker Compose can define custom networks and volumes for your application.

EASY
TRUE FALSE
20s
Docker
by Mohamed

It is recommended to use COPY for most cases where you want to copy local files into the Docker image.

MEDIUM
TRUE FALSE
25s
Docker
by Mohamed
PreviousPage 89 of 186Next