11.) Which of the following is NOT a component of Docker architecture?
A) Docker Engine
B) Docker CLI
C) Docker Daemon
D) Virtual Machine Manager
12.) What is the default port on which Docker Daemon listens for API requests?
A) 22
B) 2375
C) 8080
D) 443
13.) What is the difference between a container and an image?
A) A container is a running instance of an image.
B) An image is a running container.
C) A container is the same as an image.
D) An image cannot be reused, but a container can.
14.) Which component of Docker is responsible for creating containers?
A) Docker Engine
B) Docker CLI
C) Docker Compose
D) Docker Hub
15.) What is Docker Hub?
A) A tool for monitoring Docker containers
B) A cloud-based registry for Docker images
C) A command-line interface for Docker
D) A physical server for storing Docker data
16.) What is the purpose of the docker pull command?
A) To remove an image
B) To create a new container
C) To list all available images
D) To download an image from a registry
17.) What is the name of the tool used to define multi-container applications?
A) Docker Hub
B) Docker CLI
C) Docker Compose
D) Docker Engine
18.) How does Docker ensure efficient use of system resources?
A) By creating virtual machines
B) By using a shared kernel and containerization
C) By running all containers on different hosts
D) By allocating fixed memory to containers
19.) What does Docker use to optimize image layers?
A) Virtual memory
B) Layer caching
C) Hypervisor technology
D) Volume mapping
20.) Which of the following best describes a Dockerfile?
A) A script for managing Docker networks
B) A log file for tracking container events
C) A configuration file for Docker CLI
D) A template for creating Docker images
Related