Questions
Answer the following questions to test your knowledge of this chapter:
- You should use
overlay2
for CentOS and RHEL 7 and below. (True/False) - Which of the following statements is true? (Choose four)
A. Volumes increase IOPS.
B. Volumes decrease IOPS.
C.
tmpfs
mounts use system memory.D. You can use bind mounts to mount host files to containers.
E. You can use volume mounts for a multi-instance active-active configuration.
- Changing the storage driver removes existing containers from the host. (True/False)
devicemapper
is a better option thanoverlay2
for write-intensive containers. (True/False)- Which of the following logging drivers are supported by Docker? (Choose four)
A.
journald
B. Splunk
C. JSON files
D. Syslog
E. Logstash
- Docker Compose is an imperative approach to managing containers. (True/False)
- Which of the following
docker run
configurations are correct? (Choose three)A.
docker
run nginx
B.
docker run --name
nginx nginx:1.17.3
C.
docker run ...