SAP-C02 第 291 题
题目
A company ingests and processes streaming market data. The data rate is constant. A nightly process that calculates aggregate statistics takes 4 hours to complete. The statistical analysis is not critical to the business, and data points are processed during the next iteration if a particular run fails. The current architecture uses a pool of Amazon EC2 Reserved Instances with 1-year reservations. These EC2 instances run full time to ingest and store the streaming data in attached Amazon Elastic Block Store (Amazon EBS) volumes. A scheduled script launches EC2 On-Demand Instances each night to perform the nightly processing. The instances access the stored data from NFS shares on the ingestion servers. The script terminates the instances when the processing is complete. The Reserved Instance reservations are expiring. The company needs to determine whether to purchase new reservations or implement a new design. Which solution will meet these requirements MOST cost-effectively?
中文翻译:
一家公司摄取并处理流市场数据。数据速率是恒定的。每晚计算汇总统计数据的过程需要 4 小时才能完成。统计分析对于业务来说并不重要,如果特定运行失败,数据点将在下一次迭代期间进行处理。当前架构使用具有 1 年预留的 Amazon EC2 预留实例池。这些 EC2 实例全职运行,以提取流数据并将其存储在附加的 Amazon Elastic Block Store (Amazon EBS) 卷中。计划脚本每晚启动 EC2 按需实例来执行夜间处理。实例从摄取服务器上的 NFS 共享访问存储的数据。处理完成后,脚本将终止实例。预留实例预留即将到期。公司需要确定是否购买新的预订或实施新的设计。哪种解决方案能够最具成本效益地满足这些要求?
选项
A. Update the ingestion process to use Amazon Kinesis Data Firehose to save data to Amazon S3. Use a scheduled script to launch a fleet of EC2 On-Demand Instances each night to perform the batch processing of the S3 data. Configure the script to terminate the instances when the processing is complete.
中文翻译:
更新提取流程以使用 Amazon Kinesis Data Firehose 将数据保存到 Amazon S3。使用计划脚本每晚启动一组 EC2 按需实例来执行 S3 数据的批处理。配置脚本以在处理完成时终止实例。
B. Update the ingestion process to use Amazon Kinesis Data Firehose to save data to Amazon S3. Use AWS Batch with Spot Instances to perform nightly processing with a maximum Spot price that is 50% of the On-Demand price.
中文翻译:
更新提取流程以使用 Amazon Kinesis Data Firehose 将数据保存到 Amazon S3。将 AWS Batch 与 Spot 实例结合使用可每晚执行处理,最高 Spot 价格为按需价格的 50%。
C. Update the ingestion process to use a fleet of EC2 Reserved Instances with 3-year reservations behind a Network LoadBalancer. Use AWS Batch with Spot Instances to perform nightly processing with a maximum Spot price that is 50% of the On-Demand price.
中文翻译:
更新摄取流程以在网络负载均衡器后面使用一组具有 3 年预留的 EC2 预留实例。将 AWS Batch 与 Spot 实例结合使用可每晚执行处理,最高 Spot 价格为按需价格的 50%。
D. Update the ingestion process to use Amazon Kinesis Data Firehose to save data to Amazon Redshift. Use Amazon EventBridge to schedule an AWS Lambda function to run nightly to query Amazon Redshift to generate the daily statistics.
中文翻译:
更新提取流程以使用 Amazon Kinesis Data Firehose 将数据保存到 Amazon Redshift。使用 Amazon EventBridge 安排 AWS Lambda 函数每晚运行以查询 Amazon Redshift 以生成每日统计数据。
答案
B
解析
正确答案:B 解析: 本题应选择 B。 正确选项: B. 更新提取流程以使用 Amazon Kinesis Data Firehose 将数据保存到 Amazon S3。将 AWS Batch 与 Spot 实例结合使用可每晚执行处理,最高 Spot 价格为按需价格的 50%。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、...