Kubernetes and Cloud Native Associate (KCNA) — Question 82
A Kubernetes _____ is an abstraction that defines a logical set of Pods and a policy by which to access them.
Answer options
- A. Selector
- B. Controller
- C. Service
- D. Job
Correct answer: C
Explanation
The correct answer is C, Service, because it is specifically designed to provide a stable endpoint for accessing a set of Pods. Option A, Selector, is a mechanism for selecting Pods, while B, Controller, manages the state of Pods, and D, Job, is used for running batch processes, none of which provide the same function as a Service.