模拟题讨论:A company collects a steady stream of 10 million data records from 100,000
你的位置
首页 » 话题 » AWS认证专家级解决方案架构师 » 模拟题讨论:A company collects a steady stream of 10 million data records from 100,000
标签: 模拟题
A company collects a steady stream of 10 million data records from 100,000 sources each day. These records are written to an Amazon RDS MySQL DB. A query must produce the daily average of a data source over the past 30 days. There are twice as many reads as writes. Queries to the collected data are for one source
ID at a time.
How can the Solutions Architect improve the reliability and cost effectiveness of this solution?
A. Use Amazon Aurora with MySQL in a Multi-AZ mode. Use four additional read replicas.
B. Use Amazon DynamoDB with the source ID as the partition key and the timestamp as the sort key. Use a Time to Live (TTL) to delete data after 30 days.
C. Use Amazon DynamoDB with the source ID as the partition key. Use a different table each day.
D. Ingest data into Amazon Kinesis using a retention period of 30 days. Use AWS Lambda to write data records to Amazon ElastiCache for read access.
这题网上给的答案是A,大家给点评下?
这题是有一点迷糊的,但是我感觉选择A或者D,优先选择D
因为B和C都没有提到如何解决读的问题,A和Stream没有太大关系,和30天也没有关系。。D感觉都覆盖到了
Kinesis的retention时间最长是7天,D中说30天应该不对。 https://docs.aws.amazon.com/streams/latest/dev/kinesis-extended-retention.html
请问版主这题是否可以选B?容易query, 且去掉旧data节约cost。如果选A,4个RR太贵了吧。谢谢!
我选B:
一开始我觉得原文用的是RDS MYSQL,所以切换到Aurora比较合理;
但是增加4个只读副本很贵;
而且题目问 cost effectiveness,所以我觉得B里面30天的TTL,可以大大减少成本,所以最终选B。
哎呀,回复话题必需登录。 Login here
关于茶馆停服的公告
|