Home › GCP Associate Cloud Engineer › cloudcomputing › gcpoperations › 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.
Related questions
A subnet was created with /24 (256 addresses) and is running out. Which Google Cloud operaA team needs to deploy infrastructure-as-code on Google Cloud. Which combination of tools An auditor needs an immutable record of who took what action against Google Cloud APIs in Which Kubernetes-native autoscaler on GKE adjusts the NUMBER of replicas of a Deployment bAn organisation wants to centralise audit logs from multiple Google Cloud projects into onWhich networking feature would you use to give a private (no external IP) VM outbound inteWhich Google Cloud agent (installable on Compute Engine VMs and on-prem servers) collects Where in Google Cloud do you create alerting policies based on metrics like CPU > 80% for