Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Security - Specialty SCS-C02 All Questions

View all questions & answers for the AWS Certified Security - Specialty SCS-C02 exam

Exam AWS Certified Security - Specialty SCS-C02 topic 1 question 26 discussion

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?

  • A. Update the Lambda function to add a TTL S3 flag to S3 objects. Create an S3 Lifecycle policy to expire objects that are older than 30 days by using the TTL S3 flag.
  • B. Create an S3 Lifecycle policy to expire objects that are older than 30 days. Update the Lambda function to add the TTL attribute in the DynamoDB table. Enable TTL on the DynamoDB table to expire entries that are older than 30 days based on the TTL attribute.
  • C. Create an S3 Lifecycle policy to expire objects that are older than 30 days and to add all prefixes to the S3 bucket. Update the Lambda function to delete entries that are older than 30 days.
  • D. Create an S3 Lifecycle policy to expire objects that are older than 30 days by using object tags. Update the Lambda function to delete entries that are older than 30 days.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
dhewa
2 weeks, 5 days ago
Selected Answer: B
B is the only answer that addresses Dynamo DB
upvoted 1 times
...
FunkyFresco
1 month, 2 weeks ago
Selected Answer: B
B is correct.
upvoted 1 times
...
Raphaello
7 months ago
Selected Answer: B
B is a correct choice.
upvoted 1 times
...
i7ovemyself
7 months, 1 week ago
Lifecycle Policy for s3 and TTL for Dynamo DB, best combination. Answer will be B.
upvoted 1 times
...
Daniel76
10 months, 2 weeks ago
Selected Answer: B
https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html Just need to set expiration days in the LifecycleConfiguration- add prefix, object tags are not needed. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html TTL is used for housekeeping data in DynamoDB by enabling TTL attribute by console or CLI, without the need for any lambda function/
upvoted 1 times
...
[Removed]
11 months, 1 week ago
Selected Answer: B
Lifecycle policy for S3, TTL for dynamodb.
upvoted 2 times
...
lalee2
11 months, 1 week ago
Selected Answer: B
B is right
upvoted 1 times
...
pupsik
11 months, 2 weeks ago
Selected Answer: B
B is correct... although wording is not quite right.
upvoted 2 times
...
abhishek007
11 months, 2 weeks ago
B is the correct answer
upvoted 1 times
...
Sumi81
11 months, 2 weeks ago
B is right
upvoted 2 times
...
kk2000
12 months ago
Correct Answer is B
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...