Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Developer Exam - Topic 13 Question 121 Discussion

Your analytics system executes queries against a BigQuery dataset. The SQL query is executed in batch and passes the contents of a SQL file to the BigQuery CLI. Then it redirects the BigQuery CLI output to another process. However, you are getting a permission error from the BigQuery CLI when the queries are executed. You want to resolve the issue. What should you do?
B) Grant the service account BigQuery Data Editor and BigQuery Data Viewer roles.
A) Grant the service account BigQuery Data Viewer and BigQuery Job User roles.
C) Create a view in BigQuery from the SQL query and SELECT* from the view in the CLI.
D) Create a new dataset in BigQuery, and copy the source table to the new dataset Query the new dataset and table from the CLI.

Google Professional Cloud Developer Exam - Topic 13 Question 121 Discussion

Actual exam question for Google's Professional Cloud Developer exam
Question #: 121
Topic #: 13
[All Professional Cloud Developer Questions]

Your analytics system executes queries against a BigQuery dataset. The SQL query is executed in batch and passes the contents of a SQL file to the BigQuery CLI. Then it redirects the BigQuery CLI output to another process. However, you are getting a permission error from the BigQuery CLI when the queries are executed. You want to resolve the issue. What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Ma
28 days ago
I remember something about service accounts needing specific roles to execute queries, but I'm not sure which ones are necessary.
upvoted 0 times
...

Save Cancel