Easy1 markMultiple Choice
GCP ACE · Question 01 · Domain 1.1: Setting up cloud projects and accounts
You are starting a new initiative and need to create a new Google Cloud project using the command-line interface.
Which gcloud command should you use?
You are starting a new initiative and need to create a new Google Cloud project using the command-line interface.
Which gcloud command should you use?
Answer options:
A.
gcloud config set project
B.
gcloud projects create
C.
gcloud init project
D.
gcloud compute project create
How to approach this question
Recall the standard gcloud command structure: gcloud [group] [action]. Managing projects falls under the 'projects' group.
Full Answer
B.gcloud projects create✓ Correct
gcloud projects create
To create a new project in Google Cloud using the CLI, you use the Resource Manager commands, specifically `gcloud projects create [PROJECT_ID]`. The other commands either do not exist or serve different purposes like setting the active configuration.
Common mistakes
Confusing 'gcloud config set project' (which switches context) with project creation.
Practice the full GCP Associate Cloud Engineer Practice Exam 5
50 questions · hints · full answers · grading
More questions from this exam
Q02A developer on your team needs to manage App Engine applications, including deploying new version...MediumQ03You have created a new Google Cloud project. You need to allow a specific group of developers to ...MediumQ04Which statement best describes the relationship between Google Cloud projects and billing accounts?EasyQ05Your company wants to be notified immediately in their Slack channel whenever their monthly Googl...MediumQ06You have just installed the Google Cloud SDK on your local workstation. You need to authenticate ...Medium
Expert