Topic 1 Question 172
You manage your company's ecommerce platform's payment system, which runs on Google Cloud. Your company must retain user logs for 1 year for internal auditing purposes and for 3 years to meet compliance requirements. You need to store new user logs on Google Cloud to minimize on-premises storage usage and ensure that they are easily searchable. You want to minimize effort while ensuring that the logs are stored correctly. What should you do?
Store the logs in a Cloud Storage bucket with bucket lock turned on.
Store the logs in a Cloud Storage bucket with a 3-year retention period.
Store the logs in Cloud Logging as custom logs with a custom retention period.
Store the logs in a Cloud Storage bucket with a 1-year retention period. After 1 year, move the logs to another bucket with a 2-year retention period.
ユーザの投票
コメント(5)
- 正解だと思う選択肢: C
The requirements say that the logs should be easily searchable. This is not easily achieved in Cloud Storage, so that eliminates A,B and D.
That leaves C and the valid option.
Note, that it's possible to configure Cloud Logging with a custom retention period. https://cloud.google.com/logging/docs/buckets#custom-retention
👍 6micoams2022/12/18 - 正解だと思う選択肢: C
C is the correct answer instead.
https://cloud.google.com/logging/docs/routing/overview#logs-retention Cloud Logging retains logs according to retention rules applying to the log bucket type where the logs are held.
You can configure Cloud Logging to retain logs between 1 day and 3650 days. Custom retention rules apply to all the logs in a bucket, regardless of the log type or whether that log has been copied from another location.
👍 2zellck2022/12/22 - 正解だと思う選択肢: B
B is the answer.
👍 1zellck2022/12/15
シャッフルモード