Google Associate Cloud Engineer exam dumps

Google Associate Cloud Engineer practice question 191 of 375

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

Google Associate Cloud Engineer Question 191

Single answerGoogle Cloud Platform

You are an Associate Cloud Engineer tasked with managing your company's Google Kubernetes Engine (GKE) clusters. You need to view the current inventory of running GKE clusters in your project. Which command should you use?

  1. A

    gcloud container clusters list

  2. B

    kubectl get nodes

  3. C

    gcloud container clusters describe [CLUSTER_NAME]

  4. D

    gcloud compute instances list

Show answer and explanation

Correct answer: A

Explanation

To view the current inventory of running GKE clusters, you use the 'gcloud container clusters list' command. This command provides a list of all clusters in the specified project and location, making it the correct choice for viewing cluster inventory.

  • A. Correct.

    This command lists all the GKE clusters in the specified project or location, providing an inventory of running clusters.

  • B. Incorrect.

    This command is used to list all nodes within a specific Kubernetes cluster, not to list clusters themselves.

  • C. Incorrect.

    This command provides detailed information about a specific GKE cluster, not a list of all clusters.

  • D. Incorrect.

    This command lists all Compute Engine instances, which is unrelated to GKE clusters.

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