Cyber Monday 2023! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: CM25OFF
Welcome to Pass4Success

- Free Preparation Discussions

Docker Exam DCA Topic 4 Question 45 Discussion

Actual exam question for Docker's Docker Certified Associate Exam exam
Question #: 45
Topic #: 4
[All Docker Certified Associate Exam Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: A


Currently there are no comments in this discussion, be the first to comment!

Save Cancel