Intermediate Kubernetes
Q70 / 100

What is the purpose of "annotations" versus "labels" on Kubernetes objects?

Correct! Well done.

Incorrect.

The correct answer is B) Labels are used for identifying and selecting objects (and are subject to selector queries), while annotations attach arbitrary non-identifying metadata to objects, often used by tools for additional information without affecting selection

B

Correct Answer

Labels are used for identifying and selecting objects (and are subject to selector queries), while annotations attach arbitrary non-identifying metadata to objects, often used by tools for additional information without affecting selection

Explanation

Labels are meant for identifying/grouping resources via selectors (and have size/format restrictions for indexing), while annotations can hold larger, more arbitrary metadata (like build info or tool-specific configuration) not used for selection.

Progress
70/100