Professional Cloud DevOps 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.
Your enterprise organization needs to centralize logging across all current and future projects into a dedicated project named logging-prod.
The design must meet the following requirements:
logging-prod._Default log buckets to control storage costs, while ensuring mandatory system audit logs remain stored in each originating project's _Required bucket.Which logging architecture should you implement?
An intercepting aggregated log sink is an organization-level or folder-level routing rule configured in Cloud Logging that captures log entries from the parent resource and all child resources. Unlike non-intercepting sinks, an intercepting sink halts the downstream evaluation of matching log entries in child resources, preventing them from being processed by child-level sinks (such as the system-created _Default sink) while still guaranteeing delivery to the originating project's _Required sink.
--include-children automatically encompasses all existing and newly created folders and projects without manual intervention.--intercept-children (or setting interceptChildren: true), matching Data Access logs are intercepted and withheld from project-level _Default sinks, avoiding duplicate ingestion charges across hundreds of projects._Required log sink in the originating resource, ensuring Admin Activity and System Event logs remain compliant at the project boundary.logging-prod) then reroute the entries into storage repositories like custom Log Buckets. Granting Logs Writer (roles/logging.logWriter) to the sink's generated writerIdentity service account satisfies least-privilege destination access.This architecture is the only design that strictly complies with Google Cloud's routing model: intercepting aggregated sinks must terminate at a project destination, where local sinks manage secondary delivery to custom Log Buckets while protecting child projects from double-storage costs.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.