Google Cloud Professional Cloud Security Engineer — Question 247

A company is backing up application logs to a Cloud Storage bucket shared with both analysts and the administrator. Analysts should only have access to logs that do not contain any personally identifiable information (PII). Log files containing PII should be stored in another bucket that is only accessible by the administrator.
What should you do?

Answer options

Correct answer: A

Explanation

The correct answer is A because it effectively scans for PII and moves files to a secure bucket if they contain sensitive information. Option B is incorrect as it does not prevent PII from being initially stored in the shared bucket, while options C and D do not adequately address the need to separate PII from non-PII logs.