Soru

Zorluk: KolayProvisioning Compute Engine and Kubernetes Engine Clusters

A DevOps team needs to provision a new Google Kubernetes Engine (GKE) cluster for an enterprise application while adhering to basic security and administrative access best practices. Which of the following configurations should the team implement when creating the cluster? (Select TWO.)

  1. Enable Control Plane Authorized Networks to restrict administrative endpoint access to authorized IP ranges.Cevap
  2. Create a dedicated custom IAM service account with minimal required roles to serve as the node pool identity.Cevap
  3. C
    Assign the Primitive Owner role to the cluster's default Compute Engine service account to prevent API permission issues.
  4. D
    Leave the control plane endpoint open to all public IP addresses (0.0.0.0/0) so deployment tools can access it without network restriction rules.

Cevap

The team should enable Control Plane Authorized Networks to restrict API server access to specific IP addresses and create a custom IAM service account with minimal permissions for the GKE nodes.
Enabling Control Plane Authorized Networks restricts API master endpoint access to verified IP blocks, and using a dedicated minimal custom service account for GKE node pools upholds security best practices.

Adım Adım Çözüm

1
Configure control plane network security
Authorized IP ranges are enforced for cluster master access.
Restricting control plane access prevents unauthorized external access to Kubernetes administration APIs.
2
Configure node identity
Nodes run under a specific custom service account with minimal IAM roles.
Following least privilege prevents workloads running on nodes from abusing broad compute default permissions.

Anahtar Kavram

Provisioning secure GKE clusters with control plane authorized networks and least-privilege node service accounts.
Bu soruyu puanla