Google groups can help you manage users at scale. Each member of a Google group inherits the Identity and Access Management (IAM) roles granted to that group. This inheritance means that you can use a group's membership to manage users' roles instead of granting IAM roles to individual users.
https://cloud.google.com/iam/docs/groups-in-cloud-console#:~:text=To%20add%20members%3A%20Click%20person,add%20them%20to%20the%20group.
Answer C is incorrect because the `roles/spanner.viewer` role only allows read-only access to Spanner instances, whereas the question asks for users to be able to view and edit table data.
Answer D is also incorrect for the same reason as answer C. The `roles/spanner.viewer` role does not provide the necessary permissions for editing table data.
Therefore, answers A and B are the only options that provide the `roles/spanner.databaseUser` role, which includes the necessary permissions to view and edit table data on a Cloud Spanner instance.
However, answer B is arguably better since it involves creating a new group and adding the users to that group, which can simplify the management of permissions in the future.
You know what? I also thought it was B but there's no mention about best practices, and Google Groups can only be created if there's a google workspace organization. If you go to Google > Groups, you can't even create groups and the platform asks to choose an organization (from Google workspace). That has got me confused.
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.
yasu
Highly Voted 3 years, 10 months agoAgents89
Highly Voted 3 years, 9 months agowarbon
Most Recent 1 week, 6 days agothewalker
2 months, 2 weeks agogsmasad
3 months, 1 week agoCaptain1212
5 months, 1 week agoFajmayor
5 months, 2 weeks agosthapit
6 months agofindsidd
6 months, 1 week agoAsh_34
6 months, 3 weeks agoBuruguduystunstugudunstuy
11 months, 3 weeks agolibrairica
1 year agojrisl1991
1 year agolibrairica
1 year agogiuly992
1 year agojrisl1991
1 year agoChristN
1 year, 2 months agoPKookNN
1 year, 3 months agoGaneshSurwase
1 year, 3 months ago