Multiple Choice
A developer is building a new application that uses an Amazon DynamoDB table. The specification states that all items that are older than 48 hours must be removed. Which solution will meet this requirement?
A) Create a new attribute that has the Number data type. Add a local secondary index (LSI) for this attribute, and enable TTL with an expiration of 48 hours. In the application code, set the value of this attribute to the current timestamp for each new item that is being inserted.
B) Create a new attribute that has the String data type. Add a local secondary index (LSI) for this attribute, and enable TTL with an expiration of 48 hours. In the application code, set the value of this attribute to the current timestamp for each new item that is being inserted.
C) Create a new attribute that has the Number data type. Enable TTL on the DynamoDB table for this attribute. In the application code, set the value of this attribute to the current timestamp plus 48 hours for each new item that is being inserted.
D) Create a new attribute that has the String data type. Enable TTL on the DynamoDB table for this attribute. In the application code, set the value of this attribute to the current timestamp plus 48 hours for each new item that is being inserted.
Correct Answer:

Verified
Correct Answer:
Verified
Q182: A Developer needs to create an application
Q183: A developer is trying to get data
Q184: When uploading an object, what request header
Q185: What type of block cipher does Amazon
Q186: A Developer has discovered that an application
Q188: Company B provides an online image recognition
Q189: When a Simple Queue Service message triggers
Q190: An organization is storing large files in
Q191: An organization is using Amazon API Gateway
Q192: A meteorological system monitors 600 temperature gauges,