0
0
GCPcloud~10 mins

GKE cluster creation (Autopilot vs Standard) in GCP - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a GKE cluster in Autopilot mode.

GCP
gcloud container clusters create-auto my-cluster --region [1]
Drag options to blanks, or click blank then click option'
Aasia-east1
Bus-central1
Ceurope-west1
Dsouthamerica-east1
Attempts:
3 left
💡 Hint
Common Mistakes
Using a zone instead of a region for Autopilot clusters.
Choosing a region not supported by Autopilot.
2fill in blank
medium

Complete the code to create a Standard GKE cluster with 3 nodes.

GCP
gcloud container clusters create my-standard-cluster --num-nodes=[1] --zone us-central1-a
Drag options to blanks, or click blank then click option'
A1
B0
C5
D3
Attempts:
3 left
💡 Hint
Common Mistakes
Setting number of nodes to zero, which is invalid.
Confusing node count with number of zones.
3fill in blank
hard

Fix the error in the command to create an Autopilot cluster by selecting the correct flag.

GCP
gcloud container clusters create my-autopilot-cluster [1] us-central1
Drag options to blanks, or click blank then click option'
A--region
B--zone
C--num-nodes
D--machine-type
Attempts:
3 left
💡 Hint
Common Mistakes
Using --zone instead of --region for Autopilot.
Adding node count flags which are not needed for Autopilot.
4fill in blank
hard

Fill both blanks to create a Standard GKE cluster with a specific machine type and node count.

GCP
gcloud container clusters create my-standard-cluster --machine-type=[1] --num-nodes=[2] --zone us-east1-b
Drag options to blanks, or click blank then click option'
Ae2-medium
Bn1-standard-1
C3
D5
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing machine type and node count values.
Using unsupported machine types.
5fill in blank
hard

Fill all three blanks to create an Autopilot cluster with a specific region and enable IP aliasing.

GCP
gcloud container clusters create-auto my-autopilot-cluster --region=[1] --enable-ip-alias=[2] --project=[3]
Drag options to blanks, or click blank then click option'
Aus-west1
Btrue
Cmy-gcp-project
Dfalse
Attempts:
3 left
💡 Hint
Common Mistakes
Using false for IP aliasing which disables it.
Omitting the project flag or using an invalid project ID.