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 2 Question 46 Discussion

Posted by Ma on May 06, 2022 at 01:56 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: Add a volume to the pod that sets hostPath.path: /data, and then mount this volume into the pod's containers as desired.

Suggested Answer: B

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
EM
Emilio 11 months ago
No way, I thought hostPath was risky for production!
NA
Nakisha 12 months ago
Just be careful with permissions on the host.
LU
Luke 12 months ago
Wait, can you really mount a local path like that?
JA
Jamie 12 months ago
Totally agree, it's a solid approach.
RE
Rebbecca 1 year ago
Yes, that's how hostPath works!
ET
Ethan 1 year ago
I think the solution is correct, but I wonder if there are any limitations on the Kubernetes version that could affect this.
KE
Keneth 1 year ago
I feel a bit uncertain about security implications with hostPath. Is it really safe to expose my local files like that?
EM
Emilio 1 year ago
I remember practicing a similar question, and I believe the answer is yes. Mounting a host directory is a common use case.
DA
Daron 1 year ago
I think using hostPath is the right approach, but I'm not entirely sure if it works on all operating systems.
YU
Yuriko 1 year ago
Hmm, this is a tricky one. I'm not totally sure which type of attack always impacts availability. I'll have to think through the different attack vectors and their effects on the system.
LO
Lorean 1 year ago
This looks like a straightforward definition question. I'll focus on understanding the key terms in the answer choices and pick the one that best matches the definition provided.
PH
Phillip 1 year ago
This seems like a straightforward question about database management technology. I'm pretty confident that Microsoft SQL Server is the correct answer.
0/2000 characters

Save Cancel