Bird
0
0

In Kubernetes, what is the primary function of a ServiceAccount when associated with a Pod?

easy📝 Conceptual Q1 of 15
Kubernetes - RBAC and Security
In Kubernetes, what is the primary function of a ServiceAccount when associated with a Pod?
AIt manages the network policies applied to the Pod.
BIt schedules the Pod onto a specific node in the cluster.
CIt provides an identity for processes running in the Pod to interact with the Kubernetes API.
DIt stores persistent data volumes for the Pod.
Step-by-Step Solution
Solution:
  1. Step 1: Understand ServiceAccount Role

    A ServiceAccount in Kubernetes is used to provide an identity for processes running inside Pods.
  2. Step 2: Interaction with Kubernetes API

    This identity allows the Pod to authenticate and interact with the Kubernetes API server securely.
  3. Final Answer:

    It provides an identity for processes running in the Pod to interact with the Kubernetes API. -> Option C
  4. Quick Check:

    ServiceAccount = Pod identity for API access [OK]
Quick Trick: ServiceAccount gives Pods API identity [OK]
Common Mistakes:
  • Confusing ServiceAccount with node scheduling
  • Thinking it manages network policies
  • Assuming it handles storage

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes