ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 74 - Professional Cloud Database Engineer discussion

Report
Export

An analytics team needs to read data out of Cloud SQL for SQL Server and update a table in Cloud Spanner. You need to create a service account and grant least privilege access using predefined roles. What roles should you assign to the service account?

A.
roles/cloudsql.viewer and roles/spanner.databaseUser
Answers
A.
roles/cloudsql.viewer and roles/spanner.databaseUser
B.
roles/cloudsql.editor and roles/spanner.admin
Answers
B.
roles/cloudsql.editor and roles/spanner.admin
C.
roles/cloudsql.client and roles/spanner.databaseReader
Answers
C.
roles/cloudsql.client and roles/spanner.databaseReader
D.
roles/cloudsql.instanceUser and roles/spanner.databaseUser
Answers
D.
roles/cloudsql.instanceUser and roles/spanner.databaseUser
Suggested answer: A

Explanation:

To read data out of Cloud SQL for SQL Server, you need to use a service account with the roles/cloudsql.viewer role on the Cloud SQL instance. This role grants the service account permission to read data from the instance. Whereas roles/cloudsql.instanceUser will only allow to login to cloud SQL instance. No resource will be allowed to view.

asked 18/09/2024
krishamrock krishqmrock
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first