MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
Docker
Quiz 2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
What's the main goal for use to docker swarm or kor mesos or etc ?
high level of availability
container orchestration
manage multiple containers deployed
all of the above
Q.2
This command takes a snapshot of your current Docker container and puts it in a new image
docker pull
docker push
docker commit
docker tag
Q.3
List inactive and active containers
docker ps -a
docker ps
docker ps -l
docker ps -d
Q.4
What is the purpose of an image?
To provide a traditional process for an application.
To provide the network configuration for an application's network stack.
To provide the filesystem for an application.
To provide an isolated process for an application.
Q.5
Which of the following explains the relationship between a Docker image and Docker container?
A Docker container is used to start a Docker image.
A Docker container is a running instance of an image.
A Docker container is a collection of image layers.
A docker container is two or more images that share a common execution environment.
Q.6
What is a dangling image?
An intermediate part of the chain of image layer.
An image that's not associated with a tag.
An image that's not associated with a volume.
An image that's not associated with a running container.
Q.7
Which of the following docker commands will build a container image using instructions in a Dockerfile?
docker commit create
docker image create
docker image build
docker commit build
Q.8
Which of the following best describes a Docker Image?
A read-only template for starting one or more containers.
A data volume that can be mounted inside of a container.
A point-to-time snapshot of a container used for backups.
A read-write template for starting one or more containers.
Q.9
Which Docker CLI commands can be used in a sequence to create a Docker image?
docker container run, and docker container commit.
docker container run, and docker image commit.
docker container ls, and docker image commit.
docker container diff, and docker container commit.
Q.10
What format does Docker uses to export images?
Image
iso
zip
tar
dmg
Q.11
Which command allows you to access the live output of processes running inside a container?
docker exec
docker inspect
docker run
docker attach
Q.12
Which of the following correctly describes a Docker container?
A text file describing the dependencies of an application.
An online registry of Docker images.
An instance of an application created from a Docker image.
A package consisting of an application and all its dependencies.
Q.13
How does the dockerd expose the Docker API?
gRPC on a Unix socket.
As a versioned HTTP(S) REST interface.
Q.14
To delete all containers that have stopped using the command?
docker prune
docker rm -f
docker rmi
Q.15
What is the function of the CMD instruction if the ENTRYPOINT instruction is also used?
CMD instructions get ignored.
CMD instructions override ENTRYPOINT instructions.
CMD instructions get interpreted as arguments to ENTRYPOINT.
CMD instructions are used to create the environment in which ENTRYPOINT instructions run.
Q.16
Does Fargate on ECS support the bridge networking mode?
True
False
Q.17
Is Fargate on ECS ISOcompliant?
True
False
Q.18
What do you have to manage when running Fargate on ECS?
Tasks
Operating System
Updates
Docker Engine
Q.19
What Docker command shows running containers?
docker ps
docker images
docker show
docker list
Q.20
What Docker command do you use to create and run a container?
docker exec
docker run
docker pull
docker start
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page