Question

Difficulty: MediumProvisioning Compute Engine and Kubernetes Engine Clusters

An organization is deploying a financial processing application on a Google Kubernetes Engine (GKE) private cluster. Company security policy dictates that the cluster's control plane must not accept administrative traffic over the public internet, and administrative commands must only originate from a dedicated management subnet in your Virtual Private Cloud (VPC). Which configuration should you implement to satisfy these security requirements while maintaining administrative access?

  1. Enable private endpoint access on the cluster control plane and configure Master Authorized Networks with the CIDR range of the management subnet.Answer
  2. B
    Disable public endpoint access on the cluster control plane without defining Master Authorized Networks or network routes from the management subnet.
  3. C
    Assign the primitive IAM Owner role to the cluster administrative service account to bypass control plane endpoint network restrictions.
  4. D
    Replace the GKE cluster with an unmanaged Compute Engine Virtual Machine instance group to avoid managing Kubernetes control plane endpoints.

Answer

Enable private endpoint access on the cluster control plane and configure Master Authorized Networks with the CIDR range of the management subnet.
Enabling private control plane access combined with Master Authorized Networks ensures that only traffic originating from specified internal CIDR blocks (the management subnet) can connect to the Kubernetes API server.

Step-by-Step Solution

1
Analyze control plane security requirements
The control plane endpoint must block public internet ingress while allowing traffic from a specific VPC subnet.
Organizational governance mandates perimeter restriction for administrative endpoints.
2
Evaluate GKE cluster networking features
Private GKE clusters support private control plane endpoints and Master Authorized Networks.
Master Authorized Networks provide IP-based firewalling for the Kubernetes API server endpoint.
3
Formulate deployment configuration
Specify the management subnet CIDR block under Master Authorized Networks for the cluster's private control plane endpoint.
This allows administrators on the management subnet to communicate with the API server while blocking unauthorized access.

Key Concept

GKE Private Cluster Control Plane Security & Authorized Networks
Rate this question