0% found this document useful (0 votes)
91 views7 pages

Pretest: Please Choice One or More Best Answers. Please Send Your Answers To

1. The document is a pretest with 30 multiple choice questions about Docker concepts and commands. It asks about topics like network driver types, cgroups resource isolation, UCP client bundles, Docker image and container commands, swarm clustering, Docker Hub, Dockerfile, and Docker Machine. 2. The pretest asks candidates to select the best answer for each question and send their responses to a provided email address. 3. The questions cover a wide range of Docker topics to test knowledge of concepts, tools, and common commands.
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
0% found this document useful (0 votes)
91 views7 pages

Pretest: Please Choice One or More Best Answers. Please Send Your Answers To

1. The document is a pretest with 30 multiple choice questions about Docker concepts and commands. It asks about topics like network driver types, cgroups resource isolation, UCP client bundles, Docker image and container commands, swarm clustering, Docker Hub, Dockerfile, and Docker Machine. 2. The pretest asks candidates to select the best answer for each question and send their responses to a provided email address. 3. The questions cover a wide range of Docker topics to test knowledge of concepts, tools, and common commands.
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/ 7

Pretest

18 August 2021

Please choice one or more best answers. Please send your answers to [email protected]

1. Choose the network driver type which isolates other aspects of the container and not the
network stack.
A. Macvlan networks
B. User-defined bridge networks
C. Host networks
D. Overlay networks
E. None of these

2. What is used by kernel for resource isolation during Docker container execution?
A. Overlay networks
B. Volumes
C. Control groups (also know as cgroups)
D. Namespaces
E. None of these

3. Select the UCP client bundles types.


A. Ops client bundles and dev client bundles
B. Admin user certificate bundles and user certificate bundles
C. Docker UCP client bundles and DTR client bundles
D. Docker CLI bundles and Docker web UI bundles
E. None of these

4. One or more images can be removed by _______________ command.


A. docker image rm
B. docker image delete
C. docker remove
D. docker delete
E. None of these

1|Page
5. What is the utility of the LABEL Dockerfile option?
A. Label a container that will run as an executable
B. Tells Docker how to test a container to check that it is still working
C. Provide defaults for an executing container
D. Adds metadata to an image
E. None of these

6. ______________ is the default format for docker inspect output.


A. html
B. json
C. xml
D. yaml
E. None of these

7. Tagging of a Docker image should not be done by which option?


A. Tag an image referenced by image ID
B. Tag an image referenced by user ID
C. Tag an image referenced by Name
D. Tag an image referenced by Name and Tag
E. None of these

8. A placement preference can be added by which docker command?


A. docker service update --placement-pref-add
B. docker service update --constraint-add
C. docker service update --placement-constraint-add
D. docker service update --pref-add
E. None of these

9. What adds a node to a swarm?


A. docker swarm create-node
B. docker swarm add-node
C. docker swarm join
D. docker join swarm
E. None of these

2|Page
10. Which of the following command used to connect a running container to an already existing
user-defined bridge?
A. docker connect network
B. docker network attach
C. docker network join
D. docker network connect
E. None of these

11. Docker containers are based on open standard________________________.


A. Allowing containers to run on all major Linux distributions only
B. Allowing containers to run on all Microsoft operating systems only
C. Allowing containers to run on all major Linux distributions and Microsoft operating
systems

12. Containers running on a single machine all share the same operating system kernel, so they
start instantly and make more efficient use of RAM.
A. True
B. False

13. Virtual Machines, Each virtual machine includes the application, the necessary binaries
and libraries, and an entire guest operating system - All of which may be tens of GBs in size.
A. True
B. False

14. Containers; Containers include the application and all of its dependencies, but share the
kernel with other containers. They run as an isolated process in userspace on the host
operating system. They’re also not tied to any specific infrastructure – Docker containers run on
any computer, on any infrastructure, and in any cloud.
A. True
B. False

3|Page
15. ________is a cloud-hosted service from Docker that provides registry capabilities for public
and private content.
A. Docker Swarm
B. Docker Hub
C. Docker Cloud
D. Docker Compose

16. ________is a tool for defining and running multi-container Docker applications.
A. Docker Swarn
B. Docker Hub
C. Docker Cloud
D. Docker Compose

17. ________is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual
Docker host.
A. Docker Swarm
B. Docker Hub
C. Docker Cloud
D. Docker Compose

18. ________is the enterprise-grade cluster management solution from Docker. It manages
your whole cluster from a single place.
A. Docker Swarm
B. Docker Hub
C. Docker Universal Control Plane
D. Docker Compose

19. ________is a hosted service that provides a Registry with build and testing facilities for
Dockerized application images, tools to help you set up and manage your host infrastructure,
and deployment features to help you automate deploying your images to your infrastructure.
A. Docker Cloud
B. Docker Hub
C. Docker Universal Control Plane
D. Docker Compose

4|Page
20. ________is an open-source project built to simplify and streamline using Docker on a Mac
or Windows. This tool automates the Docker installation and setup process and provides an
intuitive graphical user interface (GUI) for running Docker containers.
A. Docker Cloud
B. Docker Kitematic
C. Docker Universal Control Plane
D. Docker Compose

21. ________is a text document that contains all the commands a user could call on the
command line to assemble an image.
A. Docker Cloud
B. Docker Kitematic
C. Dockerfile
D. Docker Compose

22. Docker Toolbox is an installer for quick setup and launch of a Docker environment on Mac
and Windows systems. The toolbox includes these Docker tools:
A. Docker Machine for running docker-machine commands
B. Docker Engine for running the docker commands
C. Docker Compose for running the docker-compose commands
D. Kitematic, the Docker GUI
E. A shell pre-configured for a Docker command-line environment
F. Oracle VirtualBox

23. You can install Docker Engine directly to servers you have on cloud providers. The providers
supported are:
A. Amazon Web Services (AWS)
B. Microsoft Azure
C. Digital Ocean

24. On Docker Hub, you get ten private repositories for free with your Docker Hub user
account. If you need more accounts, you can upgrade your Docker Hub plan.
A. True
B. False

5|Page
25. Docker host’s IP address by default is 192.168.99.100
A. True
B. False

26. Following Docker command:


eval $(docker-machine env default)

is used to:
A. Activate default VM machine
B. Access a running container
C. Build an image
D. Commit changes done in a Docker image

27. Following Docker command:


docker exec -it container_id bash

is used to:
A. Activate default VM machine
B. Access a running container
C. Build an image
D. Commit changes done in a Docker image

28. Following Docker command:


docker build -t my_user/repo_name:1.0

is used to:
A. Activate default VM machine
B. Access a running container
C. Build an image
D. Commit changes done in a Docker image

6|Page
29. Following Docker command:
docker commit -m “My first update” container_ID
user_name/repository_name

is used to:
A. Activate default VM machine
B. Access a running container
C. Build an image
D. Commit changes done in a Docker image

30. Following Docker command:


docker push user_name/repository_name

is used to:
A. Activate default VM machine
B. Push changes done in an docker image into Docker Hub
C. Build an image
D. Commit changes done in a Docker image

7|Page

You might also like