nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #158

You need to assign a Cloud Identity and Access Management (Cloud IAM) role to an external auditor. The auditor needs to have permissions to review your Google Cloud Platform (GCP) Audit Logs and also

The correct answer is B. Assign the auditor the IAM role roles/logging.privateLogViewer.. Google Cloud provides Cloud Audit Logs, which is an integral part of Cloud Logging. It consists of two log streams for each project: Admin Activity and Data Access. Admin Activity logs contain log entries for API calls or other administrative actions that modify the configuration

Submitted by yasin.bd· Mar 30, 2026Configuring access and security

Question

You need to assign a Cloud Identity and Access Management (Cloud IAM) role to an external auditor. The auditor needs to have permissions to review your Google Cloud Platform (GCP) Audit Logs and also to review your Data Access logs. What should you do?

Options

  • AAssign the auditor the IAM role roles/logging.privateLogViewer.
  • BAssign the auditor the IAM role roles/logging.privateLogViewer.
  • CAssign the auditor's IAM user to a custom role that has logging.privateLogEntries.list permission.
  • DAssign the auditor's IAM user to a custom role that has logging.privateLogEntries.list permission.

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    81% (22)
  • C
    11% (3)
  • D
    4% (1)

Explanation

Google Cloud provides Cloud Audit Logs, which is an integral part of Cloud Logging. It consists of two log streams for each project: Admin Activity and Data Access. Admin Activity logs contain log entries for API calls or other administrative actions that modify the configuration or metadata of resources. Admin Activity logs are always enabled. There is no charge for your Admin Activity audit logs. Data Access logs record API calls that create, modify, or read user-provided data. Data Access audit logs are disabled by default because they can be large. logging.viewer: The logging.viewer role gives the security admin team the ability to view the Admin Activity logs. logging.privateLogViewer : The logging.privateLogViewer role gives the ability to view the Data

Topics

#IAM logging roles#audit logs#Data Access logs#privateLogViewer

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice