ASSOCIATE-CLOUD-ENGINEER · Question #139
ASSOCIATE-CLOUD-ENGINEER Question #139: Real Exam Question with Answer & Explanation
The correct answer is A: Use "gcloud config set project" to set the default project.. A is correct because you need to use gcloud to manage the config/defaults. B is not correct because the bq command-line tool assumes the gcloud configuration settings and can't be set through BigQuery. C is not correct because entering this command will not achieve the desired re
Question
You have a project using BigQuery. You want to list all BigQuery jobs for that project. You want to set this project as the default for the bq command-line tool. What should you do?
Options
- AUse "gcloud config set project" to set the default project.
- BUse "bq config set project" to set the default project.
- CUse "gcloud generate config-url" to generate a URL to the Google Cloud Platform Console to set
- DUse "bq generate config-url" to generate a URL to the Google Cloud Platform Console to set the
Explanation
A is correct because you need to use gcloud to manage the config/defaults. B is not correct because the bq command-line tool assumes the gcloud configuration settings and can't be set through BigQuery. C is not correct because entering this command will not achieve the desired result and will generate an error. D is not correct because entering this command will not achieve the desired result and will generate an error. https://cloud.google.com/bigquery/docs/reference/bq-cli-reference https://cloud.google.com/sdk/gcloud/reference/config/set
Community Discussion
No community discussion yet for this question.