For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeGCP Associate Cloud Engineer (ACE)GCP Associate Cloud Engineer Practice Exam 5Question 34
    Easy1 markMultiple Choice
    Domain 4.2: Managing GKE resourcesDomain 4GKEkubectl

    GCP ACE · Question 34 · Domain 4.2: Managing GKE resources

    You are troubleshooting an application running on Google Kubernetes Engine (GKE). You need to see a list of all currently running pods in the default namespace.

    Which command should you use?

    Answer options:

    A.

    kubectl get pods

    B.

    gcloud container pods list

    C.

    kubectl describe cluster

    D.

    gcloud compute pods list

    How to approach this question

    Remember that once a GKE cluster is running, you use standard Kubernetes commands to interact with its resources.

    Full Answer

    A.kubectl get pods✓ Correct
    kubectl get pods
    To view the inventory of running resources inside a Kubernetes cluster (like pods, services, deployments), you use the `kubectl` command-line tool. The command `kubectl get pods` lists all pods in the current active namespace.

    Common mistakes

    Trying to use `gcloud` to list Kubernetes-specific resources.
    Question 33All questionsQuestion 35

    Practice the full GCP Associate Cloud Engineer Practice Exam 5

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01You are starting a new initiative and need to create a new Google Cloud project using the command...EasyQ02A developer on your team needs to manage App Engine applications, including deploying new version...MediumQ03You have created a new Google Cloud project. You need to allow a specific group of developers to ...MediumQ04Which statement best describes the relationship between Google Cloud projects and billing accounts?EasyQ05Your company wants to be notified immediately in their Slack channel whenever their monthly Googl...Medium
    View all 50 questions →