nerdexam
Amazon

SCS-C02 · Question #63

A company developed an application by using AWS Lambda, Amazon S3, Amazon Simple Notification Service (Amazon SNS), and Amazon DynamoDB. An external application puts objects into the company's S3…

The correct answer is B. Create an S3 Lifecycle policy to expire objects that are older than 30 days. Update the Lambda. https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html

Submitted by packet_pusher· Mar 6, 2026Data Protection

Question

A company developed an application by using AWS Lambda, Amazon S3, Amazon Simple Notification Service (Amazon SNS), and Amazon DynamoDB. An external application puts objects into the company's S3 bucket and tags the objects with date and time. A Lambda function periodically pulls data from the company's S3 bucket based on date and time tags and inserts specific values into a DynamoDB table for further processing. The data includes personally identifiable information (PII). The company must remove data that is older than 30 days from the S3 bucket and the DynamoDB table. Which solution will meet this requirement with the MOST operational efficiency?

Options

  • AUpdate the Lambda function to add a TTL S3 flag to S3 objects. Create an S3 Lifecycle policy to
  • BCreate an S3 Lifecycle policy to expire objects that are older than 30 days. Update the Lambda
  • CCreate an S3 Lifecycle policy to expire objects that are older than 30 days and to add all prefixes
  • DCreate an S3 Lifecycle policy to expire objects that are older than 30 days by using object tags.

How the community answered

(35 responses)
  • A
    9% (3)
  • B
    74% (26)
  • C
    14% (5)
  • D
    3% (1)

Explanation

https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html

Topics

#S3 Lifecycle policy#DynamoDB TTL#PII data retention#data expiration

Community Discussion

No community discussion yet for this question.

Full SCS-C02 Practice