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

Posted by Lucy on Aug 05, 2023 at 11:02 AM

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.

Get Premium DCA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
13 comments · newest first
VI
Vivan 11 months ago
Yes, but local storage can work for testing!
AN
Annette 11 months ago
I thought Persistent VolumeClaims needed a specific storage class.
MA
Malissa 11 months ago
Wait, isn't hostPath risky for production?
EL
Ellen 11 months ago
Totally agree, that's the way to go.
CO
Cory 12 months ago
You can use hostPath for that!
YE
Yesenia 12 months ago
I thought Persistent VolumeClaims were more about cloud storage options, so I'm a bit confused about using them with local paths.
VI
Viola 12 months ago
I feel like this approach might not be the best for production, but for development, it could be okay.
VE
Verdell 1 year 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.
DE
Delila 1 year 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.
GO
Goldie 1 year 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.
BL
Blythe 1 year 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.
JU
Julene 1 year 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.
TR
Tracie 1 year 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.
0/2000 characters

Save Cancel