Courseiva
Application DeploymentmediumMultiple SelectObjective-mapped

CKAD Application Deployment Practice Question

Which THREE of the following are valid reasons to use an annotation in Kubernetes?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

To store the name of the CI/CD tool that deployed the resource

Annotations are key-value metadata used for non-identifying information. Option A is incorrect because selection of Pods by a Service is done using labels, not annotations. Option B is correct: annotations can store tooling metadata like CI/CD tool name. Option C is correct: build versions and commit hashes are typical audit information stored in annotations. Option D is incorrect because resource limits are set in the container spec, not in annotations. Option E is correct: annotations are designed for arbitrary non-identifying metadata.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • To enable a Service to select Pods based on the annotation value

    Why it's wrong here

    Service selectors use labels, not annotations.

  • To store the name of the CI/CD tool that deployed the resource

    Why this is correct

    Annotations can hold deployment tool metadata.

  • To record the build version or commit hash for auditing

    Why this is correct

    Common use case for annotations.

  • To set resource limits for a container

    Why it's wrong here

    Resource limits are set in the container spec, not annotations.

  • To attach arbitrary non-identifying metadata to an object

    Why this is correct

    Annotations are designed for arbitrary metadata.

About these practice questions

Courseiva writes every CKAD question from scratch — 160 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CKAD practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CKAD exam.