The output of which command can be used to find the architecture and operating system an image is
compatible with?
A.
docker image inspect --filter {{.Architecture}} {{.OS}} ' <image-id>
B.
docker image ls <image-id>
C.
docker image inspect --format {{.Architecture}} {{.OS}} ' <image-id>
D.
docker image info <image-id>
docker image inspect --format {{.Architecture}} {{.OS}} ' <image-id>
Which of the following is true about overlay networks?
A.
Overlay networks are created only on the manager node that you created the overlay
networking on
B.
Overlay networks are created on all cluster nodes when you create the overlay network.
C.
Overlay networks are first created on the manager nodes. Then they are created on the
worker nodes once a task is scheduled on the specific worker node.
D.
Overlay networks are only created on the manager nodes
Overlay networks are created on all cluster nodes when you create the overlay network.
Which of the following constitutes a production-ready devicemapper configuration for the Docker engine?
A.
Create a volume group in devicemapper and utilize the '--dm.thinpooldev' Docker daemon
option, specifying the volume group
B.
Format a partition with xfs and mount it at '/var/lib/docker'
C.
Utilize the '--storage-opt dm.directlvm_device' Docker daemon option, specifying a block
device
D.
Nothing, devicemapper comes ready for production usage out of the box
Utilize the '--storage-opt dm.directlvm_device' Docker daemon option, specifying a block
device
What is the docker command to find the current logging driver for a running container?
A.
docker stats
B.
docker info
C.
docker config
D.
docker inspect
docker inspect
Which one of the following commands will result in the volume being removed automatically once the
container has exited?
A.
'docker run --del -v /foo busybox'
B.
'docker run --read-only -v /foo busybox'
C.
'docker run --rm -v /foo busybox'
D.
'docker run --remove -v /foo busybox'
'docker run --rm -v /foo busybox'
What is used by the kernel to Isolate resources when running Docker containers?
A.
Namespaces
B.
Overlay networks
C.
Volumes
D.
Control groups (also know as cgroups)
Control groups (also know as cgroups)
Which flag for a service would allow a container to consume more than 2 GB of memory only when there is
no memory contention but would also prevent a container from consuming more than 4GB of memory, in any case?
A.
--limit-memory 2GB --reserve-memory 4GB
B.
--limit-memory 4GB --reserve-memory 2GB
C.
--memory-swap 2GB --limit-memory 4GB
D.
--memory-swap 4GB --limit-memory 2GB
--memory-swap 2GB --limit-memory 4GB
Which of the following commands wifi automatically create a volume when a container is started?
A.
'docker container run --name nginxtest --volumes=/app nginx'
B.
'docker container run --name nginxtest -v /app:mount nginx'
C.
'docker container run --name nginxtest --volumes myvol:/app:new nginx
D.
docker container run --name nginxtest -v myvol:/app nginx'
'docker container run --name nginxtest --volumes=/app nginx'
What is the recommended way to configure the daemon flags and environment variables for your Docker
daemon in a platform independent way?
A.
Set the configuration options using the ENV variable
B.
Set the configuration options in '/etc/docker/daemon.json'
C.
Set the configuration DOCKER_OPTS in '/etc/default/docker'
D.
Using 'docker config' to set the configuration options.
Set the configuration options in '/etc/docker/daemon.json'
Which of the following are types of namespaces used by Docker to provide isolation? (Choose 2.)
A.
Host
B.
Network
C.
Process ID
D.
Authentication
E.
Storage
Network
Process ID
Page 2 out of 17 Pages |
Previous |