Google
PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #179
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. All
Sign in or unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER to reveal the answer and full explanation for question #179. The question stem and answer options stay visible for context.
Submitted by brentm· Apr 18, 2026Implementing service monitoring strategies
Question
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. All PII entries begin with the text userinfo. You want to capture these log entries in a secure location for later review and prevent them from leaking to Stackdriver Logging. What should you do?
Options
- ACreate a basic log filter matching userinfo, and then configure a log export in the Stackdriver
- BUse a Fluentd filter plugin with the Stackdriver Agent to remove log entries containing userinfo,
- CCreate an advanced log filter matching userinfo, configure a log export in the Stackdriver console
- DUse a Fluentd filter plugin with the Stackdriver Agent to remove log entries containing userinfo,
Unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER to see the answer
You've previewed enough free PROFESSIONAL-CLOUD-DEVOPS-ENGINEER questions. Unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Cloud Logging#Fluentd#PII Protection#Log Filtering