Professional Cloud Security Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An enterprise financial organization needs to implement a least privilege access model for analyzing telemetry in Google Cloud Logging while complying with strict audit controls:
Which strategy should the cloud security engineer implement to satisfy these security requirements?
This solution pairs Google Cloud's predefined logging IAM roles with context-aware access controls to enforce strict least privilege and network boundary segregation. The Logs Viewer (roles/logging.viewer) role grants access to view standard logs while restricting access to private logs, whereas the Private Logs Viewer (roles/logging.privateLogViewer) role provides read-only access to all log types, including sensitive Data Access audit logs. Applying an Access Context Manager condition to the auditor's IAM role binding ensures access is constrained by client network context.
logging.privateLogEntries.list permission required to read Data Access audit logs without conferring administrative privileges.request.auth.access_levels references an Access Context Manager perimeter/access level, guaranteeing that queries to private audit logs succeed only when originating from approved corporate IP blocks.logging.sinks.* or logging.buckets.update), protecting log configuration and retention integrity.This approach cleanly separates standard application telemetry from sensitive Data Access logs at the IAM layer without provisioning unnecessary administrative powers, while simultaneously applying robust geographic and network-based contextual guardrails.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.