Courseiva
Kubernetes FundamentalsmediumMultiple SelectObjective-mapped

KCNA Kubernetes Fundamentals Practice Question

Which TWO of the following are valid Kubernetes resource types that can be used to store configuration data or secrets?

⚠ Common exam trap

CNCF often tests the misconception that Volumes or PersistentVolumeClaims can store configuration data or secrets, but they are storage abstractions for arbitrary data, not the dedicated key-value resources (ConfigMap and Secret) designed for configuration and secrets management.

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

Secret

ConfigMaps and Secrets are the only dedicated Kubernetes resource types for storing configuration data and secrets, respectively. ConfigMaps store non-sensitive data as key-value pairs, while Secrets store sensitive data (base64-encoded). Other options like Volume, PersistentVolumeClaim, and ServiceAccount are not designed for this purpose.

Answer analysis

Option-by-option breakdown

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

  • Secret

    Why this is correct

    Correct: Secrets are a dedicated resource for storing sensitive configuration data like passwords and tokens.

  • Volume

    Why it's wrong here

    Incorrect: Volume is not a top-level Kubernetes resource type; it is a field in a Pod spec for mounting storage, not for storing configuration data.

  • PersistentVolumeClaim

    Why it's wrong here

    Incorrect: PersistentVolumeClaim is used to request persistent storage, not for storing configuration data or secrets.

  • ServiceAccount

    Why it's wrong here

    Incorrect: ServiceAccount is for identity and access control; it does not store configuration data or secrets itself.

  • ConfigMap

    Why this is correct

    Correct: ConfigMap is the standard resource for storing non-sensitive configuration data as key-value pairs.

About these practice questions

Courseiva writes every KCNA question from scratch — 833 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 KCNA 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 KCNA exam.