Google Cloud Professional Cloud Security Engineer — Question 6

Your team needs to obtain a unified log view of all development cloud projects in your SIEM. The development projects are under the NONPROD organization folder with the test and pre-production projects. The development projects share the ABC-BILLING billing account with the rest of the organization.
Which logging export strategy should you use to meet the requirements?

Answer options

Correct answer: A

Explanation

The correct answer is A because exporting logs to a Cloud Pub/Sub topic with the includeChildren property set to True allows for capturing logs from all nested projects under the NONPROD folder, which is essential for a unified log view. Option B is incorrect as it sets includeChildren to False, which would not capture logs from subprojects. Option C exports logs from each dev project separately, which does not provide a consolidated view, while option D involves creating separate storage buckets that complicate the log management process.