Bird
0
0

Which Kubernetes object metadata field would you use to add a version number that helps in selecting pods?

easy📝 Conceptual Q2 of 15
Kubernetes - Labels and Selectors
Which Kubernetes object metadata field would you use to add a version number that helps in selecting pods?
Aannotations
Bfinalizers
CownerReferences
Dlabels
Step-by-Step Solution
Solution:
  1. Step 1: Identify metadata fields used for selection

    Labels are used to select and filter objects in Kubernetes.
  2. Step 2: Understand annotations and other fields

    Annotations store metadata but are not used for selection; finalizers and ownerReferences serve different purposes.
  3. Final Answer:

    Labels are used to add version numbers for selecting pods. -> Option D
  4. Quick Check:

    Selection metadata = Labels [OK]
Quick Trick: Use labels for selection criteria [OK]
Common Mistakes:
  • Using annotations for filtering
  • Confusing finalizers with labels
  • Misusing ownerReferences for versioning

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes