SAP-C02 第 299 题
题目
A company's solutions architect is evaluating an AWS workload that was deployed several years ago. The application tier is stateless and runs on a single large Amazon EC2 instance that was launched from an AMI. The application stores data in a MySQL database that runs on a single EC2 instance. The CPU utilization on the application server EC2 instance often reaches 100% and causes the application to stop responding. The company manually installs patches on the instances. Patching has caused downtime in the past. The company needs to make the application highly available. Which solution will meet these requirements with the LEAST development me?
中文翻译:
一家公司的解决方案架构师正在评估几年前部署的 AWS 工作负载。应用程序层是无状态的,并在从 AMI 启动的单个大型 Amazon EC2 实例上运行。该应用程序将数据存储在在单个 EC2 实例上运行的 MySQL 数据库中。应用服务器EC2实例上的CPU利用率经常达到100%并导致应用程序停止响应。公司在实例上手动安装补丁。过去,修补程序曾导致停机。公司需要使应用程序具有高可用性。哪种解决方案能够以最少的开发满足这些要求?
选项
A. Move the application tier to AWS Lambda functions in the existing VPC. Create an Application Load Balancer to distribute traffic across the Lambda functions. Use Amazon GuardDuty to scan the Lambda functions. Migrate the database to Amazon DocumentDB (with MongoDB compatibility.
中文翻译:
将应用程序层移至现有 VPC 中的 AWS Lambda 函数。创建应用程序负载均衡器以跨 Lambda 函数分配流量。使用 Amazon GuardDuty 扫描 Lambda 函数。将数据库迁移到 Amazon DocumentDB(与 MongoDB 兼容)。
B. Change the EC2 instance type to a smaller Graviton powered instance type. Use the existing AMI to create a launch template for an Auto Scaling group. Create an Application Load Balancer to distribute traffic across the instances in the Auto Scaling group. Set the Auto Scaling group to scale based on CPU utilization. Migrate the database to Amazon DynamoDB. DynamoDB。
中文翻译:
将 EC2 实例类型更改为较小的 Graviton 支持的实例类型。使用现有 AMI 为 Auto Scaling 组创建启动模板。创建应用程序负载均衡器以在 Auto Scaling 组中的实例之间分配流量。将 Auto Scaling 组设置为根据 CPU 利用率进行扩展。将数据库迁移到 Amazon DynamoDB。 DynamoDB。
C. Move the application tier to containers by using Docker. Run the containers on Amazon Elastic Container Service (Amazon ECS) with EC2 instances. Create an Application Load Balancer to distribute traffic across the ECS cluster. Configure the ECS cluster to scale based on CPU utilization. Migrate the database to Amazon Neptune.
中文翻译:
使用 Docker 将应用程序层移至容器。使用 EC2 实例在 Amazon Elastic Container Service (Amazon ECS) 上运行容器。创建应用程序负载均衡器以跨 ECS 集群分配流量。配置 ECS 集群以根据 CPU 利用率进行扩展。将数据库迁移到 Amazon Neptune。
D. Create a now AMI that is configured with AWS Systems Manager Agent (SSM Agent). Use the new AMI to create a launch template for an Auto Scaling group. Use smaller instances in the Auto Scaling group. Create an Application Load Balancer to distribute traffic across the instances in the Auto Scaling group. Set the Auto Scaling group to scale based on CPU utilization. Migrate the database to Amazon Aurora MySQL.
中文翻译:
现在创建一个配置有 AWS Systems Manager 代理(SSM 代理)的 AMI。使用新的 AMI 为 Auto Scaling 组创建启动模板。在 Auto Scaling 组中使用较小的实例。创建应用程序负载均衡器以在 Auto Scaling 组中的实例之间分配流量。将 Auto Scaling 组设置为根据 CPU 利用率进行扩展。将数据库迁移到 Amazon Aurora MySQL。
答案
D
解析
正确答案:D 解析: 本题应选择 D。 正确选项: D. 现在创建一个配置有 AWS Systems Manager 代理(SSM 代理)的 AMI。使用新的 AMI 为 Auto Scaling 组创建启动模板。在 Auto Scaling 组中使用较小的实例。创建应用程序负载均衡器以在 Auto Scaling 组中的实例之间分配流量。将 Auto Scaling 组设置为根据 CPU 利用率进行扩展。将数据库迁移到 Amazon ...