Topic 1 Question 78
You are running an application on Compute Engine and collecting logs through Stackdriver. You discover that some personally identifiable information (PII) is leaking into certain log entry fields. You want to prevent these fields from being written in new log entries as quickly as possible. What should you do?
Use the filter-record-transformer Fluentd filter plugin to remove the fields from the log entries in flight.
Use the fluent-plugin-record-reformer Fluentd output plugin to remove the fields from the log entries in flight.
Wait for the application developers to patch the application, and then verify that the log entries are no longer exposing PII.
Stage log entries to Cloud Storage, and then trigger a Cloud Function to remove the fields and write the entries to Stackdriver via the Stackdriver Logging API.
ユーザの投票
コメント(13)
reformer is Fluentd plugin to add or replace fields of a event record, so ans is A
👍 9MF2C2021/11/06- 正解だと思う選択肢: A
Seems both A and B will work. However i will go with A, since it is included in the fluentd core and does not require installing a new plugin
"The filter_record_transformer filter plugin mutates/transforms incoming event streams in a versatile manner. If there is a need to add/delete/modify events, this plugin is the first filter to try. It is included in the Fluentd's core."
👍 5not_thanos2021/12/17 I think A because The fluent-plugin-record-reformer output plugin provides functionality similar to the filter_record_transformer filter plugin, except that it also allows you to modify log tags
👍 3giammydell2021/10/30
シャッフルモード