SAP-C02 第 355 题
题目
A company is planning to migrate its on-premises transaction-processing application to AWS. The application runs inside Docker containers that are hosted on VMs in the company's data center. The Docker containers have shared storage where the application records transaction data. The transactions are time sensitive. The volume of transactions inside the application is unpredictable. The company must implement a low-latency storage solution that will automatically scale throughput to meet increased demand. The company cannot develop the application further and cannot continue to administer the Docker hosting environment. How should the company migrate the application to AWS to meet these requirements?
中文翻译:
一家公司正计划将其本地事务处理应用程序迁移到 AWS。该应用程序在托管在公司数据中心的虚拟机上的 Docker 容器内运行。 Docker 容器具有共享存储,应用程序在其中记录事务数据。交易对时间敏感。应用程序内的交易量是不可预测的。该公司必须实施一种低延迟存储解决方案,该解决方案将自动扩展吞吐量以满足不断增长的需求。该公司无法进一步开发该应用程序,也无法继续管理 Docker 托管环境。公司应该如何将应用程序迁移到AWS来满足这些要求?
选项
A. Migrate the containers that run the application to Amazon Elastic Kubernetes Service (Amazon EKS). Use Amazon S3 to store the transaction data that the containers share.
中文翻译:
将运行应用程序的容器迁移到 Amazon Elastic Kubernetes Service (Amazon EKS)。使用 Amazon S3 存储容器共享的事务数据。
B. Migrate the containers that run the application to AWS Fargate for Amazon Elastic Container Service (Amazon ECS). Create an Amazon Elastic File System (Amazon EFS) file system. Create a Fargate task definition. Add a volume to the task definition to point to the EFS file system.
中文翻译:
将运行应用程序的容器迁移到 AWS Fargate for Amazon Elastic Container Service (Amazon ECS)。创建 Amazon Elastic File System (Amazon EFS) 文件系统。创建 Fargate 任务定义。将卷添加到任务定义以指向 EFS 文件系统。
C. Migrate the containers that run the application to AWS Fargate for Amazon Elastic Container Service (Amazon ECS). Create an Amazon Elastic Block Store (Amazon EBS) volume. Create a Fargate task definition. Attach the EBS volume to each running task.
中文翻译:
将运行应用程序的容器迁移到 AWS Fargate for Amazon Elastic Container Service (Amazon ECS)。创建 Amazon Elastic Block Store (Amazon EBS) 卷。创建 Fargate 任务定义。将 EBS 卷附加到每个正在运行的任务。
D. Launch Amazon EC2 instances. Install Docker on the EC2 instances. Migrate the containers to the EC2 instances. Create an Amazon Elastic File System (Amazon EFS) file system. Add a mount point to the EC2 instances for the EFS file system.
中文翻译:
启动 Amazon EC2 实例。在 EC2 实例上安装 Docker。将容器迁移到 EC2 实例。创建 Amazon Elastic File System (Amazon EFS) 文件系统。将 EFS 文件系统的挂载点添加到 EC2 实例。
答案
B
解析
正确答案:B 解析: 本题应选择 B。 正确选项: B. 将运行应用程序的容器迁移到 AWS Fargate for Amazon Elastic Container Service (Amazon ECS)。创建 Amazon Elastic File System (Amazon EFS) 文件系统。创建 Fargate 任务定义。将卷添加到任务定义以指向 EFS 文件系统。 选择理由: 该选项最直接地满足题干中的关键约束。做 SA...