PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #332
A team at your organization collects logs in an on-premises security information and event management system (SIEM). You must provide a subset of Google Cloud logs for the SIEM, and minimize the…
The correct answer is C. Create a log sink for the relevant logs. Send the logs to Pub/Sub. Retrieve the logs from Pub/Sub. To provide a subset of Google Cloud logs to an on-premises SIEM while minimizing data exposure, configure a log sink to send relevant logs to Pub/Sub, and then retrieve them from Pub/Sub.
Question
Options
- ACreate a new BigQuery dataset. Stream all logs to this dataset. Provide the on-premises SIEM
- BDefine a log view for the relevant logs. Provide access to the log view to a principal from your on-
- CCreate a log sink for the relevant logs. Send the logs to Pub/Sub. Retrieve the logs from Pub/Sub
- DFilter for the relevant logs. Store the logs in a Cloud Storage bucket. Grant the service account
How the community answered
(31 responses)- A3% (1)
- B10% (3)
- C84% (26)
- D3% (1)
Why each option
To provide a subset of Google Cloud logs to an on-premises SIEM while minimizing data exposure, configure a log sink to send relevant logs to Pub/Sub, and then retrieve them from Pub/Sub.
Streaming all logs to BigQuery and providing direct SIEM access is not the most secure or efficient method for real-time log ingestion by a SIEM and could expose more data than necessary.
Log views provide a filtered perspective within Cloud Logging, but they do not offer a mechanism for exporting or streaming logs to an external, on-premises SIEM.
A log sink allows filtering for specific logs and exporting them to Pub/Sub, which acts as a durable message queue. The on-premises SIEM can then securely pull these logs from Pub/Sub, ensuring only necessary data is transferred and minimizing direct exposure to the Google Cloud environment.
Storing logs in a Cloud Storage bucket and granting a service account direct access provides static storage, which may not be suitable for real-time SIEM ingestion and could pose a higher data exposure risk compared to a Pub/Sub pull model.
Concept tested: Exporting Cloud Logging logs to external systems
Source: https://cloud.google.com/logging/docs/export/configure_export_sinks
Topics
Community Discussion
No community discussion yet for this question.