New Year Sale 2026! 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

Actual exam question for Docker's DCA exam
Question #: 45
Topic #: 4
[All DCA 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

Contribute your Thoughts:

0/2000 characters
Ashlyn
4 months ago
So, does this really work on all OS?
upvoted 0 times
...
Lorean
4 months ago
This is how I always do it, works like a charm!
upvoted 0 times
...
Quentin
4 months ago
Wait, isn't hostPath risky for production?
upvoted 0 times
...
Denae
4 months ago
Totally agree, that's the way to go!
upvoted 0 times
...
Virgilio
5 months ago
You can use hostPath for that!
upvoted 0 times
...
Leandro
5 months ago
I thought that using a PersistentVolumeClaim was the right way to go, but I'm not confident about the hostPath part.
upvoted 0 times
...
Kenny
5 months ago
I feel like there might be some security concerns with using hostPath, but I can't recall the details right now.
upvoted 0 times
...
Luann
5 months ago
I remember a practice question where we had to use PersistentVolumes, and it seems like this approach is similar.
upvoted 0 times
...
Refugia
5 months ago
I think using hostPath can work, but I'm not entirely sure if it's the best practice for production environments.
upvoted 0 times
...
Shaun
5 months 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.
upvoted 0 times
...
Stacey
5 months ago
I'm pretty confident the answer is in option B. That file sounds like it would contain configuration details for the managed host.
upvoted 0 times
...
Theodora
5 months 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.
upvoted 0 times
...

Save Cancel