D3: Log Buckets, Log Analytics, Routers & Exports
Google Cloud Associate Cloud Engineer exam practice questions · 13 flashcards
Question
What is the Log Router?
1 / 13
Tip: Space flips the card, ← / → navigate.
Show all 13 Log Buckets, Log Analytics, Routers & Exports practice questions and answers
- What is the Log Router?Evaluates every log entry against sinks to decide where it goes.
- What is a sink?A routing rule with a filter and destination.
- Sink destinations?Log buckets, BigQuery, Cloud Storage, Pub/Sub, or another project.
- How do you export logs to on-prem/Splunk?Sink to Pub/Sub, consumed by the external system.
- How do you export logs for SQL analysis?Sink to BigQuery, or use Log Analytics.
- Default log buckets?_Required (400 days, unchangeable) and _Default (30 days, configurable).
- Can you create custom log buckets?Yes, with custom retention (up to 3650 days) and region.
- What is Log Analytics?Query logs with SQL by upgrading a log bucket, optionally linking a BigQuery dataset.
- What is an aggregated sink?An org/folder-level sink with --include-children to collect logs from all projects.
- What must be granted after creating a sink?The sink's writer identity needs write permission on the destination.
- How do you create a sink?gcloud logging sinks create NAME DESTINATION --log-filter='...'.
- How do you exclude noisy logs?Exclusion filters on sinks (e.g. _Default).
- Cheapest long-term log archive?Sink to Cloud Storage (with colder classes).