Topic 1 Question 333
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?
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.
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.
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.
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.
ユーザの投票
コメント(8)
- 正解だと思う選択肢: B
With an RTO of 24 hours, using the 'Cold' DR solution option B is the cheapest. Option D is a partial on DR solution which I would think would be more expensive in the long run then the 2nd ECR container in another region.
👍 6enk2023/11/26 - 正解だと思う選択肢: B
B. ECR and RDS Snapshots in Two Regions: Storing Docker images in ECR in two regions and copying RDS snapshots to the secondary region is a good strategy. In case of failure, CloudFormation deploys necessary resources in the secondary region, and the DNS is updated. This option is more cost-effective than A, as it doesn't require maintaining a full duplicate environment or multi-region replication constantly.
👍 4heatblur2023/11/25 - 正解だと思う選択肢: B
Since RTO is 24 hours, no need to have all resources provisioned already on site 2. Take RDS Snapshots every 8 hrs to satisfy RPO. Deploy the environment using CF incase of DR and restore RDS snapshots. Answer - B
👍 4shaaam802023/11/28
シャッフルモード