Q18 — AWS SAP-C02 Ch.3

Question 18 of 75 | ← Chapter 3

Q243. A company is running a critical stateful web application on two Linux Amazon EC2 instances behind an Application Load Balancer (ALB) with an Amazon RDS for MySQL database.The company hosts the DNS records for the application in Amazon Route 53. A solutions architect must recommend a solution to improve the resiliency of the applicationThe solution must meet the following objectives.-- Application tier: RPO of 2 minutes, RTO of 30 minutes-- Database tier: RPO of 5 minutes. RTO of 30 minutesThe company does not want to make significant changes to the existing application architecture.The company must ensure optimal latency after a failover.Which solution will meet these requirements?

Correct Answer: A. Configure the EC2 instances to use AWS Elastic Disaster Recovery. Create a cross-Region read replica for the RDS DB instance. Create an ALB in a second AWS Region. Create an AWS Global Accelerator endpoint, and associate the endpoint with the ALBs.Update DNS records to point to the Global Accelerator endpoint

Explanation

The correct answer is: A. Configure the EC2 instances to use AWS Elastic Disaster Recovery. Create a cross-Region read replica for the RDS DB instance. Create an ALB in a second AWS Region. Create an AWS Global Accelerator endpoint and associate the endpoint with the ALBs. Update DNS records to point to the Global Accelerator endpoint. Option A provides a solution that meets the resiliency requirements of the application and minimizes changes to the existing architecture while ensuring optimal latency after a failover. By configuring the EC2 instances to use AWS Elastic Disaster Recovery, you can automatically replicate the instances to a second AWS Region. This ensures a low Recovery Point Objective (RPO) of 2 minutes, meaning minimal data loss in the event of a failure. Creating a cross-Region read replica for the RDS DB instance ensures a low Recovery Point Objective (RPO) of 5 minutes for the database tier. Setting up an Application Load Balancer (ALB) in the second AWS Region allows for traffic distribution and automatic failover between the two regions. This ensures a low Recovery Time Objective (RTO) of 30 minutes, meaning minimal downtime in the event of a failure. Creating an AWS Global Accelerator endpoint and associating it with the ALBs helps optimize latency after a failover. The Global Accelerator routes traffic to the nearest healthy endpoint based on AWS's global network infrastructure. Updating the DNS records to point to the Global Accelerator endpoint ensures that incoming traffic is directed to the appropriate ALB endpoint, further improving resiliency and reducing downtime. Overall, this solution leverages AWS Elastic Disaster Recovery, cross-Region read replicas, ALBs, and AWS Global Accelerator to provide improved resiliency for the critical web application, meeting the specified RPO and RTO objectives with minimal changes to the existing architecture and optimal latency after a failover.正确答案是: A.配置EC2实例使用AWS弹性容灾。为RDS DB实例创建一个跨区域读副本。在第二个AWS区域中创建ALB。创建一个AWS Global Accelerator端点,并将该端点与alb关联。更新DNS记录以指向全局加速器端点。 选项A提供了一种解决方案,可以满足应用程序的弹性需求,最大限度地减少对现有体系结构的更改,同时确保故障转移后的最佳延迟。 通过配置EC2实例以使用AWS弹性灾难恢复,您可以自动将实例复制到第二个AWS区域。这确保了2分钟的低恢复点目标(RPO),这意味着在发生故障时数据丢失最小。 为RDS DB实例创建跨区域读副本可确保数据库层的RPO (Recovery Point Objective)低至5分钟。 在第二个AWS区域中设置应用程序负载均衡器(ALB)可以实现两个区域之间的流量分配和自动故障转移。这确保了30分钟的低恢复时间目标(RTO),这意味着在发生故障时停机时间最少。 创建AWS Global Accelerator端点并将其与alb关联有助于优化故障转移后的延迟。全局加速器根据AWS的全局网络基础设施将流量路由到最近的健康端点。 更新DNS记录以指向Global Accelerator端点,可确保传入流量定向到适当的ALB端点,从而进一步提高弹性并减少停机时间。 总体而言,该解决方案利用AWS弹性灾难恢复、跨区域读取副本、alb和AWS Global Accelerator为关键web应用程序提供改进的弹性,在对现有架构进行最小更改的情况下满足指定的RPO和RTO目标,并在故障转移后实现最佳延迟。