SAP-C02 第 477 题
题目
A company is running a three-tier web application in an on-premises data center. The frontend is served by an Apache web server, the middle tier is a monolithic Java application, and the storage tier is a PostgreSQL database. During a recent marketing promotion, customers could not place orders through the application because the application crashed. An analysis showed that all three tiers were overloaded. The application became unresponsive, and the database reached its capacity limit because of read operations. The company already has several similar promotions scheduled in the near future. A solutions architect must develop a plan for migration to AWS to resolve these issues. The solution must maximize scalability and must minimize operational effort Which combination of steps will meet these requirements? (Choose three.)
中文翻译:
一家公司正在本地数据中心运行一个三层 Web 应用程序。前端由 Apache Web 服务器提供服务,中间层是整体 Java 应用程序,存储层是 PostgreSQL 数据库。在最近的一次营销促销中,客户无法通过该应用程序下订单,因为该应用程序崩溃了。分析显示,所有三层均超载。应用程序变得无响应,并且数据库由于读取操作而达到其容量限制。该公司已在不久的将来安排了几次类似的促销活动。解决方案架构师必须制定迁移到 AWS 的计划来解决这些问题。该解决方案必须最大限度地提高可扩展性并最大限度地减少运营工作量 哪种步骤组合可以满足这些要求? (选择三项。)
选项
A. Refactor the frontend so that static assets can be hosted on Amazon S3. Use Amazon CloudFront to serve the frontend to customers. Connect the frontend to the Java application.
中文翻译:
重构前端,以便静态资产可以托管在 Amazon S3 上。使用 Amazon CloudFront 为客户提供前端服务。将前端连接到 Java 应用程序。
B. Rehost the Apache web server of the frontend on Amazon EC2 instances that are in an Auto Scaling group. Use a load balancer in front of the Auto Scaling group. Use Amazon Elastic File System (Amazon EFS) to host the static assets that the Apache web server needs.
中文翻译:
在 Auto Scaling 组中的 Amazon EC2 实例上重新托管前端的 Apache Web 服务器。在 Auto Scaling 组前面使用负载均衡器。使用 Amazon Elastic File System (Amazon EFS) 托管 Apache Web 服务器所需的静态资产。
C. Rehost the Java application in an AWS Elastic Beanstalk environment that includes auto scaling.
中文翻译:
在包含自动扩展的 AWS Elastic Beanstalk 环境中重新托管 Java 应用程序。
D. Refactor the Java application, Develop a Docker container to run the Java application. Use AWS Fargate to host the container.
中文翻译:
重构Java应用程序,开发一个Docker容器来运行Java应用程序。使用 AWS Fargate 托管容器。
E. Use AWS Database Migration Service (AWS DMS) to replatform the PostgreSQL database to an Amazon Aurora PostgreSQL database. Use Aurora Auto Scaling for read replicas.
中文翻译:
使用 AWS Database Migration Service (AWS DMS) 将 PostgreSQL 数据库重新构建为 Amazon Aurora PostgreSQL 数据库。将 Aurora Auto Scaling 用于只读副本。
F. Rehost the PostgreSQL database on an Amazon EC2 instance that has twice as much memory as the on-premises server.
中文翻译:
在内存是本地服务器两倍的 Amazon EC2 实例上重新托管 PostgreSQL 数据库。
答案
ACE
解析
正确答案:ACE 解析: 本题应选择 ACE。 正确选项: A. 重构前端,以便静态资产可以托管在 Amazon S3 上。使用 Amazon CloudFront 为客户提供前端服务。将前端连接到 Java 应用程序。 C. 在包含自动扩展的 AWS Elastic Beanstalk 环境中重新托管 Java 应用程序。 E. 使用 AWS Database Migration Service (AWS DMS) 将 Postgre...