Bird
0
0

Why is it important to keep configuration separate from application code in Kubernetes from a security perspective?

hard📝 Conceptual Q10 of 15
Kubernetes - ConfigMaps
Why is it important to keep configuration separate from application code in Kubernetes from a security perspective?
AIt limits exposure of sensitive data by using Secrets and RBAC controls
BIt makes the application code run faster
CIt reduces the number of Pods needed
DIt automatically encrypts all configuration data
Step-by-Step Solution
Solution:
  1. Step 1: Identify security benefits of config separation

    Separating config allows sensitive data to be stored in Secrets with access controls.
  2. Step 2: Explain how this limits exposure

    RBAC restricts who can view Secrets, improving security over embedding secrets in code.
  3. Final Answer:

    It limits exposure of sensitive data by using Secrets and RBAC controls -> Option A
  4. Quick Check:

    Config separation improves security via Secrets and RBAC [OK]
Quick Trick: Use Secrets and RBAC to secure sensitive config [OK]
Common Mistakes:
  • Thinking config separation speeds app
  • Assuming fewer Pods improves security
  • Believing config is auto-encrypted

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes