Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Docker DCA Exam - Topic 4 Question 73 Discussion

Actual exam question for Docker's DCA exam
Question #: 73
Topic #: 4
[All DCA Questions]

During development of an application meant to be orchestrated by Kubemetes, you want to mount the /data directory on your laptop into a container.

Will this strategy successfully accomplish this?

Solution. Create a Persistent VolumeClaim requesting storageClass:'''' (which defaults to local storage) and hostPath and use this to populate a volume in a pod.

Show Suggested Answer Hide Answer

Contribute your Thoughts:

0/2000 characters
Vivan
4 months ago
Yes, but local storage can work for testing!
upvoted 0 times
...
Annette
4 months ago
I thought Persistent VolumeClaims needed a specific storage class.
upvoted 0 times
...
Malissa
4 months ago
Wait, isn't hostPath risky for production?
upvoted 0 times
...
Ellen
5 months ago
Totally agree, that's the way to go.
upvoted 0 times
...
Cory
5 months ago
You can use hostPath for that!
upvoted 0 times
...
Yesenia
5 months ago
I thought Persistent VolumeClaims were more about cloud storage options, so I'm a bit confused about using them with local paths.
upvoted 0 times
...
Viola
5 months ago
I feel like this approach might not be the best for production, but for development, it could be okay.
upvoted 0 times
...
Verdell
5 months ago
I remember practicing a similar question where we had to use hostPath, but I can't recall if it was specifically for local storage.
upvoted 0 times
...
Delila
5 months ago
I think using a Persistent VolumeClaim with hostPath could work, but I'm not entirely sure if it will mount the local directory correctly.
upvoted 0 times
...
Goldie
6 months ago
I'm a bit confused by the wording of the question. I'll need to re-read it a few times to make sure I understand what they're asking.
upvoted 0 times
...
Blythe
6 months ago
Okay, let me see... Linear, Star, and Exponential are all Glow types with the Optical FX attribute, so the answer must be A. None.
upvoted 0 times
...
Julene
6 months ago
I think it's related to early media handling. We discussed similar scenarios in class, and I believe option A could be the one blocking the PRACK.
upvoted 0 times
...
Tracie
6 months ago
Okay, let me see if I can break this down step-by-step. I'll need to focus on decoupling the services and establishing a standardized contract for Service A.
upvoted 0 times
...

Save Cancel