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

Exam DCA All Questions

View all questions & answers for the DCA exam

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
bes_i
3 months, 1 week ago
Selected Answer: A
correct
upvoted 1 times
...
bombtux
10 months, 1 week 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 ...