Kubernetes and Cloud Native Associate (KCNA) — Question 146
What is an ephemeral container?
Answer options
- A. A specialized container that runs as root for infosec applications.
- B. A specialized container that runs temporarily in an existing Pod.
- C. A specialized container that extends and enhances the ‘main’ container in a Pod
- D. A specialized container that run before app container in a Pod
Correct answer: B
Explanation
The correct answer is B, as ephemeral containers are designed to run temporarily within an already existing Pod for debugging purposes. Option A is incorrect because ephemeral containers do not specifically run as root for infosec applications. Option C is also wrong since it describes the role of sidecar containers, and option D is incorrect because ephemeral containers do not necessarily run before other containers.