nerdexam
Google

PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #347

Your organization is migrating its primary web application from on-premises to Google Kubernetes Engine (GKE). You must advise the development team on how to grant their applications access to…

The correct answer is B. Enable Workload Identity for GKE. Assign a Kubernetes service account to the application and. Enabling Workload Identity and mapping Kubernetes service accounts to IAM service accounts allows fine-grained, secure, and manageable access to Google Cloud services from within GKE. This approach avoids using node-level service accounts or static keys, following Google Cloud…

Submitted by diego_uy· Apr 18, 2026Configuring access within a cloud solution environment

Question

Your organization is migrating its primary web application from on-premises to Google Kubernetes Engine (GKE). You must advise the development team on how to grant their applications access to Google Cloud services from within GKE according to security recommended practices. What should you advise the development team to do?

Options

  • AConfigure the GKE nodes to use the default Compute Engine service account.
  • BEnable Workload Identity for GKE. Assign a Kubernetes service account to the application and
  • CCreate a user-managed service account with only the roles required for the specific workload.
  • DCreate an application-specific IAM service account and generate a user-managed service account

How the community answered

(66 responses)
  • A
    6% (4)
  • B
    74% (49)
  • C
    3% (2)
  • D
    17% (11)

Explanation

Enabling Workload Identity and mapping Kubernetes service accounts to IAM service accounts allows fine-grained, secure, and manageable access to Google Cloud services from within GKE. This approach avoids using node-level service accounts or static keys, following Google Cloud security best practices by minimizing risk and improving identity isolation per workload.

Topics

#Workload Identity#GKE security#Identity and Access Management (IAM)#Service Accounts

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-SECURITY-ENGINEER Practice