SAP-C02 学习助手

SAP-C02 第 228 题

DynamoDB EC2 EBS EFS ElastiCache SQS Config ECS EKS Fargate

题目

A company wants to containerize a multi-tier web application and move the application from an on-premises data center to AWS. The application includes web. application, and database tiers. The company needs to make the application fault tolerant and scalable. Some frequently accessed data must always be available across application servers. Frontend web servers need session persistence and must scale to meet increases in traffic. Which solution will meet these requirements with the LEAST ongoing operational overhead?

中文翻译:
一家公司希望对多层 Web 应用程序进行容器化,并将该应用程序从本地数据中心迁移到 AWS。该应用程序包括网络。应用层和数据库层。公司需要使应用程序具有容错性和可扩展性。一些经常访问的数据必须始终跨应用程序服务器可用。前端 Web 服务器需要会话持久性,并且必须进行扩展以满足流量的增长。哪种解决方案能够以最少的持续运营开销满足这些要求?

选项

A. Run the application on Amazon Elastic Container Service (Amazon ECS) on AWS Fargate. Use Amazon Elastic File System (Amazon EFS) for data that is frequently accessed between the web and application tiers. Store the frontend web server session data in Amazon Simple Queue Service (Amazon SQS).

中文翻译:
在 AWS Fargate 上的 Amazon Elastic Container Service (Amazon ECS) 上运行应用程序。将 Amazon Elastic File System (Amazon EFS) 用于在 Web 层和应用程序层之间频繁访问的数据。将前端 Web 服务器会话数据存储在 Amazon Simple Queue Service (Amazon SQS) 中。

B. Run the application on Amazon Elastic Container Service (Amazon ECS) on Amazon EC2. Use Amazon ElastiCache for Redis to cache frontend web server session data. Use Amazon Elastic Block Store (Amazon EBS) with Multi-Attach on EC2 instances that are distributed across multiple Availability Zones. EBS)。

中文翻译:
在 Amazon EC2 上的 Amazon Elastic Container Service (Amazon ECS) 上运行应用程序。使用 Amazon ElastiCache for Redis 缓存前端 Web 服务器会话数据。在分布于多个可用区的 EC2 实例上将 Amazon Elastic Block Store (Amazon EBS) 与多重附加结合使用。 EBS)。

C. Run the application on Amazon Elastic Kubernetes Service (Amazon EKS). Configure Amazon EKS to use managed node groups. Use ReplicaSets to run the web servers and applications. Create an Amazon Elastic File System (Amazon EFS) file system. Mount the EFS file system across all EKS pods to store frontend web server session data.

中文翻译:
在 Amazon Elastic Kubernetes Service (Amazon EKS) 上运行应用程序。配置 Amazon EKS 以使用托管节点组。使用 ReplicaSets 运行 Web 服务器和应用程序。创建 Amazon Elastic File System (Amazon EFS) 文件系统。在所有 EKS Pod 上挂载 EFS 文件系统以存储前端 Web 服务器会话数据。

D. Deploy the application on Amazon Elastic Kubernetes Service (Amazon EKS). Configure Amazon EKS to use managed node groups. Run the web servers and application as Kubernetes deployments in the EKS cluster. Store the frontend web server session data in an Amazon DynamoDB table. Create an Amazon Elastic File System (Amazon EFS) volume that all applications will mount at the time of deployment.

中文翻译:
在 Amazon Elastic Kubernetes Service (Amazon EKS) 上部署应用程序。配置 Amazon EKS 以使用托管节点组。将 Web 服务器和应用程序作为 EKS 集群中的 Kubernetes 部署运行。将前端 Web 服务器会话数据存储在 Amazon DynamoDB 表中。创建一个 Amazon Elastic File System (Amazon EFS) 卷,所有应用程序将在部署时挂载该卷。

答案

D

解析

正确答案:D 解析: 本题应选择 D。 正确选项: D. 在 Amazon Elastic Kubernetes Service (Amazon EKS) 上部署应用程序。配置 Amazon EKS 以使用托管节点组。将 Web 服务器和应用程序作为 EKS 集群中的 Kubernetes 部署运行。将前端 Web 服务器会话数据存储在 Amazon DynamoDB 表中。创建一个 Amazon Elastic File System...

登录后查看完整解析