When a Pod is deployed without an explicitly assigned Service Account, which Service Account is automatically assigned?

Study for the Kubernetes Cloud Native Associate (KCNA) Certification 1 Test. Master the core concepts of Kubernetes with multiple-choice questions and detailed explanations. Prepare and boost your confidence for the KCNA certification exam!

Multiple Choice

When a Pod is deployed without an explicitly assigned Service Account, which Service Account is automatically assigned?

Explanation:
When you don’t specify a Service Account for a Pod, Kubernetes binds the Pod to the default Service Account in that Pod’s namespace. Every namespace includes a default Service Account named default, and Kubernetes will attach this SA to the Pod automatically, mounting its credentials so the Pod can interact with the Kubernetes API (unless you override it with a different serviceAccountName). The other names listed aren’t standard Service Accounts in Kubernetes, so they wouldn’t be used by default.

When you don’t specify a Service Account for a Pod, Kubernetes binds the Pod to the default Service Account in that Pod’s namespace. Every namespace includes a default Service Account named default, and Kubernetes will attach this SA to the Pod automatically, mounting its credentials so the Pod can interact with the Kubernetes API (unless you override it with a different serviceAccountName). The other names listed aren’t standard Service Accounts in Kubernetes, so they wouldn’t be used by default.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy