nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVELOPER · Question #189

PROFESSIONAL-CLOUD-DEVELOPER Question #189: Real Exam Question with Answer & Explanation

The correct answer is C: Store the logs in Cloud Logging as custom logs with a custom retention period.. Note, that it's possible to configure Cloud Logging with a custom retention period. https://cloud.google.com/logging/docs/buckets#custom-retention

Monitoring, logging, and troubleshooting

Question

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?

Options

  • AStore the logs in a Cloud Storage bucket with bucket lock turned on.
  • BStore the logs in a Cloud Storage bucket with a 3-year retention period.
  • CStore the logs in Cloud Logging as custom logs with a custom retention period.
  • DStore the logs in a Cloud Storage bucket with a 1-year retention period. After 1 year, move the

Explanation

Note, that it's possible to configure Cloud Logging with a custom retention period. https://cloud.google.com/logging/docs/buckets#custom-retention

Topics

#Cloud Logging#Data Retention#Compliance#Log Management

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER PracticeBrowse All PROFESSIONAL-CLOUD-DEVELOPER Questions