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 KCNA topic 1 question 21 discussion

Actual exam question from Linux Foundation's KCNA
Question #: 21
Topic #: 1
[All KCNA Questions]

How to load and generate data required before the Pod startup?

  • A. Use an init container with shared file storage.
  • B. Use a PVC volume.
  • C. Use a sidecar container with shared volume.
  • D. Use another pod with a PVC.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
phcunha
1 month, 2 weeks ago
A. Use an init container with shared file storage. Explanation: Init containers are executed before the main containers in a Pod are started. They are designed to perform initialization tasks, such as loading and generating data required before the main containers start. Init containers can share file storage with the main containers in the Pod, allowing them to perform tasks like data loading or generation and then making that data available to the main containers. An analogy for using an init container could be preparing ingredients before cooking a meal. Just as you might prepare ingredients like chopping vegetables or marinating meat before starting to cook, init containers prepare data or perform tasks necessary for the main containers to function properly before the main containers start running.
upvoted 1 times
...
nvtienanh
8 months, 2 weeks ago
Selected Answer: A
A is correct
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 ...