SAP-C02 学习助手

SAP-C02 第 333 题

Route 53 S3 EC2 RDS Backup ECS Auto Scaling

题目

A company hosts a community forum site using an Application Load Balancer (ALB) and a Docker application hosted in an Amazon ECS cluster. The site data is stored in Amazon RDS for MySQL and the container image is stored in ECR. The company needs to provide their customers with a disaster recovery SLA with an RTO of no more than 24 hours and RPO of no more than 8 hours. Which of the following solutions is the MOST cost-effective way to meet the requirements?

中文翻译:
一家公司使用应用程序负载均衡器 (ALB) 和 Amazon ECS 集群中托管的 Docker 应用程序托管社区论坛网站。站点数据存储在 Amazon RDS for MySQL 中,容器映像存储在 ECR 中。该公司需要为其客户提供灾难恢复 SLA,其中 RTO 不超过 24 小时,RPO 不超过 8 小时。以下哪种解决方案是满足要求的最具成本效益的方法?

选项

A. Use AWS CloudFormation to deploy identical ALB, EC2, ECS and RDS resources in two regions. Schedule RDS snapshots every 8 hours. Use RDS multi-region replication to update the secondary region's copy of the database. In the event of a failure, restore from the latest snapshot, and use an Amazon Route 53 DNS failover policy to automatically redirect customers to the ALB in the secondary region.

中文翻译:
使用 AWS CloudFormation 在两个区域部署相同的 ALB、EC2、ECS 和 RDS 资源。每 8 小时安排一次 RDS 快照。使用 RDS 多区域复制来更新辅助区域的数据库副本。如果发生故障,请从最新快照恢复,并使用 Amazon Route 53 DNS 故障转移策略自动将客户重定向到次要区域中的 ALB。

B. Store the Docker image in ECR in two regions. Schedule RDS snapshots every 8 hours with snapshots copied to the secondary region. In the event of a failure, use AWS CloudFormation to deploy the ALB, EC2, ECS and RDS resources in the secondary region, restore from the latest snapshot, and update the DNS record to point to the ALB in the secondary region. ALB。

中文翻译:
将 Docker 镜像存储在两个区域的 ECR 中。每 8 小时计划一次 RDS 快照,并将快照复制到次要区域。如果发生故障,请使用 AWS CloudFormation 在次要区域中部署 ALB、EC2、ECS 和 RDS 资源,从最新快照恢复,并更新 DNS 记录以指向次要区域中的 ALB。 ALB。

C. Use AWS CloudFormation to deploy identical ALB, EC2, ECS, and RDS resources in a secondary region. Schedule hourly RDS MySQL backups to Amazon S3 and use cross-region replication to replicate data to a bucket in the secondary region. In the event of a failure, import the latest Docker image to Amazon ECR in the secondary region, deploy to the EC2 instance, restore the latest MySQL backup, and update the DNS record to point to the ALB in the secondary region.

中文翻译:
使用 AWS CloudFormation 在次要区域中部署相同的 ALB、EC2、ECS 和 RDS 资源。安排每小时 RDS MySQL 备份到 Amazon S3,并使用跨区域复制将数据复制到次要区域中的存储桶。如果发生故障,请将最新的 Docker 映像导入到次要区域中的 Amazon ECR,部署到 EC2 实例,恢复最新的 MySQL 备份,并更新 DNS 记录以指向次要区域中的 ALB。

D. Deploy a pilot light environment in a secondary region with an ALB and a minimal resource EC2 deployment for Docker in an AWS Auto Scaling group with a scaling policy to increase instance size and number of nodes. Create a cross-region read replica of the RDS data. In the event of a failure, promote the replica to primary, and update the DNS record to point to the ALB in the secondary region.

中文翻译:
在次要区域中部署一个试点环境,其中包含 ALB 和 AWS Auto Scaling 组中 Docker 的最少资源 EC2 部署,并采用扩展策略来增加实例大小和节点数量。创建RDS数据的跨区域只读副本。如果出现故障,请将副本提升为主要副本,并更新 DNS 记录以指向次要区域中的 ALB。

答案

B

解析

正确答案:B 解析: 本题应选择 B。 正确选项: B. 将 Docker 镜像存储在两个区域的 ECR 中。每 8 小时计划一次 RDS 快照,并将快照复制到次要区域。如果发生故障,请使用 AWS CloudFormation 在次要区域中部署 ALB、EC2、ECS 和 RDS 资源,从最新快照恢复,并更新 DNS 记录以指向次要区域中的 ALB。 ALB。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时...

登录后查看完整解析