
Docker
Authored by DevOps MCQ
Professional Development
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a Docker image?
A running instance of a Docker container
A virtual machine template
A snapshot of a Docker container
A compressed archive containing an application and its dependencies
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following options is not available for containers?
build
update
destroy
create
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which option is used to map a port from the host to the container when running a Docker container?
-e
-v
-p
-i
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a Docker Volume?
To store Docker images efficiently
To create isolated networks for containers
To manage container logs and outputs
To persist data beyond the lifecycle of a container
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Docker networking mode allows containers to communicate with each other on the same host?
Bridge
Host
Overlay
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Dockerfile instructions admit Shell and Exec formats?
RUN
Only CMD
ENTRYPOINT and CMD
All Dockerfile instructions admit both Exec and Shell formats
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We executed a container named webserver. Which of the following sentences is false?
It can be removed using docker container rm --force
We can update its image using docker container update
We can rename the webserver container to websrv using docker container rename
We can view the container's output using docker container logs
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?