KCNA · Question #139
What is an ephemeral container?
The correct answer is B. A specialized container that runs temporarily in an existing Pod. An ephemeral container (B) is a special type of container that can be injected into a running pod temporarily, primarily for live debugging and troubleshooting. Unlike regular containers, ephemeral containers are not defined in the pod spec at creation time and are not…
Question
What is an ephemeral container?
Options
- AA specialized container that runs as root for infosec applications.
- BA specialized container that runs temporarily in an existing Pod.
- CA specialized container that extends and enhances the 'main' container in a Pod
- DA specialized container that run before app container in a Pod
How the community answered
(64 responses)- A2% (1)
- B91% (58)
- C5% (3)
- D3% (2)
Explanation
An ephemeral container (B) is a special type of container that can be injected into a running pod temporarily, primarily for live debugging and troubleshooting. Unlike regular containers, ephemeral containers are not defined in the pod spec at creation time and are not restarted when they exit. Option C describes a sidecar container. Option D describes an init container. Option A is incorrect - ephemeral containers have no requirement to run as root and are unrelated to infosec applications.
Topics
Community Discussion
No community discussion yet for this question.