Kubernetes and Cloud Native Associate (KCNA) — Question 159

Which of the following options include resources cleaned by the Kubernetes garbage collection mechanism?

Answer options

Correct answer: D

Explanation

The correct answer is D, as Kubernetes garbage collection specifically targets terminated pods, completed jobs, and orphaned objects without owner references for cleanup. Options A, B, and C mention resources that are not automatically cleaned up by the garbage collector, such as CertificateSigningRequests and logs.