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

Answer: C

Question: 4

Which one of the following commands will result in the volume being removed automatically once
the container
has exited?

A container named “analytics” that stores results in a volume called “data” was created.
docker run -d –name=analytics -v data:/data app1
How are the results accessed in “data” with another container called “app2”?