Correct is A.
As per google best practices it is recommended to use predefined roles and create groups to control access to multiple users with same responsibility
Correct Answer is B
By creating a custom IAM role, you can specify the exact permissions that the auditors need, and avoid granting them unnecessary permissions that come with predefined IAM roles. In this case, you can create two custom IAM roles: one for 'logging.viewer' and one for 'bigQuery.dataViewer', and grant the corresponding permissions to each role. Then, you can add the auditors group to these custom roles to give them access to the required logs and data.
I would say that Answer A is not the correct answer. While it is true that adding the auditor's group to the 'logging.viewer' and 'bigQuery.dataViewer' roles would allow them to view the logs and data in BigQuery, it does not enable IAM access audit logging.
The correct answer is Answer B - Add the auditors group to two new custom IAM roles. You should create custom IAM roles with the necessary permissions to view IAM audit logs in BigQuery and assign those roles to the auditor's group. This follows the Google-recommended practice of using custom roles to grant least privilege access to resources.
Answer C is incorrect because you should not add users' accounts to predefined IAM roles like logging.viewer or bigQuery.dataViewer. Predefined roles are meant to provide a general set of permissions for common use cases, and adding users or groups to them may grant them unnecessary access.
Answer D is not the best practice as it is better to create separate custom IAM roles for each type of user rather than combining them.
B.... The recommended practice for configuring IAM access audit logging in BigQuery is to create two custom IAM roles for auditors: one with the bigquery.datasets.get permission, and the other with the bigquery.tables.getData permission. You should then add the auditors group to these custom IAM roles. This will allow auditors to view metadata about datasets and access data within tables, while preventing them from performing other operations on the BigQuery resources. Therefore, option B is the correct answer.
Once again, the "correct" answer is wrong. (Regarding google best practices). How could you hope someone gives money to get wrong answers. A is the good one.
Honestly, I think some answers are "wrong" on purpose because if they all were right, the website could be taken as a "cheat" instead of help to study.
Correct answer is A.
Correct A
The organization creates a Google group for these external auditors and adds the current auditor to the group. This group is monitored and is typically granted access to the dashboard application.
see: https://cloud.google.com/iam/docs/job-functions/auditing#scenario_external_auditors
A is Correct
Because if you directly add users to the IAM roles, then if any users left the organization then you have to remove the users from multiple places and need to revoke his/her access from multiple places.
But, if you put a user into a group then its very easy to manage these type of situations. Now, if any user left then you just need to remove the user from the group and all the access got revoked
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.
coldpar
Highly Voted 3 years agodroogie
2 years, 8 months agorobor97
2 years, 3 months agoadeice
1 year, 12 months agoJavierCorrea
Highly Voted 2 years, 7 months agosmanoj85
Most Recent 1 day, 4 hours agored_panda
1 day, 23 hours agoasallo
1 week, 1 day agoBuruguduystunstugudunstuy
4 weeks, 1 day agoBobbybash
1 month agoprocessor
2 months, 3 weeks agojrisl1991
1 month, 3 weeks agoglanshima
3 months, 1 week agovijay456
4 months, 3 weeks agovijay456
4 months, 3 weeks agoleogor
4 months, 3 weeks agoPSS387
4 months, 4 weeks agoPKookNN
5 months, 1 week agoCornholio_LMC
5 months, 3 weeks agorixson
5 months, 2 weeks agoDjayTest21
5 months, 4 weeks agoiadarsh
6 months, 1 week ago