SAP-C02 第 202 题
题目
A company needs to build a disaster recovery (DR) solution for its ecommerce website. The web application is hosted on a fleet of t3.large Amazon EC2 instances and uses an Amazon RDS for MySQL DB instance. The EC2 instances are in an Auto Scaling group that extends across multiple Availability Zones. In the event of a disaster, the web application must fail over to the secondary environment with an RPO of 30 seconds and an RTO of 10 minutes. Which solution will meet these requirements MOST cost-effectively?
中文翻译:
一家公司需要为其电子商务网站构建灾难恢复 (DR) 解决方案。该 Web 应用程序托管在一组 t3.large Amazon EC2 实例上,并使用 Amazon RDS for MySQL 数据库实例。 EC2 实例位于跨多个可用区的 Auto Scaling 组中。如果发生灾难,Web 应用程序必须故障转移到辅助环境,RPO 为 30 秒,RTO 为 10 分钟。哪种解决方案能够最具成本效益地满足这些要求?
选项
A. Use infrastructure as code (IaC) to provision the new infrastructure in the DR Region. Create a cross-Region read replica for the DB instance. Set up a backup plan in AWS Backup to create cross-Region backups for the EC2 instances and the DB instance. Create a cron expression to back up the EC2 instances and the DB instance every 30 seconds to the DR Region. Recover the EC2 instances from the latest EC2 backup. Use an Amazon Route 53 geolocation routing policy to automatically fail over to the DR Region in the event of a disaster.
中文翻译:
使用基础设施即代码 (IaC) 在灾难恢复区域中配置新的基础设施。为数据库实例创建跨区域只读副本。在 AWS Backup 中设置备份计划,为 EC2 实例和数据库实例创建跨区域备份。创建一个 cron 表达式,每 30 秒将 EC2 实例和数据库实例备份到 DR 区域。从最新的 EC2 备份恢复 EC2 实例。使用 Amazon Route 53 地理位置路由策略在发生灾难时自动故障转移到 DR 区域。
B. Use infrastructure as code (IaC) to provision the new infrastructure in the DR Region. Create a cross-Region read replica for the DB instance. Set up AWS Elastic Disaster Recovery to continuously replicate the EC2 instances to the DR Region. Run the EC2 instances at the minimum capacity in the DR Region. Use an Amazon Route 53 failover routing policy to automatically fail over to the DR Region in the event of a disaster. Increase the desired capacity of the Auto Scaling group.
中文翻译:
使用基础设施即代码 (IaC) 在灾难恢复区域中配置新的基础设施。为数据库实例创建跨区域只读副本。设置 AWS Elastic Disaster Recovery 以将 EC2 实例持续复制到灾难恢复区域。在 DR 区域中以最小容量运行 EC2 实例。使用 Amazon Route 53 故障转移路由策略在发生灾难时自动故障转移到 DR 区域。增加 Auto Scaling 组的所需容量。
C. Set up a backup plan in AWS Backup to create cross-Region backups for the EC2 instances and the DB instance. Create a cron expression to back up the EC2 instances and the DB instance every 30 seconds to the DR Region. Use infrastructure as code (IaC) to provision the new infrastructure in the DR Region. Manually restore the backed-up data on new instances. Use an Amazon Route 53 simple routing policy to automatically fail over to the DR Region in the event of a disaster.
中文翻译:
在 AWS Backup 中设置备份计划,为 EC2 实例和数据库实例创建跨区域备份。创建一个 cron 表达式,每 30 秒将 EC2 实例和数据库实例备份到 DR 区域。使用基础设施即代码 (IaC) 在灾难恢复区域中配置新的基础设施。在新实例上手动恢复备份数据。使用 Amazon Route 53 简单路由策略在发生灾难时自动故障转移到 DR 区域。
D. Use infrastructure as code (IaC) to provision the new infrastructure in the DR Region. Create an Amazon Aurora global database. Set up AWS Elastic Disaster Recovery to continuously replicate the EC2 instances to the DR Region. Run the Auto Scaling group of EC2 instances at full capacity in the DR Region. Use an Amazon Route 53 failover routing policy to automatically fail over to the DR Region in the event of a disaster.
中文翻译:
使用基础设施即代码 (IaC) 在灾难恢复区域中配置新的基础设施。创建 Amazon Aurora 全局数据库。设置 AWS Elastic Disaster Recovery 以将 EC2 实例持续复制到灾难恢复区域。在 DR 区域中以满负荷运行 EC2 实例的 Auto Scaling 组。使用 Amazon Route 53 故障转移路由策略在发生灾难时自动故障转移到 DR 区域。
答案
B
解析
正确答案:B 解析: 本题应选择 B。 正确选项: B. 使用基础设施即代码 (IaC) 在灾难恢复区域中配置新的基础设施。为数据库实例创建跨区域只读副本。设置 AWS Elastic Disaster Recovery 以将 EC2 实例持续复制到灾难恢复区域。在 DR 区域中以最小容量运行 EC2 实例。使用 Amazon Route 53 故障转移路由策略在发生灾难时自动故障转移到 DR 区域。增加 Auto Scaling 组的...