
Answer-first summary for fast verification
Answer: Store the data in an Amazon DynamoDB global table in two Regions using on- demand capacity mode In both Regions, run the web service as Amazon ECS Fargate tasks in an Auto Scaling ECS service behind an Application Load Balancer (ALB) In Amazon Route 53, configure an alias record in the company's domain and a Route 53 latency-based routing policy with health checks to distribute traffic between the two ALBs
Answer C is the most appropriate solution for the given requirements due to the following reasons: 1. **Amazon DynamoDB Global Tables with On-Demand Capacity Mode:** - **Global Tables:** DynamoDB Global Tables ensure that the data is automatically replicated across multiple AWS Regions. This design offers high availability, fault tolerance, and durability of the data. Therefore, it provides the necessary fault resilience across multiple AWS Regions. - **On-Demand Capacity Mode:** This mode allows DynamoDB to automatically scale up and down to accommodate workload demands, thereby ensuring rapid response to brief but large surges in system demand without the need for manual intervention. 2. **Amazon ECS Fargate Tasks Behind an ALB:** - **Amazon ECS Fargate:** Running the web service as ECS Fargate tasks simplifies deployment and management, while also enabling containerized applications to scale seamlessly based on demand. - **Auto Scaling ECS service:** Configuring the ECS tasks behind an Application Load Balancer (ALB) in an Auto Scaling ECS service ensures that the service can automatically adjust the number of running instances to handle surges and high traffic efficiently. 3. **Latency-Based Routing with Amazon Route 53:** - **Latency-Based Routing:** By configuring Amazon Route 53 with a latency-based routing policy, the traffic is directed to the region that offers the lowest latency to the user, thus enhancing performance by reducing response time. - **Health Checks:** The use of health checks with Route 53 ensures that traffic is only directed to healthy instances, contributing to high availability and fault tolerance. - **Alias Records:** Alias records provide a simplified and cost-effective way to route traffic to AWS resources like ALBs, making DNS management more efficient. In summary, this architecture addresses the need for high availability, fault tolerance, and scalability across multiple regions, while ensuring the service can handle sudden spikes in demand efficiently.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A business is in the process of reworking an existing web service that gives read-write access to structured data. The service must be able to react quickly to brief but large surges in system demand. Across many AWS Regions, the service must be fault resilient. What steps should be done to ensure compliance with these requirements?
A
Store the data in Amazon DocumentDB Create a single global Amazon CloudFront distribution with a custom origin built on edge-optimized Amazon API Gateway and AWS Lambda Assign the company's domain as an alternate domain for the distribution. and configure Amazon Route 53 with an alias to the CloudFront distribution
B
Store the data in replicated Amazon S3 buckets in two Regions Create an Amazon CloudFront distribution in each Region, with custom origins built on Amazon API Gateway and AWS Lambda launched in each Region Assign the company's domain as an alternate domain for both distributions and configure Amazon Route 53 with a failover routing policy between them
C
Store the data in an Amazon DynamoDB global table in two Regions using on- demand capacity mode In both Regions, run the web service as Amazon ECS Fargate tasks in an Auto Scaling ECS service behind an Application Load Balancer (ALB) In Amazon Route 53, configure an alias record in the company's domain and a Route 53 latency-based routing policy with health checks to distribute traffic between the two ALBs
D
Store the data in Amazon Aurora global databases. Add Auto Scaling replicas to both Regions Run the web service on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer in each Region. Configure the instances to download the web service code in the user data In Amazon Route 53, configure an alias record for the company's domain and a multi-value routing policy.