ExamGecko
Home / Docker / DCA / Practice Test 3
Ask Question

Docker DCA Practice Test 3

Add to Whishlist
00:00:00
Show Answer
Report Issue   Restart test

Question 1 / 40

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

Become a Premium Member for full access
  Unlock Premium Member