Practice free →
HomeGCP Associate Cloud Engineercloudcomputinggcpoperations › When viewing logs in Cloud Logging, what is the …

When viewing logs in Cloud Logging, what is the purpose of a 'log sink' configured to route to BigQuery or Cloud Storage?

AReplace Cloud Monitoring's role as the metrics store
BConvert structured logs into TLS certificates
CDelete logs older than 7 days automatically
DContinuously export selected log entries to an external destination for long-term retention or analysis
Answer & Solution
Correct answer: D. Continuously export selected log entries to an external destination for long-term retention or analysis
Log sinks send a filtered subset of logs to BigQuery (for SQL queries), Cloud Storage (cheap archival), Pub/Sub (downstream pipelines), or another GCP project. The other options are unrelated functions.
Solve this in the app — GCP Associate Cloud Engineer practice & 24k+ MCQs →
Related questions