Flashcardsfor IT Certifications

D3: Deploying Containers to GKE

Google Cloud Professional Cloud Developer exam practice questions · 10 flashcards

Question
How do you deploy to GKE?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Deploying Containers to GKE practice questions and answers
  1. How do you deploy to GKE?
    kubectl apply -f manifests (Deployment + Service).
  2. How do you get cluster credentials?
    gcloud container clusters get-credentials CLUSTER.
  3. What is a Deployment?
    Manages replicated Pods with rolling updates.
  4. How do you expose a Deployment?
    Service (ClusterIP/LoadBalancer) and Ingress/Gateway.
  5. How do you store config?
    ConfigMaps and Secrets (or Secret Manager CSI).
  6. How do Pods call Google APIs?
    Workload Identity Federation for GKE.
  7. How do you update an image?
    Change the image tag/digest and apply (rolling update).
  8. How do you roll back?
    kubectl rollout undo deployment/NAME.
  9. How do you deploy with CD?
    Cloud Deploy, Config Sync/GitOps or Cloud Build.
  10. Why use namespaces?
    Separate teams/environments and apply policies.