Showing posts with label DCA Dumps. Show all posts
Showing posts with label DCA Dumps. Show all posts

Monday, January 4, 2021

Get Docker DCA PDF Dumps for Simple Good results: Real Exam Dumps


 Question: 1


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'


Answer: A


Question: 2


Which one of the following commands will show a list of volumes for a specific container?


A. 'docker container logs nginx --volumes'

B. 'docker container inspect nginx'

C. 'docker volume inspect nginx'

D. 'docker volume logs nginx --containers'


Answer: B


Question: 3


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. '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'


Answer: C


Question: 5


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"?


A. docker run -d --name=reports --volume=data app2

B. docker run -d --name=reports --volumes-from=analytics app2

C. docker run -d --name=reports --volume=app1 app2

D. docker run -d --name=reports --mount=app1 app2


Answer: B