Docker MCQ For Freshers & Experienced

  • Question 1) Who created Docker?
  • Question 2) Which of the following command is used for stopping a running container?
  • Question 3) Identify the false advantage of docker?
  • Question 4) How many types of the registry is there?
  • Question 5) Which of the following statement is false about the public registry?
  • Question 6) Which of the following command is used for running the images as a container?
  • Question 7) Identify the true statement about memories web swap flag?
  • Question 8) Which of the following is used for monitoring the docker in a production environment?
  • Question 9) How many states are there of docker containers?
  • Question 10) Identify the component of the Docker?
  • Question 11) Identify the type of Docker components?
  • Question 12) Identify the lifecycle of Docker Container?
  • Question 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.
  • Sharad Jaiswal
  • 16th Mar, 2020
  • 504 Followers

Docker MCQ
Updated ON

16th Mar, 2020

No. of Questions

18

Posted In

MCQ

Author

Sharad Jaiswal

Q1. Who created Docker?

  • Wilbur Davenport.
  • Solomon Hykes
  • Clarence Madison Dally.
  • Walter Dandy
View Answer
Solomon Hykes created Docker.

Q2. 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>
View Answer
$ docker kill <container_id> command is used for stopping a running container.

Q3. 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.
View Answer
The false advantage of docker is docker provides a difficult set-up initially.

Q4. How many types of the registry is there?

  • Two
  • Three
  • Four
  • Five
View Answer
There are two types of registry.

Q5. 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.
View Answer
The public registry helps in creating public dockers.

Q6. 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
View Answer
$ Sudo docker run -i -t alpine /bin/bash command is used for running the images as a container.

Q7. 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
View Answer
All of the above are the true statement about memories web swap flag.

Q8. 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
View Answer
Both 1 and 2 are used for monitoring the docker in a production environment.

Q9. How many states are there of docker containers?

  • Three
  • Four
  • Five
  • Six
View Answer
There are four states are there of docker containers.

Q10. Identify the component of the Docker?

  • Image
  • Platform image
  • Container
  • All of the above
View Answer
All of the above are the components of the Docker.

Q11. Identify the type of Docker components?

  • The Host
  • The Registry
  • The Client
  • All of the above
View Answer
All of the above are the types of Docker components.

Q12. Identify the lifecycle of Docker Container?

  • Create a container.
  • Run the Docker container.
  • Pause the Container.
  • All of the above
View Answer
All of the above are the lifecycle of Docker Container.

Q13. 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
View Answer
True, Containers running on a single machine all share the same operating system kernel, so they start instantly and make more efficient use of RAM.

Q14. ________is a cloud-hosted service from Docker that provides registry capabilities for public and private content.

  • Docker Cloud
  • Docker Swarm
  • Docker Hub
  • Docker Compose
View Answer
Docker Hub is a cloud-hosted service from Docker that provides registry capabilities for public and private content.

Q15. ________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
View Answer
Docker Swarm is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual Docker host.

Q16. Docker host's IP address by default is 192.168.99.100.

  • True
  • False
View Answer
True, docker host's IP address by default is 192.168.99.100.

Q17. Identify the feature of Docker?

  • Easy Modeling
  • Placement/Affinity
  • Version control
  • All of the above
View Answer
All of the above are the essential features of docker.

Q18. Docker develop in which year?

  • 2013
  • 2014
  • 2016
  • 2012
View Answer
Docker develop in 2013.

About Author :

  • Author of Docker MCQ

    Sharad Jaiswal

    Sharad Jaiswal is Sr. Web Developer from Noida area. He have rich experience in PHP, Angular Js, React, javascript and Node .If you any query or project on these programming you can drop your enquiry in comment section.

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.