Kubernetes and Cloud Native Associate (KCNA) — Question 150
Which two elements are shared between containers in the same pod?
Answer options
- A. Network resources and liveness probes.
- B. Storage and container image registry.
- C. Storage and network resources.
- D. Network resources and Dockerfiles.
Correct answer: C
Explanation
The correct answer is C because containers in the same pod share both storage volumes and network resources, allowing them to communicate and access persistent data seamlessly. The other options either include elements that aren't shared, like liveness probes or Dockerfiles, or combine components that don't pertain to pod sharing.