Question 81 · 170 in bank
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 answer
Answer: A
Explanation
We want to apply least privilege and need to read data out of Cloud SQL for SQL Server only, `roles/cloudsql.viewer` is good enough to statisfy the those requirement, that filters out B, C, and D already https://cloud.google.com/sql/docs/sqlserver/iam-roles#roles
Source: Adapted from community discussion — absero1609