0
0
GCPcloud~10 mins

Configuration properties in GCP - Interactive Code Practice

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

Complete the code to set the project ID in the configuration.

GCP
gcloud config set project [1]
Drag options to blanks, or click blank then click option'
Amy-project-123
B--project
Cproject-id
Dset-project
Attempts:
3 left
💡 Hint
Common Mistakes
Using flags like --project instead of the project ID.
Typing 'project-id' literally instead of the actual project name.
2fill in blank
medium

Complete the command to set the default compute zone in gcloud configuration.

GCP
gcloud config set compute/[1] us-central1-a
Drag options to blanks, or click blank then click option'
Azone
Bregion
Clocation
Darea
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'region' instead of 'zone'.
Using incorrect property names like 'location' or 'area'.
3fill in blank
hard

Fix the error in the command to set the default compute region.

GCP
gcloud config set compute/[1] us-central1
Drag options to blanks, or click blank then click option'
Azone
Blocation
Carea
Dregion
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'zone' instead of 'region'.
Using invalid property names like 'location' or 'area'.
4fill in blank
hard

Fill both blanks to configure the default account and project.

GCP
gcloud config set [1] user@example.com
gcloud config set [2] my-project-123
Drag options to blanks, or click blank then click option'
Aaccount
Buser
Cproject
Ddefault
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'user' instead of 'account'.
Using 'default' instead of 'project'.
5fill in blank
hard

Fill all three blanks to list all current gcloud configuration properties.

GCP
gcloud [1] list --[2] --format=[3]
Drag options to blanks, or click blank then click option'
Aget
Ball
Cyaml
Dconfig
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'get' instead of 'list'.
Using '--all' incorrectly or missing it.
Not specifying the output format.