
Answer-first summary for fast verification
Answer: Set up a logs sink from the CLI, detailing the logs to collect, the logging bucket, the organization, and using the –include-children flag.
The correct method involves creating a logging bucket in Logging and establishing a sink for organization logs via the CLI. Other options fall short because: creating a logging bucket in the console must be done under Logs Storage in Logging, not Cloud Storage; some options don't support aggregating logs in one location as required. For further details, refer to the guide on aggregating and storing your organization's logs.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Imagine you're tasked with designing a centralized logs collection system for your organization, ensuring all audit logs from every project are aggregated in a single location. What's the best approach to achieve this?
A
Establish a logs sink via the console, selecting the logs to collect, specifying a logging bucket, and including the organization along with all its projects.
B
Initiate a dedicated Project for log collection, then set up a logging bucket in Cloud Storage within that Project using the console.
C
Launch a dedicated Project for log collection, then create a logging bucket in Logging within that Project using the console.
D
Implement a logs sink in each Project directing to a centralized logging bucket.
E
Set up a logs sink from the CLI, detailing the logs to collect, the logging bucket, the organization, and using the –include-children flag.