Kubernetes and Cloud Native Associate (KCNA) — Question 47
What is the primary mechanism to identify grouped objects in a Kubernetes cluster?
Answer options
- A. Custom Resources
- B. Labels
- C. Label Selector
- D. Pod
Correct answer: B
Explanation
Labels are key-value pairs associated with Kubernetes objects, allowing users to categorize and select groups of objects easily. While Custom Resources and Pods are important components within Kubernetes, they do not serve the primary function of identifying grouped objects. A Label Selector is a tool used to filter based on labels but is not the mechanism itself for identification.