in AWS by
An application saves the logs to an S3 bucket. A user wants to keep the logs for one month for troubleshooting purposes, and then purge the logs.

What feature will enable this?

A. Adding a bucket policy on the S3 bucket.

B. Configuring lifecycle configuration rules on the S3 bucket.

C. Creating an IAM policy for the S3 bucket.

D. Enabling CORS on the S3 bucket.

1 Answer

0 votes
by

 B – Lifecycle configuration allows 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. Bucket policies and IAM define access to objects in an S3 bucket. CORS enables clients in one domain to interact with resources in a different domain.

...