
Answer-first summary for fast verification
Answer: Create a Logs Bucket with a retention period of 1095 days. Create a new Logs Sink with the new Logs Bucket as destination and the inclusion filter of the _Required Sink.
Option A is correct because creating a new Logs Bucket with the desired retention period and a Sink to collate the specified logs meets the requirement. The inclusion filter of the _Required Sink captures the specified logs. Option B is incorrect as the _Default Logs Bucket does not contain the required logs (Admin Activity audit logs). Option C is incorrect because the _Required Logs Bucket and Sink cannot be edited. Option D is incorrect as the _Default Logs Sink inclusion filters do not capture the specified logs. For more information, refer to Google Cloud's documentation on logging storage options.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a member of the SRE team at your company, you're tasked with complying with a new government regulation that requires keeping logs of all API calls made in the Production project for three years. Which of the following solutions will help you meet this requirement?
A
Create a Logs Bucket with a retention period of 1095 days. Create a new Logs Sink with the new Logs Bucket as destination and the inclusion filter of the _Required Sink.
B
Update the retention period of the _Default Logs bucket from 30 days to 1095 days.
C
Update the retention period of the _Required Logs bucket from 400 days to 1095 days.
D
Create a Logs Bucket with a retention period of 1095 days. Create a new Logs Sink with the new Logs Bucket as destination and the inclusion filter of the _Default Sink.
No comments yet.