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.
A financial enterprise is designing a centralized logging and compliance architecture across all Google Cloud projects in its organization. The compliance and security teams have established the following requirements:
Which logging and storage strategy should the enterprise implement to satisfy these requirements?
This option builds a custom, unmanaged log processing pipeline using Cloud Pub/Sub, a Compute Engine VM, local persistent disks, and custom shell scripts to push log archives to Cloud Storage.
iptables firewall rules protect host network sockets on the VM but do not enforce least-privilege IAM controls over the destination storage archive or prevent unauthorized bucket operations.The enterprise required custom stream transformation, heavy on-the-fly log enrichment, or third-party proprietary hashing on-premises before data reached cloud storage.
This option exports audit logs to BigQuery for structured analytical querying, using table partition expiration for retention and BigQuery column-level security for access control.
The primary goal was performing continuous, complex SQL security analytics over multi-year audit history without cold-storage archival constraints.
This option attempts to manage 5-year retention and access controls exclusively within native Cloud Logging log buckets (_Default and _Required) without exporting data to Cloud Storage.
LogEntry payloads, not to prevent log bucket deletion or manage storage lifecycle transitions._Required bucket beyond its fixed 400-day period.The requirement was to retain logs for up to 10 years directly within the Logging query engine for real-time Log Analytics without requiring cold-storage lifecycle transitions or WORM immutability.
This solution implements an enterprise-grade log retention, archival, and access control architecture by combining aggregated Cloud Logging sinks, Cloud Storage Object Lifecycle Management, Cloud Storage Bucket Lock, and granular Identity and Access Management (IAM) roles.
SetStorageClass action automatically inspects object age conditions and transitions data from Standard storage to Coldline storage after 90 days, significantly reducing long-term storage expenditures for infrequently accessed audit records.roles/storage.objectViewer gives auditors read-only access to inspect log objects while strictly withholding write, delete, and policy modification privileges (storage.buckets.setIamPolicy).Using Cloud Storage with Bucket Lock and Object Lifecycle Management provides a fully managed, compliant, and cost-effective long-term archival solution that exceeds the operational capabilities of standard log buckets while strictly enforcing least privilege.
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