nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #63

What is the gcloud command to create a cluster named ch09-cluster-10 with four nodes?

The correct answer is B. gcloud container clusters create ch09-cluster-10 --num-nodes=4. This question asks for the correct gcloud command to create a Google Kubernetes Engine (GKE) cluster with a specified number of nodes.

Submitted by mateo_ar· Mar 30, 2026Deploying and implementing a cloud solution

Question

What is the gcloud command to create a cluster named ch09-cluster-10 with four nodes?

Options

  • Agcloud container clusters create ch09-cluster-10 4
  • Bgcloud container clusters create ch09-cluster-10 --num-nodes=4
  • Cgcloud clusters container create ch09-cluster-10 --num-nodes=4
  • Dgcloud container clusters create ch09-cluster-10 --nodes-num=4

How the community answered

(34 responses)
  • A
    3% (1)
  • B
    94% (32)
  • D
    3% (1)

Why each option

This question asks for the correct gcloud command to create a Google Kubernetes Engine (GKE) cluster with a specified number of nodes.

Agcloud container clusters create ch09-cluster-10 4

Passing the number '4' directly after the cluster name is not the correct syntax for specifying the node count.

Bgcloud container clusters create ch09-cluster-10 --num-nodes=4Correct

The command `gcloud container clusters create` is used to create GKE clusters, and the `--num-nodes=4` flag is the correct way to specify that the cluster should be created with four worker nodes.

Cgcloud clusters container create ch09-cluster-10 --num-nodes=4

The subcommand order `clusters container` is incorrect; it should be `container clusters`.

Dgcloud container clusters create ch09-cluster-10 --nodes-num=4

The flag `--nodes-num` is not a valid option; the correct flag is `--num-nodes`.

Concept tested: GKE Cluster Creation with Node Count

Source: https://cloud.google.com/sdk/gcloud/reference/container/clusters/create

Topics

#gcloud CLI#GKE#cluster creation#node count

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice