QuestionQ170

Integrating applications with Google Cloud services

You administer your company's ecommerce platform payment system, which runs on Google Cloud. The company must keep user logs for 1 year for internal auditing and for 3 years to satisfy compliance requirements. You need to store new user logs on Google Cloud to reduce on-premises storage use and make sure they can be searched easily. You want to minimize effort while ensuring the logs are stored properly. What should you do?

  • A Store the logs in a Cloud Storage bucket with bucket lock turned on.
  • B Store the logs in a Cloud Storage bucket with a 3-year retention period.
  • C Store the logs in Cloud Logging as custom logs with a custom retention period.
  • D 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.
Explanation

Cloud Logging is a fully managed service for storing and searching log data, including user-written custom logs. Project-level custom log buckets support configurable retention from 1 to 3,650 days, so setting a 3-year retention period satisfies both the 3-year compliance requirement and the shorter 1-year audit requirement without managing Cloud Storage lifecycle transitions.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!