You need to configure IAM access audit logging in BigQuery for external auditors. You want to follow Google-recommended practices. What should you do?
You need to configure IAM access audit logging in BigQuery for external auditors. You want to follow Google-recommended practices. What should you do?
To configure IAM access audit logging in BigQuery for external auditors while following Google-recommended practices, you should add the auditors group to the 'logging.viewer' and 'bigQuery.dataViewer' predefined IAM roles. This ensures that auditors have the necessary permissions to view audit logs and data in BigQuery without granting them more access than needed. Using predefined roles simplifies management and adheres to the principle of least privilege, and using groups rather than individual user accounts facilitates easier and more scalable access control.
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
You assume Auditors Group = External Auditors only. Auditors Group may contain both Internal and External Auditors.
The question literally says - External Auditors
I can create External group and Internal group Auditors
Correct answer is A as per: https://cloud.google.com/iam/docs/job-functions/auditing#scenario_external_auditors
very useful 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
The correct answer is A. This option follows Google-recommended practices, because it allows you to grant auditors access to view audit logs without granting them access to other resources in your project. The other options are not as good: * Option B is not as good, because it requires you to create two new custom IAM roles. This can be complex and time-consuming. * Option C is not as good, because it grants auditors access to all audit logs in your project, including audit logs for resources that they do not need access to. * Option D is not as good, because it grants auditors access to all data in your BigQuery datasets, including data that they do not need access to.
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.
Correct Answer is B Option A is incorrect because the logging.viewer and bigQuery.dataViewer roles only grant read access to logs and data in BigQuery, respectively. These roles do not provide audit logging capabilities. Option C is incorrect because it suggests adding individual user accounts to the roles, whereas the question specifically asks for adding an auditors group. In addition, adding individual user accounts can be difficult to manage and does not scale well as the number of auditors increases. It is generally recommended to use groups for managing access whenever possible. Option D suggests adding the auditor user accounts to two new custom IAM roles, which could work. However, the question specifically asks for following Google-recommended practices. The recommended practice is to use predefined roles over custom roles whenever possible. Therefore, option B, which suggests adding the auditors group to two new custom IAM roles, is not recommended.
A is correct. 1st you should know this is a exam. Google recommend xxx means you should choose group first.
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 is correct. Is a best practice to prefer custom role, specially for external users.
Google Recommended Practice A is the correct Answer add the users in the group then grant them the access
Correct answer is A
AS per Google best practices the roles should be assigned to a group & not to individual users
A Create a group with the auditors, grant 'logging.viewer' and 'bigQuery.dataViewer roles to the group on a table / view with the required data.
A is the most appropriate Answer
There is no group created already, so C is the right answer.
C Option A, which suggests adding the auditors group to predefined roles, might not be as appropriate as using individual auditor user accounts. It's generally a best practice to assign permissions to specific users rather than groups, as it provides better granularity and control over access.
https://cloud.google.com/iam/docs/job-functions/auditing?hl=ja#scenario_external_auditors
auditors group
correct answer is A