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 45 Discussion

Posted by Cammy on May 04, 2022 at 08:14 AM

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

Suggested Answer: A

Get Premium DCA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
AS
Ashlyn 11 months ago
So, does this really work on all OS?
LO
Lorean 12 months ago
This is how I always do it, works like a charm!
QU
Quentin 12 months ago
Wait, isn't hostPath risky for production?
DE
Denae 12 months ago
Totally agree, that's the way to go!
VI
Virgilio 1 year ago
You can use hostPath for that!
LE
Leandro 1 year ago
I thought that using a PersistentVolumeClaim was the right way to go, but I'm not confident about the hostPath part.
KE
Kenny 1 year ago
I feel like there might be some security concerns with using hostPath, but I can't recall the details right now.
LU
Luann 1 year ago
I remember a practice question where we had to use PersistentVolumes, and it seems like this approach is similar.
RE
Refugia 1 year ago
I think using hostPath can work, but I'm not entirely sure if it's the best practice for production environments.
SH
Shaun 1 year ago
Okay, let me think this through. Veeam ONE is a monitoring and reporting tool, so it should be able to connect to Veeam Backup & Replication servers and the virtual environments it protects, like Microsoft Hyper-V. I'll go with those two.
ST
Stacey 1 year ago
I'm pretty confident the answer is in option B. That file sounds like it would contain configuration details for the managed host.
TH
Theodora 1 year ago
Consulting the project sponsor is definitely a good first step to get their guidance on handling this. I'll make sure to review the PMIS archives as well to understand the history.
0/2000 characters

Save Cancel