Bird
0
0

What is the main purpose of a ServiceAccount in Kubernetes?

easy📝 Conceptual Q11 of 15
Kubernetes - RBAC and Security
What is the main purpose of a ServiceAccount in Kubernetes?
ATo schedule pods on specific nodes
BTo give a pod an identity and control its permissions inside the cluster
CTo manage network policies between pods
DTo store container images for pods
Step-by-Step Solution
Solution:
  1. Step 1: Understand what identity means in Kubernetes

    A ServiceAccount provides an identity for pods so they can authenticate to the Kubernetes API.
  2. Step 2: Recognize the role of permissions

    ServiceAccounts are linked to permissions (via Roles or ClusterRoles) to control what pods can do.
  3. Final Answer:

    To give a pod an identity and control its permissions inside the cluster -> Option B
  4. Quick Check:

    ServiceAccount = Pod identity and permissions [OK]
Quick Trick: ServiceAccount = pod identity + permissions [OK]
Common Mistakes:
  • Confusing ServiceAccount with image storage
  • Thinking ServiceAccount manages pod scheduling
  • Mixing ServiceAccount with network policies

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes