Google Professional Cloud DevOps Engineer

Google Professional Cloud DevOps Engineer

Get started today

Ultimate access to all questions.


Your company operates services on Google Cloud with each team running applications in separate projects. New teams and projects are frequently created. The security team mandates that all logs be processed by a SIEM system, which ingests logs via Pub/Sub. How do you ensure all current and future logs are analyzed by the SIEM?




Explanation:

To ensure that all existing and future logs are scanned by the SIEM system, the most efficient and scalable solution is to create an organization-level aggregated sink with a SIEM Pub/Sub topic as the destination. This approach centralizes log collection at the highest level of the Google Cloud resource hierarchy, ensuring that logs from all current and future projects are included without the need for manual intervention or repeated configurations for each new project or folder. Option A suggests using a log bucket as the destination, which does not directly integrate with the SIEM system's requirement for Pub/Sub ingestion. Option B involves creating folder-level sinks, which would require manual setup for each folder and does not automatically include new folders or projects. Option D suggests project-level sinks, which are not scalable and would require manual setup for each project, making it inefficient for environments where new projects are created regularly. Therefore, Option C is the correct answer as it meets the requirement for scalability, automation, and direct integration with the SIEM system via Pub/Sub.