SAP-C02 第 432 题
题目
A company wants to migrate its website to AWS. The website uses microservices and runs on containers that are deployed in an on-premises, self-managed Kubernetes cluster. All the manifests that define the deployments for the containers in the Kubernetes deployment are in source control. All data for the website is stored in a PostgreSQL database. An open source container image repository runs alongside the on- premises environment. A solutions architect needs to determine the architecture that the company will use for the website on AWS. Which solution will meet these requirements with the LEAST effort to migrate?
中文翻译:
一家公司想要将其网站迁移到 AWS。该网站使用微服务并在部署在本地自我管理的 Kubernetes 集群中的容器上运行。定义 Kubernetes 部署中容器的部署的所有清单均位于源代码控制中。网站的所有数据都存储在 PostgreSQL 数据库中。开源容器镜像存储库与本地环境一起运行。解决方案架构师需要确定公司将用于 AWS 上的网站的架构。哪种解决方案能够以最少的迁移成本满足这些要求?
选项
A. Create an AWS App Runner service. Connect the App Runner service to the open source container image repository. Deploy the manifests from on premises to the App Runner service. Create an Amazon RDS for PostgreSQL database.
中文翻译:
创建 AWS App Runner 服务。将App Runner服务连接到开源容器镜像存储库。将清单从本地部署到 App Runner 服务。创建 Amazon RDS for PostgreSQL 数据库。
B. Create an Amazon Elastic Kubernetes Service (Amazon EKS) cluster that has managed node groups. Copy the application containers to a new Amazon Elastic Container Registry (Amazon ECR) repository. Deploy the manifests from on premises to the EKS cluster. Create an Amazon Aurora PostgreSQL DB cluster.
中文翻译:
创建具有托管节点组的 Amazon Elastic Kubernetes Service (Amazon EKS) 集群。将应用程序容器复制到新的 Amazon Elastic Container Registry (Amazon ECR) 存储库。将清单从本地部署到 EKS 集群。创建 Amazon Aurora PostgreSQL 数据库集群。
C. Create an Amazon Elastic Container Service (Amazon ECS) cluster that has an Amazon EC2 capacity pool. Copy the application containers to a new Amazon Elastic Container Registry (Amazon ECR) repository. Register each container image as a new task definition. Configure ECS services for each task definition to match the original Kubernetes deployments. Create an Amazon Aurora PostgreSQL DB cluster.
中文翻译:
创建具有 Amazon EC2 容量池的 Amazon Elastic Container Service (Amazon ECS) 集群。将应用程序容器复制到新的 Amazon Elastic Container Registry (Amazon ECR) 存储库。将每个容器映像注册为新的任务定义。为每个任务定义配置 ECS 服务以匹配原始 Kubernetes 部署。创建 Amazon Aurora PostgreSQL 数据库集群。
D. Rebuild the on-premises Kubernetes cluster by hosting the cluster on Amazon EC2 instances. Migrate the open source container image repository to the EC2 instances. Deploy the manifests from on premises to the new cluster on AWS. Deploy an open source PostgreSQL database on the new cluster.
中文翻译:
通过在 Amazon EC2 实例上托管集群来重建本地 Kubernetes 集群。将开源容器镜像存储库迁移到EC2实例。将清单从本地部署到 AWS 上的新集群。在新集群上部署开源 PostgreSQL 数据库。
答案
B
解析
正确答案:B 解析: 本题应选择 B。 正确选项: B. 创建具有托管节点组的 Amazon Elastic Kubernetes Service (Amazon EKS) 集群。将应用程序容器复制到新的 Amazon Elastic Container Registry (Amazon ECR) 存储库。将清单从本地部署到 EKS 集群。创建 Amazon Aurora PostgreSQL 数据库集群。 选择理由: 该选项最直接地满...