
Answer-first summary for fast verification
Answer: In the Logs router of each project, set up a sink with the logs bucket in the security project as the destination and use a filter rate of 100 to exclude Apache logs., Create a Logs bucket in the security project.
To meet the requirements, you should create a logging bucket in the security project and configure a sink in each project's Logs router to direct logs to this bucket, ensuring Apache logs are excluded by setting a filter rate of 100. Options suggesting to keep logs in individual projects or using a filter rate of 0 do not fulfill the centralized logging requirement or the exclusion of Apache logs. For more details, refer to Google Cloud's documentation on logging exclusions.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your company operates multiple projects in Google Cloud, each representing different environments like development, test, pre-production, and production. There's a need to implement a centralized logging system where logs from all environments are sent to a security project, with the exception of logs generated by an Apache application. What are TWO effective steps to achieve this?
A
Establish a Logs bucket in each individual project.
B
In the Logs router of each project, set up a sink with the logs bucket in the security project as the destination and use a filter rate of 100 to exclude Apache logs.
C
Create a Logs bucket in the security project.
D
In the Logs router of each project, configure a sink with the logs bucket in each project as the destination and apply a filter rate of 100 to exclude Apache logs.
E
In the Logs router of each project, create a sink with the logs bucket in the security project as the destination and specify the Apache logs to exclude with a filter rate of 0.