Soru

Zorluk: OrtaProvisioning Compute Engine and Kubernetes Engine Clusters

A retail platform is migrating its core ordering microservices to Google Cloud. Security policies mandate that cluster worker nodes must not have public IP addresses and that administrative access to the cluster control plane must be restricted exclusively to the enterprise's corporate management subnet (10.50.0.0/2410.50.0.0/24) connected via Cloud VPN. Which deployment strategy should a cloud architect select when provisioning the Google Kubernetes Engine (GKE) cluster to meet these requirements?

  1. Provision a GKE private cluster with master authorized networks enabled, adding the 10.50.0.0/24 CIDR block to the allowed authorized ranges.Cevap
  2. B
    Provision a GKE private cluster with a private control plane endpoint only, without configuring control plane authorized networks.
  3. C
    Provision a standard GKE cluster with public node pools across multiple zones and assign the IAM Owner role to the cluster's default service account.
  4. D
    Deploy the workload to a Compute Engine Managed Instance Group (MIG) across regions without requesting regional compute quota increases prior to deployment.

Cevap

Provision a GKE private cluster with master authorized networks enabled, adding the 10.50.0.0/24 CIDR block to the allowed authorized ranges.
The correct strategy is to provision a GKE private cluster and enable master authorized networks with the management CIDR range (10.50.0.0/24). A private cluster ensures worker nodes only have private IP addresses, preventing public internet exposure. Master authorized networks restrict HTTPS access to the Kubernetes control plane strictly to specified CIDR blocks, fulfilling both compliance constraints.

Adım Adım Çözüm

1
Identify the network security requirement for worker nodes.
Worker nodes must use private IP addresses only, requiring a GKE private cluster configuration.
Private clusters prevent node instances from receiving public IP addresses.
2
Identify the access restriction requirement for the cluster control plane.
Access to the GKE control plane must be locked down to the management subnet CIDR block (10.50.0.0/24).
Master authorized networks enforce network perimeter security at the GKE control plane endpoint.

Anahtar Kavram

Provisioning GKE Private Clusters with Master Authorized Networks
Bu soruyu puanla