Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam DCA topic 1 question 80 discussion

Actual exam question from Mirantis's DCA
Question #: 80
Topic #: 1
[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?
Add a volume to the pod that sets hostPath.path: /data, and then mount this volume into the pod’s containers as desired.

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
bombtux
4 months ago
A. By adding a volume to the pod that specifies hostPath.path: /data, you can directly mount a host directory to the pod. This configuration makes your laptop's /data directory accessible within the pod. You can then mount this volume to the pod's containers as needed. It is a common practice during development to provide local data access to containers in a Kubernetes environment.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...