An internal investigation team needs to analyze Cloud Audit Logs for a critical Google Cloud project. The team members require read-only access to inspect both standard Admin Activity logs (such as resource creation and configuration changes) and sensitive Data Access audit logs (such as object reads in Cloud Storage) within Logs Explorer. To adhere strictly to the principle of least privilege, which predefined IAM roles must be assigned to the team? (Select TWO answers.)
- Logs Viewer (roles/logging.viewer)Answer
- Private Logs Viewer (roles/logging.privateLogViewer)Answer
- CLogging Admin (roles/logging.admin)
- DViewer (roles/viewer)
Answer
The correct roles are Logs Viewer (roles/logging.viewer) and Private Logs Viewer (roles/logging.privateLogViewer).
Viewing standard Admin Activity audit logs requires Logs Viewer (roles/logging.viewer), while inspecting sensitive Data Access logs requires Private Logs Viewer (roles/logging.privateLogViewer). Combining these two specific predefined roles satisfies both viewing requirements without granting administrative or broad resource access.
Step-by-Step Solution
Key Concept
Cloud Audit Logs access control requires combining Logs Viewer for standard Admin Activity logs and Private Logs Viewer for sensitive Data Access logs under least privilege.
Estimated Time:1m 30s