exam questions

Exam AWS Certified Big Data - Specialty All Questions

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

Exam AWS Certified Big Data - Specialty topic 1 question 44 discussion

Exam question from Amazon's AWS Certified Big Data - Specialty
Question #: 44
Topic #: 1
[All AWS Certified Big Data - Specialty Questions]

A system needs to collect on-premises application spool files into a persistent storage layer in AWS. Each spool file is 2 KB. The application generates 1 M files per hour. Each source file is automatically deleted from the local server after an hour.
What is the most cost-efficient option to meet these requirements?

  • A. Write file contents to an Amazon DynamoDB table.
  • B. Copy files to Amazon S3 Standard Storage.
  • C. Write file contents to Amazon ElastiCache.
  • D. Copy files to Amazon S3 infrequent Access Storage.
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
jay1ram2
Highly Voted 3 years, 6 months ago
Correct Answer is A The main asks are persistence and cost-efficiency. Let us calculate the storage and R/W numbers 2KB/File * 1 Million files/Hr * 24 Hrs * 30 Days = 1 Month of data 2/(1024 * 1024) * 1,000,000 * 24 * 30 = 1,373 GB of data/month 1,000,000 * 24 * 30 = 720 Million writes/month or ~278 writes/second. A) The cost of storing 1.37 TB of data in DynamoDB is $370. On-demand cost of writing ~278/sec into DynamoDB is ~600 a month with a total cost of ~$1000. It is persistence storage. B) The cost of storing 1.37 TB of data in S3 is ~$31. Put request cost of 720 Million objects ~$3600 a month with aa total cost of ~$3631. C) Storing 720 Million records with total size 1.3 TB in Elasticache memory will cost more than $10K/month along with snapshot cost for persistence. D) S3 IA costs are even higher than standard costs given that the minimum size requirement/object is 128KB. A is the most cost-efficient of all along with persistence SLA.
upvoted 23 times
notcloudguru
3 years, 6 months ago
Yes correct, from S3 FAQ Request Example: Assume you transfer 10,000 files into Amazon S3 and transfer 20,000 files out of Amazon S3 each day during the month of March. Then, you delete 5,000 files on March 31st. Total PUT requests = 10,000 requests x 31 days = 310,000 requests Total GET requests = 20,000 requests x 31 days = 620,000 requests Total DELETE requests = 5,000×1 day = 5,000 requests Assuming your bucket is in the US East (Northern Virginia) Region, the Request fees are calculated below: 310,000 PUT Requests: 310,000 requests x $0.005/1,000 = $1.55 620,000 GET Requests: 620,000 requests x $0.004/10,000 = $0.25 5,000 DELETE requests = 5,000 requests x $0.00 (no charge) = $0.00
upvoted 1 times
...
...
alotofjeff
Highly Voted 3 years, 7 months ago
for N.virginia DynamoDB per GB 0.25/month + RCU S3 Standard per GB 0.023/month S3 Standard IA per GB /0.0125 but bill minimum 128KB for each object S3 Standard is cheaper
upvoted 10 times
...
skytango
Most Recent 3 years, 5 months ago
This article can be a clue. The answer could be A due to too many small files. https://www.reddit.com/r/aws/comments/5haamf/has_anyone_done_the_costs_math_on_s3_vs_dynamodb/
upvoted 1 times
...
jove
3 years, 5 months ago
A is correct : Too many small files.. S3 is not a good choice. DynamoDB is the right option.
upvoted 1 times
...
askaron
3 years, 5 months ago
D. You can run a batch job e.g. every 30 minutes to gzip new files into one gz file and upload to S3 IA. All requirements met, only 48 API S3 PUT calls per day, and the file will for sure be bigger than 128kb.
upvoted 1 times
...
jsr2017
3 years, 6 months ago
B is the correct, for dynamo you also need to pay by request. Also you can call once per minute
upvoted 3 times
...
YashBindlish
3 years, 6 months ago
Correct Answer is A
upvoted 1 times
...
Sandip_ece
3 years, 6 months ago
As the question is asking to store files on AWS, I will go with Option - B
upvoted 2 times
...
san2020
3 years, 6 months ago
my selection A
upvoted 2 times
...
miguel80
3 years, 6 months ago
D would give you 30 days of storage per file, it doesn't say you have to keep the files, dynamoDB with TTL is a better option?
upvoted 1 times
...
sriansri
3 years, 6 months ago
S3 Standard is most cost efficient. 2M Kb files per hour which leads to 48GB per day and 1152 GB per month For this S3 cost 28 USD DynamoDB cost 308 USD
upvoted 2 times
hailiang
3 years, 6 months ago
need to consider put api cost here. the cost of putting 1M small object per hour to s3 will kill your customer at the end of the month
upvoted 3 times
...
...
Raju_k
3 years, 6 months ago
I would agree with @pra276 and select A because too many small object put requests to S3 increases cost compared to DynamoDB.
upvoted 1 times
...
BigEv
3 years, 6 months ago
I choose D The question is asking for "persistent storage layer", but DynamoDB is naturally a database. So I think S3 should be option. However, the question does not clearly mention how frequently the stored data need be accessed, so I will go with S3 IA which is less expensive than S3 standard.
upvoted 3 times
d00ku
3 years, 6 months ago
S3 IA charges on items min size 128kb. So even if the objects in the question have 2kb they will be charged for 128kb each. This results in higher costs compared to standard S3.
upvoted 8 times
...
...
cybe001
3 years, 6 months ago
D, Persistence and Cheap solution. The question didn't tell how frequent the files will be accessed. So D instead of B.
upvoted 5 times
...
asadao
3 years, 6 months ago
B correct
upvoted 1 times
...
M2
3 years, 6 months ago
Answer is B as it is frequently accessed storage and cheaper
upvoted 3 times
...
Zire
3 years, 7 months ago
I'd look at the two key phrases in this question: a persistent storage layer AND most cost-efficient option. That leads me to D
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago