Google Cloud Professional Cloud Developer — Question 250

A governmental regulation was recently passed that affects your application. For compliance purposes, you are now required to send a duplicate of specific application logs from your application’s project to a project that is restricted to the security team. What should you do?

Answer options

Correct answer: A

Explanation

The correct answer is A because creating user-defined log buckets and configuring a Cloud Logging sink specifically addresses the requirement to send application logs to the security team's restricted project. Options B and D involve copying logs, which is not the most efficient or compliant method for this scenario, while option C alters existing sink rules instead of properly setting up dedicated log buckets for the security team.