Interview Q&A · questions with model answers

GKE Interview Questions

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. Most asked GKE Autopilot or Standard: what's the difference, and how do you choose?

    In Autopilot, Google manages the nodes: you deploy Pods, pay for their resource requests, and get hardened defaults (Workload Identity, Shielded nodes, restrictions on privileged Pods). In Standard,…

  2. Most asked How does Workload Identity Federation for GKE work?

    It lets a Kubernetes ServiceAccount act as a Google Cloud identity without keys: the GKE metadata server exchanges the Pod's Kubernetes token for short-lived Google credentials. You grant IAM roles…

  3. How do you upgrade GKE clusters safely?

    Enrol clusters in a release channel (Rapid, Regular, Stable or Extended) so Google upgrades the control plane and nodes automatically, set maintenance windows and exclusions for when upgrades may…

  4. Explain GKE networking: VPC-native clusters, Dataplane V2 and private clusters.

    VPC-native clusters give Pods and Services IPs from subnet secondary ranges (alias IPs), so they're routable in the VPC. GKE Dataplane V2 (built on eBPF and Cilium) handles networking and enforces…

  5. Pods on GKE can't pull images from Artifact Registry. How do you troubleshoot it?

    Check the Pod events for the exact error (ImagePullBackOff with 403/404 or a timeout). A 403 means the node or workload identity lacks roles/artifactregistry.reader on the repository; 404 means a…

  6. How do you control costs on GKE?

    Right-size requests (Autopilot bills by them; on Standard they drive node count), use autoscaling at both Pod and node level, Spot capacity for fault-tolerant workloads, committed use discounts for…

  7. How do you secure a GKE cluster?

    Keep the control plane private or limited to authorised networks, use private nodes, enable Workload Identity, apply least-privilege RBAC with Google Groups, enforce Pod security standards, restrict…

  8. A GKE workload is evicted repeatedly on Autopilot. What could be happening?

    Common causes: the Pod uses more memory than its request/limit (OOM), node pressure evictions when ephemeral storage (logs, temp files) exceeds its request, Spot Pods being reclaimed, or Autopilot…

  9. How would you run a multi-region application on GKE?

    Run a cluster per region (regional clusters for zone redundancy), deploy the same workloads to each through GitOps (Config Sync or Argo CD), expose them through a multi-cluster Gateway or global…

  10. How do you give a GKE workload access to a Cloud SQL database securely?

    Use Workload Identity for the Pod, grant its identity roles/cloudsql.client (and IAM database authentication if possible), and connect through the Cloud SQL Auth Proxy sidecar or a language…

Was this page helpful?

Report a mistake