SAP-C02 第 75 题
题目
A solutions architect is designing the data storage and retrieval architecture for a new application that a company will be launching soon. The application is designed to ingest millions of small records per minute from devices all around the world. Each record is less than 4 KB in size and needs to be stored in a durable location where it can be retrieved with low latency. The data is ephemeral and the company is required to store the data for 120 days only, after which the data can be deleted. The solutions architect calculates that, during the course of a year, the storage requirements would be about 10-15 TB. Which storage strategy is the MOST cost-effective and meets the design requirements?
中文翻译:
解决方案架构师正在为一家公司即将推出的新应用程序设计数据存储和检索架构。该应用程序旨在每分钟从世界各地的设备中获取数百万条小记录。每条记录的大小小于 4 KB,需要存储在持久位置,以便以低延迟进行检索。数据是短暂的,公司只能将数据存储 120 天,之后可以删除数据。解决方案架构师计算出,一年内的存储需求约为 10-15 TB。哪种存储策略最具成本效益且满足设计要求?
选项
A. Design the application to store each incoming record as a single .csv file in an Amazon S3 bucket to allow for indexed retrieval. Configure a lifecycle policy to delete data older than 120 days.
中文翻译:
设计应用程序以将每个传入记录存储为 Amazon S3 存储桶中的单个 .csv 文件,以允许索引检索。配置生命周期策略以删除超过 120 天的数据。
B. Design the application to store each incoming record in an Amazon DynamoDB table properly configured for the scale. Configure the DynamoDB Time to Live (TTL) feature to delete records older than 120 days.
中文翻译:
设计应用程序以将每个传入记录存储在针对规模正确配置的 Amazon DynamoDB 表中。配置 DynamoDB 生存时间 (TTL) 功能以删除超过 120 天的记录。
C. Design the application to store each incoming record in a single table in an Amazon RDS MySQL database. Run a nightly cron job that runs a query to delete any records older than 120 days.
中文翻译:
设计应用程序以将每个传入记录存储在 Amazon RDS MySQL 数据库的单个表中。运行每晚 cron 作业,该作业运行查询以删除任何超过 120 天的记录。
D. Design the application to batch incoming records before writing them to an Amazon S3 bucket. Update the metadata for the object to contain the list of records in the batch and use the Amazon S3 metadata search feature to retrieve the data. Configure a lifecycle policy to delete the data after 120 days.
中文翻译:
设计应用程序以在将传入记录写入 Amazon S3 存储桶之前对其进行批处理。更新对象的元数据以包含批次中的记录列表,并使用 Amazon S3 元数据搜索功能检索数据。配置生命周期策略以在 120 天后删除数据。
答案
B
解析
正确答案:B 解析: 本题应选择 B。 正确选项: B. 设计应用程序以将每个传入记录存储在针对规模正确配置的 Amazon DynamoDB 表中。配置 DynamoDB 生存时间 (TTL) 功能以删除超过 120 天的记录。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相关考点...