nerdexam
AmazonAmazon

DVA-C02 · Question #701

DVA-C02 Question #701: Real Exam Question with Answer & Explanation

The correct answer is C: Set up an S3 Lifecycle rule that applies to the objects that have the basic/ prefix. Set the S3. Configuring an S3 Lifecycle rule that targets objects with the basic/ prefix to expire after 90 days automates object deletion with minimal development effort, meeting the requirement without needing custom code or scheduled tasks.

Submitted by diego_uy· Mar 5, 2026Development with AWS Services

Question

A developer manages an application that stores user objects in an Amazon S3 bucket without versioning enabled. The application has premium users and basic users. After premium users upload objects, the premium users have unlimited downloads of their objects. Their objects are stored with a premium/ prefix. After basic users upload objects, the basic users can download their objects for 90 days. Their objects are stored with a basic/ prefix. The developer needs to implement a solution to automatically delete objects for the basic users after 90 days. Which solution will meet these requirements with the LEAST development effort?

Options

  • ACreate an AWS Lambda function that removes any objects in the S3 bucket that have the basic/
  • BSet up an S3 Lifecycle rule that applies to the objects that have the premium/ prefix. Set the S3
  • CSet up an S3 Lifecycle rule that applies to the objects that have the basic/ prefix. Set the S3
  • DCreate a rule for the S3 bucket to identify objects that have the basic/ prefix. Set the rule action to

Explanation

Configuring an S3 Lifecycle rule that targets objects with the basic/ prefix to expire after 90 days automates object deletion with minimal development effort, meeting the requirement without needing custom code or scheduled tasks.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions