
Answer-first summary for fast verification
Answer: In the Logs router of each project, create a sink with the logs bucket in the security project as destination and specify the Apache logs to exclude with a filter rate of 100.
The correct approach is to create a sink in the Logs router of each project, directing logs to the security project's logging bucket while excluding all Apache logs by setting the filter rate to 100. This meets the requirement of centralizing logs in the security project without including Apache logs. Other options either fail to centralize logs or incorrectly set the filter rate, leading to Apache logs being included.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your company operates multiple projects in Google Cloud, representing various environments like development, test, pre-production, and production. A centralized logging system is needed where all environments send their logs to a security project, with the exception of logs generated by an Apache application. How can you achieve this?
A
Create a Logs bucket in each project.
B
In the Logs router of each project, create a sink with the logs bucket in the security project as destination and specify the Apache logs to exclude with a filter rate of 100.
C
Create a Logs bucket in the security project.
D
In the Logs router of each project, create a sink with the logs bucket in each project as destination.
E
In the Logs router of each project, create a sink with the logs bucket in the security project as destination and specify the Apache logs to exclude with a filter rate of 0.
F
destination and specify the Apache logs to exclude with a filter rate of 100.