Google Associate Cloud Engineer exam dumps

Google Associate Cloud Engineer practice question 193 of 375

Associate Cloud Engineer. Free level, Google Cloud. Free question with the correct answer and a full explanation.

Google Associate Cloud Engineer Question 193

Single answerGoogle Cloud Platform

You are a Google Cloud Associate Cloud Engineer tasked with auditing the current Google Kubernetes Engine (GKE) clusters running in your project. Which command should you use to list all the running GKE clusters in the project?

  1. A

    gcloud container clusters list

  2. B

    kubectl get clusters

  3. C

    gcloud compute instances list

  4. D

    kubectl get nodes

Show answer and explanation

Correct answer: A

Explanation

To view the current running GKE cluster inventory, you should use the 'gcloud container clusters list' command. This command provides a list of all the Kubernetes Engine clusters available in the specified project, allowing you to audit and manage the cluster resources effectively.

  • A. Correct.

    This command is used to list all the GKE clusters in the current project. It is the correct command for viewing the running GKE cluster inventory.

  • B. Incorrect.

    This command is incorrect because 'kubectl' is used for interacting with Kubernetes resources within a cluster, not for listing clusters themselves.

  • C. Incorrect.

    This command lists all the Compute Engine instances in a project, not the GKE clusters.

  • D. Incorrect.

    This command retrieves the nodes within a specific Kubernetes cluster but does not list the clusters themselves.

Timed practice exam

Take a Google Associate Cloud Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam