100% found this document useful (1 vote)
2K views4 pages

Docker MCQ

This document contains 20 multiple choice questions about Docker concepts like Dockerfiles, Docker images, Docker Engine, Docker Swarm, Docker Hub, Docker container lifecycle, Docker architecture, Docker commands, and advantages of Docker containers. It provides answer options for each question about key Docker topics and concludes by advertising another website for more study materials.

Uploaded by

HAMZA RiaZ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
2K views4 pages

Docker MCQ

This document contains 20 multiple choice questions about Docker concepts like Dockerfiles, Docker images, Docker Engine, Docker Swarm, Docker Hub, Docker container lifecycle, Docker architecture, Docker commands, and advantages of Docker containers. It provides answer options for each question about key Docker topics and concludes by advertising another website for more study materials.

Uploaded by

HAMZA RiaZ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

By InterviewMocks.

com
Docker MCQ Test

Q1. Docker Machine manage virtual hosts that use_______

A. Command line
B. Any of the above
C. Docker Datacenter
D. Graphical user interface

Q2. What is a Dockerfile?

A. A developer who loves Docker and containerization, frequently espousing its virtues
B. Any folder or document to run Docker components
C. A template used to describe the build of an image
D. Any report or document that Docker components produce

Q3. Docker containerd is a core container runtime that manages?

A. Container and data security


B. Log analysis and reporting
C. The container lifecycle of its Linux or Windows host system
D. The resources necessary to run the container

Q4. How you manage Docker images?

A. Docker Hub
B. Docker Registry
C. Docker Swarm
D. Both A & B

Q5. What is Docker?

A. an open-source lightweight containerisation technology


B. an operating system
C. language
D. None of the above
Q6. What are the important features of Docker?

A. Easy Modeling
B. Version control
C. Placement/Affinity
D. All of the above

Q7. What is Docker image?

A. read-only template
B. Docker platform
C. language
D. None of the above

Q8. What is Docker Engine?

A. an open source containerisation technology for building and containerising your applications
B. operating system
C. language
D. read only template

Q9. What is Docker Swarm?

A. a container orchestration tool


B. read only template
C. centralisation platform
D. None of the above

Q10. What is Docker Hub?

A. a service provided by Docker for finding and sharing container images with your team
B. centralised tool
C. platform
D. All of the above

Q11. ___ is technology that lets you create useful IT services using resources that are
traditionally bound to hardware.
A. Virtualization
B. Docker hub
C. Docker swarm
D. All of the above

Q12. A ___ is computer software, firmware or hardware that creates and runs virtual
machines.

A. hypervisor
B. Version control
C. Virtualization
D. hub

Q13. Which one of the following is not an important advanced docker commands?

A. docker info
B. docker pull
C. docker stats
D. None of the above

Q14. How to use JSON instead of YAML compose file?

A. docker push myorg/img


B. /var/lib/docker/volumes
C. systemctl start/stop docker
D. docker-compose -f docker-compose.json up

Q15. What are the steps for the Docker container life cycle?

A. Build
B. Pull
C. Run
D. All of the above

Q16. CNM stands for __.

A. Container Networking Model


B. Central Networking Model
C. Container Networking Method
D. All of the above
Q17. What are the three components of Docker Architecture?

A. Client
B. Docker-Host
C. Registry
D. All of the above

Q18. What the states of Docker container?

A. Running
B. Paused
C. Restarting
D. Exited
E. All of the above

Q19. Which one of the following command should you run to see all running container
in Docker?

A. $ docker ps
B. $ docker all
C. $ docker sp
D. All of the above

Q20. What are the advantages of using Docker container?

A. Offers an efficient and easy initial set up.


B. Documentation provides every bit of information.
C. Allows you to describe your application lifecycle in detail.
D. Simple configuration and interacts with Docker Compose.
E. All of the above

Please Visit interviewmocks.com to download more pdfs

You might also like