Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Professional Cloud DevOps Engineer practice bank has 1,455 more like it. Try 10 free: instant score, no account.
Your enterprise organization consists of hundreds of Google Cloud projects organized across multiple folders. To comply with strict security standards, you must centralize all Data Access audit logs generated across the organization into a dedicated project named sec-central-logging.
Your design must satisfy the following criteria:
_Default log buckets, preventing unauthorized local access and unnecessary storage costs._Required sink must continue to be routed normally to their local _Required log bucket.How should you configure the log routing architecture?
--include-children and --intercept-children, and specify an inclusion filter for Data Access audit logs.This option attempts to configure an intercepting aggregated sink at the organization level that points directly to a Cloud Logging log bucket path (logging.googleapis.com/projects/PROJECT_ID/locations/LOCATION/buckets/BUCKET_ID) rather than a project resource.
Cloud Logging allowed intercepting sinks to terminate directly into storage endpoints without routing through an intermediate destination project.
_Default sink across all projects, and use a script to deploy individual project-level sinks routing Data Access audit logs to sec-central-logging.This option uses organization-level default resource settings to turn off the _Default log sink in all child projects, and then relies on scripted automation to create custom project-level sinks in each project that export Data Access logs to the central destination.
_Default sink at the organization level stops all application, infrastructure, and non-audit logs from being ingested into local project _Default buckets, severely breaking standard developer troubleshooting.An organization had a strict requirement to completely eliminate all local log storage across all projects and enforce pure immutable infrastructure-as-code deployments for every log route.
sec-central-logging, set --include-children, and specify an inclusion filter for Data Access audit logs.A non-intercepting aggregated sink collates matching log entries from an organization or folder hierarchy and forwards them to a designated target, such as a log bucket, Pub/Sub topic, BigQuery dataset, or Cloud Storage bucket, while allowing logs to continue flowing down the hierarchy.
_Default sink and stored locally in their _Default bucket, violating the requirement to prevent local project-level access and avoid duplicate storage costs.The goal was to maintain full operational visibility within the child projects while simultaneously creating an aggregated copy in a central audit repository.
sec-central-logging, set --include-children and --intercept-children, and specify an inclusion filter for Data Access audit logs.An intercepting aggregated log sink is an organization- or folder-level log router sink configured with both --include-children and --intercept-children. It collates log entries from all descendant folders and projects while altering the normal hierarchical log flow.
--include-children ensures that log entries from all existing and future child projects and folders are captured._Default) lower in the hierarchy._Required sink routing: The Log Router architecture guarantees that even when an intercepting aggregated sink matches a log entry, the entry is still delivered to the project-level _Required sink in the originating resource.logging.googleapis.com/projects/sec-central-logging), where destination-level sinks can then manage final storage._Required audit entries.This approach natively enforces hierarchical log containment using Cloud Logging Log Routers, fulfilling all security and cost boundaries without manual sink management in individual projects.
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