SAP-C02 第 165 题
题目
A company is migrating a document processing workload to AWS. The company has updated many applications to natively use the Amazon S3 API to store, retrieve, and modify documents that a processing server generates at a rate of approximately 5 documents every second. After the document processing is finished, customers can download the documents directly from Amazon S3. During the migration, the company discovered that it could not immediately update the processing server that generates many documents to support the S3 API. The server runs on Linux and requires fast local access to the files that the server generates and modifies. When the server finishes processing, the files must be available to the public for download within 30 minutes. Which solution will meet these requirements with the LEAST amount of effort?
中文翻译:
一家公司正在将文档处理工作负载迁移到 AWS。该公司已经更新了许多应用程序,以本地使用 Amazon S3 API 来存储、检索和修改处理服务器以大约每秒 5 个文档的速度生成的文档。文档处理完成后,客户可以直接从Amazon S3下载文档。在迁移过程中,该公司发现无法立即更新生成许多文档以支持 S3 API 的处理服务器。服务器在 Linux 上运行,需要快速本地访问服务器生成和修改的文件。服务器完成处理后,文件必须在 30 分钟内可供公众下载。哪种解决方案能够以最少的努力满足这些要求?
选项
A. Migrate the application to an AWS Lambda function. Use the AWS SDK for Java to generate, modify, and access the files that the company stores directly in Amazon S3.
中文翻译:
将应用程序迁移到 AWS Lambda 函数。使用适用于 Java 的 AWS 开发工具包生成、修改和访问公司直接存储在 Amazon S3 中的文件。
B. Set up an Amazon S3 File Gateway and configure a file share that is linked to the document store. Mount the file share on an Amazon EC2 instance by using NFS. When changes occur in Amazon S3, initiate a RefreshCache API call to update the S3 File Gateway.
中文翻译:
设置 Amazon S3 文件网关并配置链接到文档存储的文件共享。使用 NFS 将文件共享挂载到 Amazon EC2 实例上。当 Amazon S3 中发生更改时,启动 RefreshCache API 调用以更新 S3 文件网关。
C. Configure Amazon FSx for Lustre with an import and export policy. Link the new file system to an S3 bucket. Install the Lustre client and mount the document store to an Amazon EC2 instance by using NFS.
中文翻译:
使用导入和导出策略配置 Amazon FSx for Lustre。将新文件系统链接到 S3 存储桶。安装 Lustre 客户端并使用 NFS 将文档存储挂载到 Amazon EC2 实例。
D. Configure AWS DataSync to connect to an Amazon EC2 instance. Configure a task to synchronize the generated files to and from Amazon S3.
中文翻译:
配置 AWS DataSync 以连接到 Amazon EC2 实例。配置任务以将生成的文件同步到 Amazon S3 或从 Amazon S3 同步。
答案
B
解析
正确答案:B 解析: 本题应选择 B。 正确选项: B. 设置 Amazon S3 文件网关并配置链接到文档存储的文件共享。使用 NFS 将文件共享挂载到 Amazon EC2 实例上。当 Amazon S3 中发生更改时,启动 RefreshCache API 调用以更新 S3 文件网关。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠...