nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #139

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?

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

Submitted by the_admin· Mar 30, 2026Setting up a cloud solution environment

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

How the community answered

(33 responses)
  • A
    88% (29)
  • B
    3% (1)
  • C
    6% (2)
  • D
    3% (1)

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

Topics

#bq command-line#gcloud config#project configuration#CLI tools

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice