0
0
GCPcloud~10 mins

Installing and initializing gcloud in GCP - Interactive Practice

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

Complete the command to install the Google Cloud SDK on a Debian-based system.

GCP
sudo apt-get update && sudo apt-get install [1]
Drag options to blanks, or click blank then click option'
Agcloud-sdk
Bcloud-sdk
Cgcloud
Dgoogle-cloud-sdk
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'gcloud-sdk' which is incorrect.
Trying to install 'cloud-sdk' which is not the package name.
2fill in blank
medium

Complete the command to initialize the gcloud SDK after installation.

GCP
gcloud [1]
Drag options to blanks, or click blank then click option'
Aconfigure
Bsetup
Cinit
Dstart
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'gcloud setup' which is not a valid command.
Using 'gcloud configure' which is incorrect for initialization.
3fill in blank
hard

Fix the error in the command to authenticate gcloud with your Google account.

GCP
gcloud auth [1]
Drag options to blanks, or click blank then click option'
Alogin
Bsign-in
Cauthenticate
Dconnect
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'gcloud auth sign-in' which is invalid.
Using 'gcloud auth authenticate' which is not a recognized command.
4fill in blank
hard

Fill both blanks to set the default project and compute zone in gcloud configuration.

GCP
gcloud config set [1] my-project
 gcloud config set [2] us-central1-a
Drag options to blanks, or click blank then click option'
Aproject
Bzone
Cregion
Daccount
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'region' instead of 'zone' for compute zone.
Using 'account' instead of 'project' for default project.
5fill in blank
hard

Fill all three blanks to list active configurations, set account, and verify the current project.

GCP
gcloud config [1]
 gcloud config set [2] user@example.com
 gcloud config get-value [3]
Drag options to blanks, or click blank then click option'
Alist
Baccount
Cproject
Ddescribe
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'describe' instead of 'get-value' to retrieve project.
Using 'account' in the last command instead of 'project'.