Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Professional Cloud Security Engineer practice bank has 1,343 more like it. Try 10 free: instant score, no account.
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?
The Logs Configuration Writer (roles/logging.configWriter) role allows users to create, update, and delete logging configurations, such as log sinks, log-based metrics, log scopes, and log exclusions, but does not provide read access to log entry payloads or private audit logs.
logging.privateLogEntries.list and standard logging.logEntries.list permissions necessary for auditors to query and view Data Access audit logs.logging.sinks.*) and exclusions (logging.exclusions.*).The goal was to allow a CI/CD pipeline service account to provision centralized log routing sinks without granting it access to read log payload data.
Configuration roles like roles/logging.configWriter manage log routing topology, whereas viewing roles like roles/logging.viewer and roles/logging.privateLogViewer control telemetry consumption.
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.
Assigning Private Logs Viewer (roles/logging.privateLogViewer) to both developers and auditors grants all users full visibility into sensitive Data Access audit logs across the designated resource scope, while attempting to rely on VPC Service Controls ingress rules to restrict network access.
All developers required unrestricted access to audit trails and Data Access logs as part of a centralized security engineering triage role.
Data Access audit logs can contain sensitive metadata, queries, and identities. Developers only require roles/logging.viewer for standard troubleshooting.
The Logging Admin (roles/logging.admin) role provides full administrative control over Google Cloud Logging resources, including creating, deleting, and modifying log sinks, log buckets, views, exclusions, metrics, and security settings, in addition to granting access to all logs.
logging.buckets.delete and logging.sinks.update.Auditors were platform reliability or logging infrastructure administrators responsible for provisioning sinks, managing Cloud Storage log exports, and maintaining organization-wide log bucket configurations.
In Google Cloud, read access to Data Access audit logs is specifically governed by roles/logging.privateLogViewer, making administrative assignment unnecessary and insecure for read-only auditor personas.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated