nerdexam
Google

PROFESSIONAL-CLOUD-NETWORK-ENGINEER · Question #225

As part of your organization's modernization efforts, the application teams are migrating services to GKE on Google Cloud (GKE). The GKE clusters will live in service projects. The teams have…

The correct answer is A. Ensure that the service project's GKE service account has the compute.securityAdmin. When using GKE in a Shared VPC environment, GKE requires elevated IAM permissions beyond what is needed for plain Compute Engine instance creation. The service project's GKE service account must have compute.securityAdmin on the host project (to manage firewall rules for…

Submitted by ngozi_ng· Apr 18, 2026Implementing network security

Question

As part of your organization's modernization efforts, the application teams are migrating services to GKE on Google Cloud (GKE). The GKE clusters will live in service projects. The teams have validated the applications and configurations in their sandbox projects. When moving to production, you noticed that GKE nodes were not being created. Users were able to create Compute Engine instances, but the operation failed when they tried to create a GKE cluster. You need to enable the application teams so they can create said GKE clusters. What should you do?

Options

  • AEnsure that the service project's GKE service account has the compute.securityAdmin,
  • BEnsure that the service project's GKE service account has the compute.securityAdmin,
  • CEnsure that the service project's GKE service account has the compute.networkUser IAM
  • DReview the firewall rules configuration in the VPC. Identify what rule is blocking node creation.

How the community answered

(25 responses)
  • A
    76% (19)
  • B
    4% (1)
  • C
    4% (1)
  • D
    16% (4)

Explanation

When using GKE in a Shared VPC environment, GKE requires elevated IAM permissions beyond what is needed for plain Compute Engine instance creation. The service project's GKE service account must have compute.securityAdmin on the host project (to manage firewall rules for node-to-control-plane communication) along with compute.networkUser (to use shared subnets) and container.hostServiceAgentUser (to interact with the host project's network resources). Since regular Compute Engine instances work but GKE cluster creation fails, the missing permissions are GKE-specific. Option C only grants compute.networkUser, which is insufficient. Option D addresses firewalls rather than IAM. Option B differs from A in a critical permission.

Topics

#GKE#IAM#Service Accounts#Network Security

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-NETWORK-ENGINEER Practice