nerdexam
Google

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.

Submitted by skyler.x· Apr 18, 2026Ensuring data protection

Question

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 risk of data exposure in your cloud environment. What should you do?

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)
  • A
    3% (1)
  • B
    10% (3)
  • C
    84% (26)
  • D
    3% (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.

ACreate a new BigQuery dataset. Stream all logs to this dataset. Provide the on-premises SIEM

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.

BDefine a log view for the relevant logs. Provide access to the log view to a principal from your on-

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.

CCreate a log sink for the relevant logs. Send the logs to Pub/Sub. Retrieve the logs from Pub/SubCorrect

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.

DFilter for the relevant logs. Store the logs in a Cloud Storage bucket. Grant the service account

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

#Log Export#SIEM Integration#Pub/Sub#Data Security

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-SECURITY-ENGINEER Practice