SCS-C03 practice question 6 of 15
A company’s data scientists use Amazon SageMaker with datasets stored in Amazon S3. Data older than 45 days must be removed according to policy. Which action should enforce this policy?
Full set: 227 questionsAmazon S3 Lifecycle is the native, most efficient feature for managing the lifecycle of objects. A lifecycle configuration is a set of rules that define actions S3 applies to groups of objects. The requirement to delete objects older than 45 days can be met by creating an expiration rule. This rule instructs S3 to automatically and permanently delete objects 45 days after their creation, directly enforcing the data retention policy without custom code or additional services.
B. A Lambda trigger on upload is inefficient for managing object age. It would require complex logic to track and delete objects across the entire bucket, rather than acting on a simple time-based policy.
C. A scheduled Lambda is more complex and costly to manage than a native S3 Lifecycle rule. It requires writing, deploying, and maintaining code to list and delete objects periodically.
D. S3 Intelligent-Tiering is a storage class that optimizes costs by moving data between access tiers. It does not, by itself, enforce a deletion policy based on a fixed object age.
1. AWS Documentation, S3 User Guide, "Managing your storage lifecycle," Section: "Lifecycle configuration elements." It states, "You can define rules to... specify actions that you want Amazon S3 to take during an object's lifetime (for example, transitioning objects to another storage class, archiving them, or deleting them after a specified period)."
2. AWS Documentation, S3 User Guide, "Tutorial: Configuring a lifecycle configuration to delete objects." This tutorial provides a step-by-step guide for setting up a rule to expire objects after a specified number of days.
Keep practicing
Take the free SCS-C03 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SCS-C03 practice questions
- Question 1A security engineer has designed a VPC to segment private traffic from public traffic. Th…
- Question 2A company uses AWS Organizations to manage an organization that consists of three workloa…
- Question 3A company uses AWS IAM Identity Center with SAML 2.0 federation. The company decides to c…
- Question 4A company runs a public web application on Amazon EKS behind Amazon CloudFront and an App…
- Question 5A consultant agency needs to perform a security audit for a company's production AWS acco…
- Question 7A security administrator is setting up a new AWS account. The security administrator want…
