exam questions

Exam AWS Certified Database - Specialty All Questions

View all questions & answers for the AWS Certified Database - Specialty exam

Exam AWS Certified Database - Specialty topic 1 question 5 discussion

Exam question from Amazon's AWS Certified Database - Specialty
Question #: 5
Topic #: 1
[All AWS Certified Database - Specialty Questions]

A company is concerned about the cost of a large-scale, transactional application using Amazon DynamoDB that only needs to store data for 2 days before it is deleted. In looking at the tables, a Database Specialist notices that much of the data is months old, and goes back to when the application was first deployed.
What can the Database Specialist do to reduce the overall cost?

  • A. Create a new attribute in each table to track the expiration time and create an AWS Glue transformation to delete entries more than 2 days old.
  • B. Create a new attribute in each table to track the expiration time and enable DynamoDB Streams on each table.
  • C. Create a new attribute in each table to track the expiration time and enable time to live (TTL) on each table.
  • D. Create an Amazon CloudWatch Events event to export the data to Amazon S3 daily using AWS Data Pipeline and then truncate the Amazon DynamoDB table.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
chicagomassageseeker
Highly Voted 3 years, 8 months ago
Answer C. Enable TTL on a new attribute.
upvoted 13 times
...
Pranava_GCP
Most Recent 1 year, 8 months ago
Selected Answer: C
C. Create a new attribute in each table to track the expiration time and enable time to live (TTL) on each table. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html
upvoted 2 times
...
cat_of_meerkat
1 year, 9 months ago
Selected Answer: C
Enable TTL on a new attribute.
upvoted 1 times
...
ken_test1234
2 years, 2 months ago
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/time-to-live-ttl-before-you-start.html correct answer C
upvoted 1 times
...
pintu143
2 years, 3 months ago
Selected Answer: C
Answer C. Enable TTL on a new attribute.
upvoted 1 times
...
renfdo
2 years, 4 months ago
Selected Answer: C
Answer:C
upvoted 2 times
...
SteveMartin9
2 years, 4 months ago
Selected Answer: C
Author from the Udemy.com practice test says C is the correct answer.
upvoted 2 times
...
lollyj
2 years, 5 months ago
Can someone please explain why A was a better solution for cost?
upvoted 1 times
...
ryuhei
2 years, 11 months ago
Selected Answer: C
Answer:C
upvoted 4 times
...
novice_expert
3 years, 1 month ago
Selected Answer: C
C. Create a new attribute in each table to track the expiration time and enable time to live (TTL) on each table.
upvoted 3 times
...
Anuragdba
3 years, 7 months ago
C: TTL is used in dynamo DB
upvoted 1 times
...
aws4myself
3 years, 7 months ago
its C, Dynamo DB TTL attribute for auto deletion
upvoted 1 times
...
guru_ji
3 years, 7 months ago
C ==>> Correct Answer.
upvoted 1 times
...
Ninjamonkey8812
3 years, 7 months ago
My opinion: You can include AWS glue to write a Deletion job to transform the data. TTL might be bound by the timefactor in the document
upvoted 2 times
aws4myself
3 years, 7 months ago
Super, I guess you are an aws product developer/architect. Nice answers, dont mislead people.
upvoted 2 times
...
rlnd2000
2 years, 11 months ago
I don't think your solution helps to minimize the total cost of ownership, the delete queries will scan the tables we will need to pay for that, and we will need to pay for Glue Jobs executions and aws says "...TTL is provided at no extra cost as a means to reduce stored data volumes.."
upvoted 2 times
...
...
Dip11
3 years, 7 months ago
Yes C is correct
upvoted 1 times
...
LMax
3 years, 8 months ago
For sure Answer C
upvoted 1 times
...
myutran
3 years, 8 months ago
Ans: C
upvoted 1 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 ...