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 4 years, 1 month agoAgents89
Highly Voted 4 years agowarbon
Most Recent 3 months agothewalker
5 months agogsmasad
5 months, 3 weeks agoCaptain1212
7 months, 3 weeks agoFajmayor
8 months agosthapit
8 months, 2 weeks agofindsidd
8 months, 3 weeks agoAsh_34
9 months, 1 week agoBuruguduystunstugudunstuy
1 year, 2 months agolibrairica
1 year, 3 months agojrisl1991
1 year, 2 months agolibrairica
1 year, 3 months agogiuly992
1 year, 3 months agojrisl1991
1 year, 2 months agoChristN
1 year, 4 months agoPKookNN
1 year, 6 months agoGaneshSurwase
1 year, 6 months ago