Docker DCA Practice Test - Questions Answers, Page 9

List of questions
Question 81

During development of an application meant to be orchestrated by Kubernetes, you want to mount the /data directory on your laptop into a container.
Will this strategy successfully accomplish this?
Solution: Create a PersistentVolume with storageciass: '' and hostPath: /data, and a persistentVolumeClaim requesting this PV. Then use that PVC to populate a volume in a pod
Question 82

Is this an advantage of multi-stage builds?
Solution: optimizes Images by copying artifacts selectively from previous stages
Question 83

Will this command list all nodes in a swarm cluster from the command line?
Solution: 'docker swarm nodes'
Question 84

Will this command list all nodes in a swarm cluster from the command line?
Solution: 'docker node Is'
Question 85

Will this command list all nodes in a swarm cluster from the command line?
Solution: 'docker Is -a'
Question 86

Is this a type of Linux kernel namespace that provides container isolation?
Solution: Storage
Question 87

Is this a type of Linux kernel namespace that provides container isolation?
Solution: Network
Question 88

Is this a type of Linux kernel namespace that provides container isolation?
Solution: Authentication
Question 89

Is this statement correct?
Solution: A Dockerfile provides instructions for building a Docker image
Question 90

A users attempts to set the system time from inside a Docker container are unsuccessful. Could this be blocking this operation?
Solution: inter-process communication
Question