KCNA · Question #142
What service account does a Pod use in a given namespace when the service account is not specified?
The correct answer is D. default. When a pod does not explicitly specify a service account, Kubernetes automatically mounts the 'default' service account (D) from the same namespace. Every namespace has a 'default' service account created automatically. Options A (admin), B (sysadmin), and C (root) are not…
Question
What service account does a Pod use in a given namespace when the service account is not specified?
Options
- Aadmin
- Bsysadmin
- Croot
- Ddefault
How the community answered
(16 responses)- A6% (1)
- C6% (1)
- D88% (14)
Explanation
When a pod does not explicitly specify a service account, Kubernetes automatically mounts the 'default' service account (D) from the same namespace. Every namespace has a 'default' service account created automatically. Options A (admin), B (sysadmin), and C (root) are not automatically created service accounts in Kubernetes namespaces and do not represent any default behavior.
Topics
Community Discussion
No community discussion yet for this question.