SAP-C02 学习助手

SAP-C02 第 504 题

Lambda DynamoDB CloudFront EC2 EFS RDS Step Functions Storage Gateway EKS Auto Scaling

题目

A company plans to migrate a legacy on-premises application to AWS. The application is a Java web application that runs on Apache Tomcat with a PostgreSQL database. The company does not have access to the source code but can deploy the application Java Archive (JAR) files. The application has increased traffic at the end of each month. Which solution will meet these requirements with the LEAST operational overhead?

中文翻译:
一家公司计划将旧的本地应用程序迁移到 AWS。该应用程序是一个 Java Web 应用程序,在带有 PostgreSQL 数据库的 Apache Tomcat 上运行。该公司无权访问源代码,但可以部署应用程序 Java Archive (JAR) 文件。该应用程序在每个月末的流量都会增加。哪种解决方案能够以最少的运营开销满足这些要求?

选项

A. Launch Amazon EC2 instances in multiple Availability Zones. Deploy Tomcat and PostgreSQL to all the instances by using Amazon Elastic File System (Amazon EFS) mount points. Use AWS Step Functions to deploy additional EC2 instances to scale for increased traffic.

中文翻译:
在多个可用区启动 Amazon EC2 实例。使用 Amazon Elastic File System (Amazon EFS) 挂载点将 Tomcat 和 PostgreSQL 部署到所有实例。使用 AWS Step Functions 部署额外的 EC2 实例以扩展流量以增加流量。

B. Provision Amazon Elastic Kubernetes Service (Amazon EKS) in an Auto Scaling group across multiple AWS Regions. Deploy Tomcat and PostgreSQL in the container images. Use a Network Load Balancer to scale for increased traffic.

中文翻译:
在跨多个 AWS 区域的 Auto Scaling 组中预置 Amazon Elastic Kubernetes Service (Amazon EKS)。在容器镜像中部署 Tomcat 和 PostgreSQL。使用网络负载均衡器进行扩展以增加流量。

C. Refactor the Java application into Python-based containers. Use AWS Lambda functions for the application logic. Store application data in Amazon DynamoDB global tables. Use AWS Storage Gateway and Lambda concurrency to scale for increased traffic.

中文翻译:
将 Java 应用程序重构为基于 Python 的容器。使用 AWS Lambda 函数作为应用程序逻辑。将应用程序数据存储在 Amazon DynamoDB 全局表中。使用 AWS Storage Gateway 和 Lambda 并发进行扩展以增加流量。

D. Use AWS Elastic Beanstalk to deploy the Tomcat servers with auto scaling in multiple Availability Zones. Store application data in an Amazon RDS for PostgreSQL database. Deploy Amazon CloudFront and an Application Load Balancer to scale for increased traffic.

中文翻译:
使用 AWS Elastic Beanstalk 在多个可用区中部署具有自动扩展功能的 Tomcat 服务器。将应用程序数据存储在 Amazon RDS for PostgreSQL 数据库中。部署 Amazon CloudFront 和应用程序负载均衡器以扩展流量以增加流量。

答案

D

解析

正确答案:D 解析: 本题应选择 D。 正确选项: D. 使用 AWS Elastic Beanstalk 在多个可用区中部署具有自动扩展功能的 Tomcat 服务器。将应用程序数据存储在 Amazon RDS for PostgreSQL 数据库中。部署 Amazon CloudFront 和应用程序负载均衡器以扩展流量以增加流量。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词...

登录后查看完整解析