Courseiva
Deploying and Implementing a Cloud SolutioneasyMultiple ChoiceObjective-mapped

Google ACE Deploying and Implementing a Cloud Solution Practice Question

An engineer wants to create a regional GKE cluster with 3 nodes by default. Which command should be used?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

gcloud container clusters create my-cluster --region us-central1 --num-nodes 3

The 'gcloud container clusters create' command with --region (not --zone) creates a regional cluster. --num-nodes specifies the number of nodes per zone.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • gcloud container clusters create my-cluster --zone us-central1-a --num-nodes 3

    Why it's wrong here

    Using --zone creates a zonal cluster, not a regional one. The control plane and all nodes reside in a single zone, so the cluster lacks multi-zone redundancy. To meet the requirement of a regional cluster, you must use --region instead.

  • gcloud container clusters create my-cluster --region us-central1 --num-nodes 3

    Why this is correct

    This is the standard way to create a regional GKE cluster. The --region flag designates a regional cluster where the control plane is replicated across three zones in that region, and nodes are spread across those zones (3 nodes per zone by default with --num-nodes 3). This provides higher availability and is exactly what the engineer needs.

  • gcloud container clusters create my-cluster --region us-central1 --nodes 3

    Why it's wrong here

    The correct flag is --num-nodes, not --nodes. GKE's CLI does not recognize --nodes; it will fail with an error because the flag is unknown. Even if the flag were interpreted as node count, the number of nodes is per zone in a regional cluster, so using --nodes would be ambiguous. The proper syntax is --num-nodes.

  • gcloud compute clusters create my-cluster --region us-central1 --size 3

    Why it's wrong here

    The command should be gcloud container clusters, not gcloud compute clusters. gcloud compute is for Compute Engine resources like VM instances, not GKE clusters. Additionally, the flags are incorrect: GKE uses --num-nodes, not --size, and requires --region or --zone. This would fail because gcloud compute clusters is not a valid command.

About these practice questions

One of 769 original ACE practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This ACE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ACE exam.