KCSA Kubernetes Security Fundamentals Practice Question
An application running in a pod needs to securely consume a database password without storing it in plaintext within the container image or deployment manifest. Which native Kubernetes resource is best suited for storing this sensitive key-value data?
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
Kubernetes Secrets are designed specifically to store and manage sensitive information such as passwords, OAuth tokens, and ssh keys.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
PersistentVolumeClaim
Why it's wrong here
PersistentVolumeClaims request storage volumes for persistent data storage, not for managing application configuration secrets.
- ✗
ResourceQuota
Why it's wrong here
ResourceQuotas limit resource consumption (CPU, memory, storage) within a namespace.
- ✓
Secret
Why this is correct
Secrets are intended for sensitive data and provide mechanisms to mount them as files or environment variables inside pods.
- ✗
ConfigMap
Why it's wrong here
ConfigMaps store non-confidential data in plaintext key-value pairs and should not be used for sensitive credentials.
About these practice questions
One of 320 original KCSA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official CNCF / Linux Foundation exam blueprint
This KCSA practice question is part of Courseiva's free CNCF / Linux Foundation 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 KCSA exam.