Show List
Quiz - Docker - 1
Select the right answer for below questions:
What is Docker?
A virtual machine
A containerization platform
An operating system
A programming language
A containerization platform
Which of the following statements is true about Docker containers?
Containers have their own kernel
Containers are isolated from the host system
Containers are heavier than virtual machines
Containers require a lot of resources to run
Containers are isolated from the host system
Which command is used to start a Docker container?
docker run
docker create
docker start
docker launch
docker run
Which of the following is not a benefit of using Docker?
Portability
Scalability
Resource isolation
Improved security
Improved security
What is the Dockerfile used for?
To create a Docker image
To start a Docker container
To stop a Docker container
To delete a Docker container
To create a Docker image
Which of the following Docker commands is used to view running containers?
docker ps
docker ls
docker running
docker list
docker ps
What is the purpose of a Docker volume?
To store data persistently outside of a container
To isolate a container from the host system
To restrict network access for a container
To limit the resources available to a container
To store data persistently outside of a container
Which of the following is an example of a Docker image repository?
Dockerfile
Docker Hub
Docker container
Docker engine
Docker Hub
What is the default network mode for a Docker container?
Host
Bridge
Overlay
None
Bridge
Which of the following is not a valid Docker container state?
Running
Paused
Stopped
Sleeping
Sleeping
Submit
Retry
{"qz1-769874":"A containerization platform","qz1-769875":"Containers are isolated from the host system","qz1-769876":"docker run","qz1-769877":"Improved security","qz1-769878":"To create a Docker image","qz1-769879":"docker ps","qz1-769880":"To store data persistently outside of a container","qz1-769881":"Docker Hub","qz1-769882":"Bridge","qz1-769883":"Sleeping"}
Leave a Comment