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 Database Engineer Exam - Topic 10 Question 68 Discussion

Actual exam question for Google's Professional Cloud Database Engineer exam
Question #: 68
Topic #: 10
[All Professional Cloud Database Engineer Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: A

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.


Contribute your Thoughts:

0/2000 characters
Carmela
7 hours ago
I think the least privilege principle means we should avoid roles that give too much access, so maybe A or D?
upvoted 0 times
...

Save Cancel