SAP-C02 第 461 题
题目
A company needs to migrate its website from an on-premises data center to AWS. The website consists of a load balancer, a content management system (CMS) that runs on a Linux operating system, and a MySQL database. The CMS requires persistent NFS-compatible storage for a file system. The new solution on AWS must be able to scale from 2 Amazon EC2 instances to 30 EC2 instances in response to unpredictable traffic increases. The new solution also must require no changes to the website and must prevent data loss. Which solution will meet these requirements?
中文翻译:
一家公司需要将其网站从本地数据中心迁移到 AWS。该网站由负载均衡器、在 Linux 操作系统上运行的内容管理系统 (CMS) 和 MySQL 数据库组成。 CMS 需要文件系统的持久 NFS 兼容存储。 AWS 上的新解决方案必须能够从 2 个 Amazon EC2 实例扩展到 30 个 EC2 实例,以应对不可预测的流量增长。新的解决方案还必须不需要对网站进行任何更改,并且必须防止数据丢失。哪种解决方案可以满足这些要求?
选项
A. Create an Amazon Elastic File System (Amazon EFS) file system. Deploy the CMS to AWS Elastic Beanstalk with an Application Load Balancer and an Auto Scaling group. Use .ebextensions to mount the EFS file system to the EC2 instances. Create an Amazon Aurora MySQL database that is separate from the Elastic Beanstalk environment.
中文翻译:
创建 Amazon Elastic File System (Amazon EFS) 文件系统。使用 Application Load Balancer 和 Auto Scaling 组将 CMS 部署到 AWS Elastic Beanstalk。使用 .ebextensions 将 EFS 文件系统挂载到 EC2 实例。创建独立于 Elastic Beanstalk 环境的 Amazon Aurora MySQL 数据库。
B. Create an Amazon Elastic Block Store (Amazon EBS) Multi-Attach volume. Deploy the CMS to AWS Elastic Beanstalk with a Network Load Balancer and an Auto Scaling group. Use .ebextensions to mount the EBS volume to the EC2 instances. Create an Amazon RDS for MySQL database in the Elastic Beanstalk environment.
中文翻译:
创建 Amazon Elastic Block Store (Amazon EBS) 多重附加卷。使用网络负载均衡器和 Auto Scaling 组将 CMS 部署到 AWS Elastic Beanstalk。使用 .ebextensions 将 EBS 卷挂载到 EC2 实例。在 Elastic Beanstalk 环境中创建 Amazon RDS for MySQL 数据库。
C. Create an Amazon Elastic File System (Amazon EFS) file system. Create a launch template and an Auto Scaling group to launch EC2 instances to support the CMS. Create a Network Load Balancer to distribute traffic. Create an Amazon Aurora MySQL database. Use an EC2 Auto Scaling scale-in lifecycle hook to mount the EFS file system to the EC2 instances.
中文翻译:
创建 Amazon Elastic File System (Amazon EFS) 文件系统。创建启动模板和 Auto Scaling 组以启动 EC2 实例以支持 CMS。创建网络负载均衡器来分配流量。创建 Amazon Aurora MySQL 数据库。使用 EC2 Auto Scaling 缩减生命周期挂钩将 EFS 文件系统挂载到 EC2 实例。
D. Create an Amazon Elastic Block Store (Amazon EBS) Multi-Attach volume. Create a launch template and an Auto Scaling group to launch EC2 instances to support the CMS. Create an Application Load Balancer to distribute traffic. Create an Amazon ElastiCache for Redis cluster to support the MySQL database. Use EC2 user data to attach the EBS volume to the EC2 instances.
中文翻译:
创建 Amazon Elastic Block Store (Amazon EBS) 多重附加卷。创建启动模板和 Auto Scaling 组以启动 EC2 实例以支持 CMS。创建应用程序负载均衡器来分配流量。创建 Amazon ElastiCache for Redis 集群以支持 MySQL 数据库。使用 EC2 用户数据将 EBS 卷附加到 EC2 实例。
答案
A
解析
正确答案:A 解析: 本题应选择 A。 正确选项: A. 创建 Amazon Elastic File System (Amazon EFS) 文件系统。使用 Application Load Balancer 和 Auto Scaling 组将 CMS 部署到 AWS Elastic Beanstalk。使用 .ebextensions 将 EFS 文件系统挂载到 EC2 实例。创建独立于 Elastic Beanstalk 环境的 ...