A security administrator needs to grant an internal auditor permissions to view standard Admin Activity audit logs as well as Data Access audit logs containing sensitive data in Cloud Logging, using predefined roles that follow the principle of least privilege. Which TWO IAM roles should be assigned to the auditor? (Select two.)
- Logs Viewer (roles/logging.viewer)Cevap
- Private Logs Viewer (roles/logging.privateLogViewer)Cevap
- COwner (roles/owner)
- DOrganization Admin (roles/resourcemanager.organizationAdmin)
Cevap
The correct roles to assign are Logs Viewer (roles/logging.viewer) and Private Logs Viewer (roles/logging.privateLogViewer).
Viewing standard Admin Activity audit logs requires the Logs Viewer role (roles/logging.viewer). Viewing sensitive Data Access audit logs requires the Private Logs Viewer role (roles/logging.privateLogViewer). Combining these two predefined roles provides full required visibility while respecting the principle of least privilege.
Adım Adım Çözüm
Anahtar Kavram
Cloud Audit Logs IAM Permissions (Logs Viewer vs Private Logs Viewer)