ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 720 - SAP-C01 discussion

Report
Export

A media company uses Amazon DynamoDB to store metadata for its catalog of movies that are available to stream. Each media item contains user-facing content that includes a description of the media, a list of searchable tags, and other similar data. In addition, media items include a list of Amazon S3 key names that relate to movie files. The company stores these movie files in a single S3 bucket that has versioning enabled. The company uses Amazon CloudFront to serve these movie files.

The company has 100,000 media items, and each media item can have many different S3 objects that represent different encodings of the same media. S3 objects that belong to the same media item are grouped together under the same key prefix, which is a random unique ID.

Because of an expiring contract with a media provider, the company must remove 2,000 media items. The company must completely delete all DynamoDB keys and movie files on Amazon S3 that are related to these media items within 36 hours.

The company must ensure that the content cannot be recovered.

Which combination of actions will meet these requirements? (Choose two.)

A.
Configure the DynamoDB table with a TTL field. Create and invoke an AWS Lambda function to perform a conditional update. Set the TTL field to the time of the contract’s expiration on every affected media item.
Answers
A.
Configure the DynamoDB table with a TTL field. Create and invoke an AWS Lambda function to perform a conditional update. Set the TTL field to the time of the contract’s expiration on every affected media item.
B.
Configure an S3 Lifecycle object expiration rule that is based on the contract’s expiration date.
Answers
B.
Configure an S3 Lifecycle object expiration rule that is based on the contract’s expiration date.
C.
Write a script to perform a conditional delete on all the affected DynamoDB records.
Answers
C.
Write a script to perform a conditional delete on all the affected DynamoDB records.
D.
Temporarily suspend versioning on the S3 bucket. Create and invoke an AWS Lambda function that deletes affected objects. Reactivate versioning when the operation is complete.
Answers
D.
Temporarily suspend versioning on the S3 bucket. Create and invoke an AWS Lambda function that deletes affected objects. Reactivate versioning when the operation is complete.
E.
Write a script to delete objects from Amazon S3. Specify in each request a NoncurrentVersionExpiration property with a NoncurrentDays attribute set to 0.
Answers
E.
Write a script to delete objects from Amazon S3. Specify in each request a NoncurrentVersionExpiration property with a NoncurrentDays attribute set to 0.
Suggested answer: B, D
asked 16/09/2024
Christopher Adams
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first