Easy1 markMultiple Choice
GCP ACE · Question 01 · Domain 1.1: Setting up cloud projects and accounts
You have recently joined a new team and need to set up a new Google Cloud project for a development environment. You want to use the Cloud SDK to create the project with the ID 'dev-env-789'.
Which gcloud command should you use?
You have recently joined a new team and need to set up a new Google Cloud project for a development environment. You want to use the Cloud SDK to create the project with the ID 'dev-env-789'.
Which gcloud command should you use?
Answer options:
A.
gcloud init project dev-env-789
B.
gcloud projects create dev-env-789
C.
gcloud config set project dev-env-789
D.
gcloud compute project create dev-env-789
How to approach this question
Recall the gcloud resource manager commands for project creation.
Full Answer
B.gcloud projects create dev-env-789✓ Correct
The `gcloud projects create` command is used to create a new Google Cloud project. You must specify the project ID, which must be globally unique.
Common mistakes
Confusing `config set project` (which changes your local context) with `projects create` (which provisions the resource in GCP).
Practice the full GCP Associate Cloud Engineer Practice Exam 4
50 questions · hints · full answers · grading
More questions from this exam
Q02Your company uses Google Workspace. You need to grant a new developer, Alice, the ability to view...MediumQ03You have created a new GCP project and want to deploy a Compute Engine instance. However, when yo...MediumQ04Your startup has a strict monthly cloud budget of $500. You want to be notified via email when yo...EasyQ05Your finance team wants to analyze Google Cloud costs using standard SQL and build custom dashboa...MediumQ06You have just installed the Google Cloud SDK on your local workstation. You need to authenticate,...Easy
Expert