Show List

Quiz - Docker - 3

59%

Public Average Score
Select the right answer for below questions:

What is the purpose of the Docker run command?
To build a Docker image
To start a Docker container
To view logs for a Docker container
To manage Docker networks
To start a Docker container

Which of the following statements is true about Docker swarm mode?
Swarm mode is only used for local Docker hosts
Swarm mode is used to manage a cluster of Docker hosts
Swarm mode is used to manage Docker images
Swarm mode is used to create Docker volumes
Swarm mode is used to manage a cluster of Docker hosts

What is the purpose of a Docker registry mirror?
To improve Docker network performance
To store Docker images
To manage Docker networks
To run Docker containers
To improve Docker network performance

Which Docker command is used to tag a Docker image?
docker tag
docker label
docker mark
docker name
docker tag

What is the purpose of the Docker network inspect command?
To create a Docker network
To view information about a Docker network
To connect a container to a Docker network
To disconnect a container from a Docker network
To view information about a Docker network

What is the purpose of the Docker-compose.yml file?
To store Docker images
To define a multi-container Docker application
To manage Docker networks
To run Docker containers
To define a multi-container Docker application

Which of the following is not a valid Docker container state?
Starting
Exited
Running
Restarting
Starting

What is Docker Compose?
A tool for managing Docker networks
A tool for building Docker images
A tool for orchestrating multi-container Docker applications
A tool for monitoring Docker containers
A tool for orchestrating multi-container Docker applications

Which command is used to list all running Docker containers?
docker ls
docker list
docker ps
docker status
docker ps

What is the purpose of the Dockerfile?
To build a Docker image
To start a Docker container
To view logs for a Docker container
To manage Docker networks
To build a Docker image

Submit
Retry
{"qz1-350522":"To start a Docker container","qz1-350523":"Swarm mode is used to manage a cluster of Docker hosts","qz1-350524":"To improve Docker network performance","qz1-350525":"docker tag","qz1-350526":"To view information about a Docker network","qz1-350527":"To define a multi-container Docker application","qz1-350528":"Starting","qz1-350529":"A tool for orchestrating multi-container Docker applications","qz1-350530":"docker ps","qz1-350531":"To build a Docker image"}

    Leave a Comment


  • captcha text