Kubernetes and Cloud Native Associate (KCNA) — Question 1
What default level of protection is applied to the data in Secrets in the Kubernetes API?
Answer options
- A. The values use AES Symmetric Encryption
- B. The values are stored in plain text
- C. The values are encoded with SHA256 hashes
- D. The values are base64 encoded
Correct answer: D
Explanation
The correct answer is D because Kubernetes Secrets are stored as base64 encoded strings, allowing for easy encoding and decoding. Options A, B, and C are incorrect as they do not accurately represent how Kubernetes handles Secrets. Specifically, Secrets are not stored encrypted by default, nor are they plain text or hashed with SHA256.