D2: kubectl & Deploying GKE Clusters
Google Cloud Associate Cloud Engineer exam practice questions · 13 flashcards
Question
How do you install kubectl?
1 / 13
Tip: Space flips the card, ← / → navigate.
Show all 13 kubectl & Deploying GKE Clusters practice questions and answers
- How do you install kubectl?gcloud components install kubectl (or package manager), plus gke-gcloud-auth-plugin.
- How do you configure kubectl for a cluster?gcloud container clusters get-credentials CLUSTER --region/--zone.
- Where is kubectl config stored?~/.kube/config.
- Autopilot vs Standard?Autopilot: Google manages nodes, pay for Pod requests. Standard: you manage node pools, pay per node.
- How do you create an Autopilot cluster?gcloud container clusters create-auto NAME --region=REGION.
- How do you create a Standard cluster?gcloud container clusters create NAME --zone/--region ...
- Zonal vs regional cluster?Regional: control plane and nodes replicated across zones for higher availability.
- What is a private cluster?Nodes have only internal IPs; control plane access can be private and restricted.
- How do private nodes reach the internet?Through Cloud NAT.
- What are authorized networks?IP ranges allowed to reach the cluster control plane endpoint.
- Are Autopilot clusters regional or zonal?Regional.
- What are release channels?Rapid, Regular, Stable (and Extended) controlling automatic GKE version upgrades.
- What is a VPC-native cluster?Uses alias IP ranges for Pods and Services (default).