PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #148
PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Question #148: Real Exam Question with Answer & Explanation
The correct answer is B: Customize the GKE clusters' Fluentd configuration with a filter rule. Update the Fluentd Config. A is incorrect because you cannot modify the behavior of the logging. B is correct because you can configure the Fluentd logging behavior. C is incorrect because this does not prevent the data from arriving in Stackdriver. D is incorrect because this does not prevent the data fro
Question
You have an application deployed on Google Kubernetes Engine (GKE). The application logs are captured by Stackdriver Logging. You need to remove sensitive data before it reaches the Stackdriver Logging API. What should you do?
Options
- AWrite the log information to the container file system. Execute a second process inside the
- BCustomize the GKE clusters' Fluentd configuration with a filter rule. Update the Fluentd Config
- CConfigure a filter in the Stackdriver Logging UI to exclude the logs with sensitive data.
- DConfigure BigQuery as a sink for the logs from Stackdriver Logging, and then create a Data Loss
Explanation
A is incorrect because you cannot modify the behavior of the logging. B is correct because you can configure the Fluentd logging behavior. C is incorrect because this does not prevent the data from arriving in Stackdriver. D is incorrect because this does not prevent the data from arriving in Stackdriver. https://cloud.google.com/solutions/customizing-stackdriver-logs-fluentd
Topics
Community Discussion
No community discussion yet for this question.