ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 328 - SCS-C01 discussion

Report
Export

Development teams in your organization use S3 buckets to store the log files for various applications hosted ir development environments in AWS. The developers want to keep the logs for one month for troubleshooting purposes, and then purge the logs. What feature will enable this requirement?

Please select:

A.
Adding a bucket policy on the S3 bucket.
Answers
A.
Adding a bucket policy on the S3 bucket.
B.
Configuring lifecycle configuration rules on the S3 bucket.
Answers
B.
Configuring lifecycle configuration rules on the S3 bucket.
C.
Creating an IAM policy for the S3 bucket.
Answers
C.
Creating an IAM policy for the S3 bucket.
D.
Enabling CORS on the S3 bucket.
Answers
D.
Enabling CORS on the S3 bucket.
Suggested answer: B

Explanation:

The AWS Documentation mentions the following on lifecycle policies

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 a« follows:

Transition actions - In which you define when objects transition to another . For example, you may choose to transition objects to the STANDARDJA (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. Option A and C are invalid because neither bucket policies neither IAM policy's can control the purging of logs Option D is invalid CORS is used for accessing objects across domains and not for purging of logs For more information on AWS S3 Lifecycle policies, please visit the following URL:

.com/AmazonS3/latest/d<

The correct answer is: Configuring lifecycle configuration rules on the S3 bucket. Submit your Feedback/Queries to our Experts

asked 16/09/2024
Rafal Wozniak
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first