Question

Difficulty: EasyConfiguring Cloud Logging, Monitoring, and Operational Alerting

An operations team needs to export audit and application logs from a Google Cloud project into a Cloud Storage bucket for long-term compliance storage. They require a continuous, automated routing mechanism built directly into Google Cloud's operational suite. Which feature should they configure to meet this requirement?

  1. A Cloud Logging Log Sink configured with the Cloud Storage bucket as the destination target.Answer
  2. B
    A continuous Storage Transfer Service job configured using the primitive Owner role to ingest logs from Cloud Logging.
  3. C
    A Cloud IAM policy granting the Service Account User role to the default Compute Engine service account to export log archives.
  4. D
    A Quotas page quota increase request to expand the retention window of _Default log buckets beyond standard limits.

Answer

The operations team should configure a Cloud Logging Log Sink pointing to the Cloud Storage bucket as its destination target.
Configuring a Log Sink with a Cloud Storage destination is the native, fully managed Google Cloud method to continuously route ingested log entries into Cloud Storage for long-term retention and compliance.

Step-by-Step Solution

1
Identify the primary requirement
Automated and continuous export of Cloud Logging entries into Cloud Storage for long-term retention.
Cloud Logging ingestion includes log routing mechanisms designed specifically to stream incoming log data to external storage sinks.
2
Evaluate Google Cloud Logging features for continuous export
Log Sinks in Cloud Logging allow defining inclusion filters and selecting supported destinations such as Cloud Storage, BigQuery, and Pub/Sub.
Creating a Log Sink automatically routes matching log entries to the specified Cloud Storage bucket asynchronously as logs are ingested.

Key Concept

Cloud Logging Sinks and Export Routing
Rate this question