Associate Cloud Engineer Exam QuestionsBrowse all questions from this exam

Associate Cloud Engineer Exam - Question 25


You need to configure IAM access audit logging in BigQuery for external auditors. You want to follow Google-recommended practices. What should you do?

Show Answer
Correct Answer: A

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.

Discussion

17 comments
Sign in to comment
coldparOption: A
Mar 15, 2020

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

droogie
Jul 4, 2020

You assume Auditors Group = External Auditors only. Auditors Group may contain both Internal and External Auditors.

robor97
Dec 1, 2020

The question literally says - External Auditors

adeice
Mar 24, 2021

I can create External group and Internal group Auditors

JavierCorreaOption: A
Jul 27, 2020

Correct answer is A as per: https://cloud.google.com/iam/docs/job-functions/auditing#scenario_external_auditors

ArtistS
Oct 17, 2023

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

YourCloudGuruOption: A
Sep 27, 2023

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.

smanoj85Option: B
Mar 19, 2023

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.

smanoj85
Mar 19, 2023

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.

ArtistSOption: A
Oct 17, 2023

A is correct. 1st you should know this is a exam. Google recommend xxx means you should choose group first.

BuruguduystunstugudunstuyOption: B
Feb 19, 2023

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.

red_pandaOption: B
Mar 18, 2023

B is correct. Is a best practice to prefer custom role, specially for external users.

Captain1212Option: A
Sep 1, 2023

Google Recommended Practice A is the correct Answer add the users in the group then grant them the access

ExamsFROption: A
Jul 20, 2023

Correct answer is A

gsmasadOption: A
Nov 1, 2023

AS per Google best practices the roles should be assigned to a group & not to individual users

thewalkerOption: A
Nov 22, 2023

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.

asalloOption: A
Mar 11, 2023

A is the most appropriate Answer

vinodthakur49Option: C
Jul 15, 2023

There is no group created already, so C is the right answer.

sthapitOption: C
Aug 9, 2023

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.

sinh
Dec 24, 2023

https://cloud.google.com/iam/docs/job-functions/auditing?hl=ja#scenario_external_auditors

sinhOption: A
Jan 16, 2024

auditors group

andreiboaghe95Option: A
Jun 10, 2024

correct answer is A