makeporngreatagain.pro
yeahporn.top
hd xxx

S3 Quiz

252,469

A company is asking its developers to store application logs in an S3 bucket. These logs are only required for a temporary period of time after which, they can be deleted. Which of the following steps can be used to effectively manage this?

A.
Create a cron job to detect the stale logs and delete them accordingly.

B.
Use a bucket policy to manage the deletion.

C.
Usean IAM Policy to manage the deletion.

D.
Use S3 Lifecycle Policies to manage the deletion.

D. UseS3 Lifecycle Policies to manage the deletion.

AWS Documentation mentions the following to support the above requirement:

Lifecycle configuration enables you to specify the lifecycle management of objects in a bucket. The configuration is a set of one or more rules, where each rule defines an action for Amazon S3 to apply to a group of objects. These actions can be classified as follows:

Transition actions – In which you define when objects transition to another storage class. For example, you may choose to transition objects to the STANDARD_IA (IA, for infrequent access) storage class 30 days after creation, or archive objects to the GLACIER storage class one year after creation.
Expiration actions – In which you specify when the objects expire. Then, Amazon S3 deletes the expired objects on your behalf.
For more information on S3 Lifecycle Policies, please refer to the URL below.

https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html

A built-in feature exists to do this job, hence Options A, B and C are not necessary.

Leave A Reply

Your email address will not be published.

baseofporn.com https://www.opoptube.com
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.