Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

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