A regulation requires duplicating specific application logs from your project to a security-team project restricted to the security team. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Create user-defined log buckets in the security team's project and configure a Cloud Logging sink to route the application's logs there..
Why this is the answer
Creating user-defined log buckets in the security team's project and configuring a Cloud Logging sink is the correct approach. Sinks allow you to route specific log entries from one project to a designated destination, such as a log bucket in another project, based on filters. This directly addresses the requirement to duplicate specific application logs to a restricted security team project. The other options are incorrect because: Copying logs from the Required log bucket is not feasible as this bucket is for audit logs and cannot be directly modified or copied from in this manner for application logs. Modifying Default log bucket sink rules would affect all logs and not allow for selective duplication to another project while maintaining the original logs. Copying System Event logs from Required is incorrect as the requirement is for application logs, not system events, and the Required bucket is not the source for general application logs.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed