Olete.in
Articles
Mock Tests
🧪 Docker MCQ Quiz Hub
Docker Mcq Question Set 1
Choose a topic to test your knowledge and improve your Docker skills
1. Who created Docker?
Wilbur Davenport.
Clarence Madison Dally.
Solomon Hykes
Walter Dandy
2. Which of the following command is used for stopping a running container?
$ docker stop <:container_id>
$ docker kill <:container_id>
$ docker start <:container_id>
$ docker rm <:container_id>
3. Identify the false advantage of docker?
Docker provides a difficult set-up initially.
Simple configuration and interaction with docker composed as possible.
The application lifecycle can be described in detail, docker grants permission for it
Documentation provides information in detail.
4. How many types of the registry is there?
Two
Three
Four
Five
5. Which of the following statement is false about the public registry?
There is the availability of millions of images in the Docker hub.
The public registry helps in creating public dockers.
The public registry also called a docker hub.
Docker hub permits you for storing images privately.
6. Which of the following command is used for running the images as a container?
$ docker PS
$ Sudo docker run -i -t alpine /bin/bash
$ Sudo docker run container name
All of the above
7. Identify the true statement about memories web swap flag?
Swap permits the container for writing to express memory requirements to disc
When the container gets exhausted all the ramp available then only swap permits for writing the express memory requirements to disc.
Memory swap is the modification flag that only exists if memory is getting
All of the above
8. Which of the following is used for monitoring the docker in a production environment?
Docker stats.
Docker events
Both 1 and 2
None of these
9. How many states are there of docker containers?
Three
Four
Five
Six
10. Identify the component of the Docker?
Image
Platform image
Container
All of the above
11. Identify the type of Docker components?
The Host
The Registry
The Client
All of the above
12. Identify the lifecycle of Docker Container?
Create a container.
Run the Docker container.
Pause the Container.
All of the above
13. Containers running on a single machine all share the same operating system kernel, so they start instantly and make more efficient use of RAM.
True
False
all of the above
None of the mentioned
14. ___is a cloud-hosted service from Docker that provides registry capabilities for public and private content.
Docker Cloud
Docker Swarm
Docker Hub
Docker Compose
15. ____is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual Docker host.
Docker Hub
Docker Swarm
Docker Compose
Docker Cloud
16. Docker host's IP address by default is 192.168.99.100.
True
False
all of the above
None of the mentioned
17. Identify the feature of Docker?
Easy Modeling
Placement/Affinity
Version control
All of the above
18. Docker develop in which year?
2013
2014
2016
2012
19. How to push the new image to Docker registry?
docker kill myorg/myimg
docker rm myorg/myimg
docker push myorg/myimg
docker sudo myorg/myimg
20. What command should you run to see all running container in Docker?
$ docker ps
$ docker rm
$ docker sudo
$ docker add
21. How to install Docker?
yum install docker
rm install docker
install docker
start docker
22. How you manage Docker images?
Docker Hub
Docker Registry
Docker Swarm
Both A & B
23. Docker containerd is a core container runtime that manages?
The resources necessary to run the container
The container lifecycle of its Linux or Windows host system
Log analysis and reporting
Container and data security
24. What is a Dockerfile?
A developer who loves Docker and containerization, frequently espousing its virtues
Any report or document that Docker components produce
Any folder or document to run Docker components
A template used to describe the build of an image
25. Docker Machine manage virtual hosts that use___
Command line
Docker Datacenter
Graphical user interface
Any of the above
26. A docker registry is a place to store and distribute docker
Files
Codes
Images
All of the above
27. A docker container is an instance of an image with a specific configuration.
True
False
all of the above
None of the mentioned
28. Which is not true about docker hub?
The Hub is a network service
It's a totally private repository
It gives access to Docker images
Docker Hub is a network storage
29. What are the features of docker?
Easy Modeling
Version control
Placement/Affinity
All of the above
30. What is a benefit for a developer using docker?
Standardization and Productivity
Compatibility and Maintainability
CI Efficiency & Rapid Deployment
All of the above
31. A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image.
True
False
all of the above
None of the mentioned
Submit