SAP-C02 第 460 题
题目
A company is running a web-crawling process on a list of target URLs to obtain training documents for machine learning training algorithms. A fleet of Amazon EC2 t2.micro instances pulls the target URLs from an Amazon Simple Queue Service (Amazon SQS) queue. The instances then write the result of the crawling algorithm as a .csv file to an Amazon Elastic File System (Amazon EFS) volume. The EFS volume is mounted on all instances of the fleet. A separate system adds the URLs to the SQS queue at infrequent rates. The instances crawl each URL in 10 seconds or less. Metrics indicate that some instances are idle when no URLs are in the SQS queue. A solutions architect needs to redesign the architecture to optimize costs. Which combination of steps will meet these requirements MOST cost-effectively? (Choose two.)
中文翻译:
一家公司正在目标 URL 列表上运行网络爬行过程,以获取机器学习训练算法的训练文档。一组 Amazon EC2 t2.micro 实例从 Amazon Simple Queue Service (Amazon SQS) 队列中提取目标 URL。然后,实例将爬网算法的结果以 .csv 文件形式写入 Amazon Elastic File System (Amazon EFS) 卷。 EFS 卷安装在队列的所有实例上。单独的系统以较低的频率将 URL 添加到 SQS 队列。实例在 10 秒或更短时间内抓取每个 URL。指标表明,当 SQS 队列中没有 URL 时,某些实例处于空闲状态。解决方案架构师需要重新设计架构以优化成本。哪种步骤组合能够最经济有效地满足这些要求? (选择两个。)
选项
A. Use m5.8xlarge instances instead of t2.micro instances for the web-crawling process. Reduce the number of instances in the fleet by 50%.
中文翻译:
使用 m5.8xlarge 实例而不是 t2.micro 实例进行网络爬行过程。将队列中的实例数量减少 50%。
B. Convert the web-crawling process into an AWS Lambda function. Configure the Lambda function to pull URLs from the SQS queue.
中文翻译:
将网络爬行过程转换为 AWS Lambda 函数。配置 Lambda 函数以从 SQS 队列中提取 URL。
C. Modify the web-crawling process to store results in Amazon Neptune.
中文翻译:
修改网络爬网过程以将结果存储在 Amazon Neptune 中。
D. Modify the web-crawling process to store results in an Amazon Aurora Serverless MySQL instance.
中文翻译:
修改网络爬网过程以将结果存储在 Amazon Aurora Serverless MySQL 实例中。
E. Modify the web-crawling process to store results in Amazon S3.
中文翻译:
修改网络爬网过程以将结果存储在 Amazon S3 中。
答案
BE
解析
正确答案:BE 解析: 本题应选择 BE。 正确选项: B. 将网络爬行过程转换为 AWS Lambda 函数。配置 Lambda 函数以从 SQS 队列中提取 URL。 E. 修改网络爬网过程以将结果存储在 Amazon S3 中。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相关...