Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 130 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 130
Topic #: 1
[All Associate Cloud Engineer Questions]

You manage an App Engine Service that aggregates and visualizes data from BigQuery. The application is deployed with the default App Engine Service account.
The data that needs to be visualized resides in a different project managed by another team. You do not have access to this project, but you want your application to be able to read data from the BigQuery dataset. What should you do?

  • A. Ask the other team to grant your default App Engine Service account the role of BigQuery Job User.
  • B. Ask the other team to grant your default App Engine Service account the role of BigQuery Data Viewer.
  • C. In Cloud IAM of your project, ensure that the default App Engine service account has the role of BigQuery Data Viewer.
  • D. In Cloud IAM of your project, grant a newly created service account from the other team the role of BigQuery Job User in your project.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Hjameel
Highly Voted 4 years, 3 months ago
I think B is the answer
upvoted 32 times
KC_go_reply
1 year, 5 months ago
'I think' could you elaborate further please?
upvoted 4 times
...
...
ESP_SAP
Highly Voted 4 years, 3 months ago
Correct Answer is (B): Sorry, I copied/pasted the the wrong statement. This is the proper explanation regarding to Big Query Data Viewer Role. The resource that you need to get access is in the other project. roles/bigquery.dataViewer BigQuery Data Viewer When applied to a table or view, this role provides permissions to: Read data and metadata from the table or view. This role cannot be applied to individual models or routines. When applied to a dataset, this role provides permissions to: Read the dataset's metadata and list tables in the dataset. Read data and metadata from the dataset's tables. When applied at the project or organization level, this role can also enumerate all datasets in the project. Additional roles, however, are necessary to allow the running of jobs.
upvoted 27 times
[Removed]
4 years, 2 months ago
A is correct, data viewer role does not allow you to execute query, that can be done if you are the user role.
upvoted 10 times
[Removed]
4 years, 2 months ago
The question states you want to aggregate and visualize data, that is run aggregate SQL on data before visualizing.
upvoted 3 times
...
...
...
denno22
Most Recent 1 month, 3 weeks ago
Selected Answer: B
BigQuery Data Viewer (roles/bigquery.dataViewer) When applied to a table or view, this role provides permissions to: Read data and metadata from the table or view. This role cannot be applied to individual models or routines. https://cloud.google.com/bigquery/docs/access-control
upvoted 1 times
...
iooj
2 months, 2 weeks ago
Selected Answer: A
Big Query Data Viewer Role allows to read data only in the Cloud Console, you cannot use SQL to select or aggregate data, I assume the app will need to run jobs. How would you write such an app? Please correct me if I am wrong.
upvoted 1 times
...
klayhung
2 months, 3 weeks ago
Selected Answer: B
To read data from a BigQuery dataset, you only need to grant the App Engine Service account the role of BigQuery Data Viewer.
upvoted 2 times
...
pzacariasf7
8 months, 2 weeks ago
Selected Answer: B
B B B B
upvoted 3 times
...
abhi2704
8 months, 2 weeks ago
Selected Answer: B
As the question clearly says - 'read' 'You do not have access to this project, but you want your application to be able to READ data from the BigQuery dataset' Awnser is B
upvoted 2 times
...
PiperMe
8 months, 3 weeks ago
Selected Answer: B
A is too permissive. This role includes BigQuery Data Viewer permissions but also the ability to create, run, and manage BigQuery jobs. Your application only needs to read data, not manipulate it. B grants read-only access to BigQuery datasets and tables, which perfectly aligns with the requirement of the App Engine service only needing to visualize data.
upvoted 4 times
...
Vijay9032
9 months, 4 weeks ago
Selected Answer: B
To see data, you need either BigQuery User or BigQuery Data Viewer roles You CANNOT see data with BigQuery Job User roles
upvoted 2 times
sukouto
9 months, 4 weeks ago
It's true, the jobUser role does not contain permissions to get datasets or tables. I think with the phrasing we can assume that the data is aggregated within the app--not BigQuery--so the query permission is less important than reading the data. https://cloud.google.com/bigquery/docs/access-control#bigquery.jobUser https://cloud.google.com/bigquery/docs/access-control#bigquery.dataViewer
upvoted 1 times
...
...
Charlyescot
10 months ago
B es la correcta. Si alguien tiene el listado completo de preguntas, me las envia a [email protected] , rindo en 10 dias gracias!
upvoted 1 times
...
sinh
10 months, 2 weeks ago
Selected Answer: B
role/bigquery.dataViewer
upvoted 1 times
...
Bagibo
10 months, 3 weeks ago
Selected Answer: B
B - a viewer can query, aggregate and visual data
upvoted 2 times
...
kaby1987
10 months, 4 weeks ago
Selected Answer: B
Ans is B . Ask the other team to grant your default App Engine Service account the role of BigQuery Data Viewer: The BigQuery Data Viewer role provides permissions to view and list data in BigQuery. This includes reading data from tables and views in a dataset. If you need your application to read data from the BigQuery dataset in the other project, this is the appropriate role to be granted to your service account by the other team. Reason option A is incorrect Ask the other team to grant your default App Engine Service account the role of BigQuery Job User: The BigQuery Job User role allows a user to run BigQuery jobs, which includes query jobs. However, this role does not grant permission to read data in BigQuery tables or datasets. It's useful for submitting jobs but not sufficient for accessing data.
upvoted 1 times
...
Cynthia2023
10 months, 4 weeks ago
Selected Answer: B
Role of BigQuery Data Viewer: The BigQuery Data Viewer role (roles/bigquery.dataViewer) includes permissions to view and query data within BigQuery datasets. This role is sufficient for an application that needs read access to BigQuery datasets, such as for aggregation and visualization purposes.
upvoted 3 times
...
SHAAHIBHUSHANAWS
11 months, 1 week ago
Selected Answer: B "BigQuery Job User: Provides permissions to run jobs, including queries, within the project." So it is not giving access to read BigQuery Dataset! https://cloud.google.com/bigquery/docs/access-control
upvoted 1 times
iooj
2 months, 2 weeks ago
each and every SQL query in BigQuery is a job...
upvoted 1 times
...
...
Kair
11 months, 1 week ago
The requirements are to - aggregating and visualizing data from BigQuery - the BigQuery Data Viewer (roles/bigquery.dataViewer) role is likely the most appropriate. This role will allow the App Engine service to read and visualize the data without permission to modify it. If the app service needs more than just read access, such as the ability to modify data or execute specific types of queries, we might consider the Data Editor or Data User roles. However, always adhere to the principle of least privilege, granting only the minimum permissions necessary for your service to function as intended.
upvoted 1 times
...
Captain1212
1 year, 2 months ago
Selected Answer: A
A seems more correct , as A give you both required access i.e aggragets and visualizes data from BQ
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...