D3: GKE Inventory & Artifact Registry Access
Google Cloud Associate Cloud Engineer exam practice questions · 11 flashcards
Question
How do you list nodes?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 GKE Inventory & Artifact Registry Access practice questions and answers
- How do you list nodes?kubectl get nodes.
- How do you list Pods across namespaces?kubectl get pods --all-namespaces (or -A).
- How do you list Services?kubectl get services.
- How do you inspect a Pod's details and events?kubectl describe pod POD.
- How do you view container logs?kubectl logs POD (-c CONTAINER).
- How do you list clusters?gcloud container clusters list.
- How do GKE nodes pull images from Artifact Registry in the same project?The node service account needs Artifact Registry Reader (roles/artifactregistry.reader).
- How do you allow pulling from another project's registry?Grant Artifact Registry Reader on that repo to the cluster's node service account.
- How do you pull from a non-Google private registry?Use imagePullSecrets.
- What access scope do nodes need for Artifact Registry?Read access to storage/cloud-platform scope (cloud-platform recommended with IAM).
- What does ImagePullBackOff indicate?The image can't be pulled: wrong path, missing permissions or missing image.