Question

Difficulty: MediumProvisioning Compute Engine and Kubernetes Engine Clusters

A healthcare enterprise is deploying a containerized analytics microservice on Google Cloud. The architecture team needs to provision a compute solution that minimizes operational management overhead, ensures compute nodes are strictly isolated from the public internet without public IP addresses, and enables container workloads to securely access Cloud Storage using least-privilege IAM permissions. Which combination of provisioning steps should the cloud architect recommend? (Select TWO)

  1. Provision a Google Kubernetes Engine (GKE) Autopilot cluster configured as a private cluster.Answer
  2. Configure Workload Identity on the GKE cluster and map the Kubernetes service account to a dedicated IAM service account with granular permissions.Answer
  3. C
    Grant the primitive Editor role (roles/editor) to the default Compute Engine service account attached to the cluster node pools.
  4. D
    Store the Terraform state file for cluster infrastructure provisioning in unversioned local directory storage on the deployment host.
  5. E
    Deploy public GKE node pools while omitting control plane authorized networks to allow unrestricted cluster management.

Answer

The correct recommendations are provisioning a private GKE Autopilot cluster and configuring Workload Identity mapped to a dedicated IAM service account with granular permissions.
Provisioning a private GKE Autopilot cluster satisfies both operational efficiency and network isolation requirements by eliminating manual node management and keeping node IPs internal. Configuring Workload Identity ensures pods obtain short-lived tokens associated with specific IAM service accounts, enforcing least-privilege security for Cloud Storage access.

Step-by-Step Solution

1
Select the appropriate GKE operational mode and network configuration
Provisioning a private GKE Autopilot cluster removes node management overhead while ensuring nodes have internal IP addresses only.
Autopilot automates cluster provisioning, repair, and scaling while private mode guarantees network isolation.
2
Configure application authentication using least-privilege security practices
Enabling Workload Identity binds Kubernetes service accounts to specific IAM service accounts.
This allows pod containers to safely authenticate to Google Cloud services without static service account keys or broad node permissions.

Key Concept

Provisioning GKE Private Autopilot Clusters with Workload Identity
Estimated Time:2m 0s
Rate this question