Topic 9 Question 58
2 つ選択Which two places hold information you can use to monitor the effects of a Cloud Storage lifecycle policy on specific objects?
Cloud Storage Lifecycle Monitoring
Expiration time metadata
Access logs
Lifecycle config file
解説
If a Delete action is specified for a bucket with the Age condition (and no NumberOfNewerVersions condition), then some objects may be tagged with expiration time metadata. An object's expiration time indicates the time at which the object becomes (or became) eligible for deletion by Object Lifecycle Management. The expiration time may change as the bucket's lifecycle configuration changes. To find out what lifecycle management actions have been taken, you can enable access logs for your bucket. A value of "GCS Lifecycle Management" in the "cs_user_agent" field in the log entry indicates the action was taken by Google Cloud Storage based on the lifecycle configuration. A lifecycle config file is used to configure a lifecycle policy, but it does not contain information about how that policy has affected specific objects. There is no service called "Cloud Storage Lifecycle Monitoring". Reference: https://cloud.google.com/storage/docs/lifecycle#expirationtime
コメント(4)
Lifecycle config file contains the information of how is affecting the policy to the bucket. Log Access has no information about lifecycle...
👍 4jcmoranp2019/10/27BC is correct
👍 4guid19842021/02/16https://cloud.google.com/storage/docs/lifecycle#tracking
Options for tracking Lifecycle actions To track the lifecycle management actions that Cloud Storage takes, use one of the following options:
Use Cloud Storage Access Logs. This feature logs both the action and who performed the action. A value of GCS Lifecycle Management in the cs_user_agent field of the log entry indicates the action was taken by Cloud Storage in accordance with a lifecycle configuration.
Enable Pub/Sub Notifications for Cloud Storage for your bucket. This feature sends notifications to a Pub/Sub topic of your choice when specified actions occur. Note that this feature does not record who performed the actions.
👍 3mikey0072020/06/14
シャッフルモード