SAP-C02 学习助手

SAP-C02 第 507 题

Lambda DynamoDB S3 EC2 EBS EFS Config Auto Scaling

题目

An entertainment company hosts a ticketing service on a fleet of Linux Amazon EC2 instances that are in an Auto Scaling group. The ticketing service uses a pricing file. The pricing file is stored in an Amazon S3 bucket that has S3 Standard storage. A central pricing solution that is hosted by a third party updates the pricing file. The pricing file is updated every 1-15 minutes and has several thousand line items. The pricing file is downloaded to each EC2 instance when the instance launches. The EC2 instances occasionally use outdated pricing information that can result in incorrect charges for customers. Which solution will resolve this problem MOST cost-effectively?

中文翻译:
一家娱乐公司在 Auto Scaling 组中的一组 Linux Amazon EC2 实例上托管票务服务。票务服务使用定价文件。定价文件存储在具有 S3 标准存储的 Amazon S3 存储桶中。由第三方托管的中央定价解决方案更新定价文件。定价文件每 1-15 分钟更新一次,包含数千个订单项。当实例启动时,定价文件会下载到每个 EC2 实例。 EC2 实例有时会使用过时的定价信息,这可能会导致向客户收取不正确的费用。哪种解决方案能够最经济有效地解决这个问题?

选项

A. Create an AWS Lambda function to update an Amazon DynamoDB table with new prices each time the pricing file is updated. Update the ticketing service to use DynramoDB to look up pricing

中文翻译:
创建一个 AWS Lambda 函数,以便在每次更新定价文件时使用新价格更新 Amazon DynamoDB 表。更新票务服务以使用 DynamoDB 查找定价

B. Create an AWS Lambda function to update an Amazon Elastic File System (Amazon EFS) file share with the pricing file each time the file is updated. Update the ticketing service to use Amazon EFS to access the pricing file.

中文翻译:
创建一个 AWS Lambda 函数,以便在每次更新文件时使用定价文件更新 Amazon Elastic File System (Amazon EFS) 文件共享。更新票证服务以使用 Amazon EFS 访问定价文件。

C. Load Mountpoint for Amazon S3 onto the AMI of the EC2 instances. Configure Mountpoint for Amazon S3 to mount the S3 bucket that contains the pricing file. Update the ticketing service to point to the mount point and path to access the $3 object,

中文翻译:
将 Amazon S3 的装载点加载到 EC2 实例的 AMI 上。配置 Amazon S3 的挂载点以挂载包含定价文件的 S3 存储桶。更新票务服务以指向挂载点和路径以访问 $3 对象,

D. Create an Amazon Elastic Block Store (Amazon EBS) volume. Use EBS Multi-Attach to attach the volume to every EC2 instance. When a new EC2 instance launches, configure the new instance to update the pricing file on the EBS volume. Update the ticketing service to point to the new local source.

中文翻译:
创建 Amazon Elastic Block Store (Amazon EBS) 卷。使用 EBS 多重附加将卷附加到每个 EC2 实例。当新的 EC2 实例启动时,配置新实例以更新 EBS 卷上的定价文件。更新票务服务以指向新的本地源。

答案

C

解析

正确答案:C 解析: 本题应选择 C。 正确选项: C. 将 Amazon S3 的装载点加载到 EC2 实例的 AMI 上。配置 Amazon S3 的挂载点以挂载包含定价文件的 S3 存储桶。更新票务服务以指向挂载点和路径以访问 $3 对象, 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求...

登录后查看完整解析