Q89 — AWS DOP-C02 Ch.1
Question 89 of 100 | ← Chapter 1
A company hosts a web application in an AWS Region. For disaster recovery purposes, a second Region is designated as the disaster recovery (DR) Region. The disaster recovery requirements specify that session data must be replicated nearly in real time between Regions, and 1% of requests should be routed to the secondary Region to maintain system functionality validation. Additionally, if the primary Region experiences service interruption, traffic must automatically fail over to the secondary Region, and the secondary Region must scale to handle the full traffic load.
- A. Deploy the application on AWS Elastic Beanstalk in both Regions and use Amazon DynamoDB global tables to store session data. Use Amazon Route 53 weighted routing policy with health checks to distribute traffic across Regions. ✓
- B. Launch the application in Auto Scaling groups in both Regions and use DynamoDB for session data. Use Route 53 failover routing policy with health checks to distribute traffic across Regions.
- C. Deploy the application in AWS Lambda in both Regions, exposed by Amazon API Gateway, and use Amazon RDS PostgreSQL with cross-Region replication for session data. Deploy the web application with client-side logic to directly invoke the API Gateway.
- D. Launch the application in Auto Scaling groups in both Regions and use DynamoDB global tables for session data. Enable Amazon CloudFront weighted distribution across Regions. Point Amazon Route 53 DNS records to the CloudFront distribution.
Correct Answer: A. Deploy the application on AWS Elastic Beanstalk in both Regions and use Amazon DynamoDB global tables to store session data. Use Amazon Route 53 weighted routing policy with health checks to distribute traffic across Regions.
Explanation
To meet near-real-time session data replication, 1% traffic routing to the secondary Region for functional validation, and automatic failover with scaling upon primary Region outage, the DevOps engineer must deploy the application in both Regions using a globally replicating data store. Amazon DynamoDB global tables satisfy near-real-time session data replication, and Amazon Route 53 weighted routing policy enables cross-Region traffic distribution—including automatic failover when the primary Region becomes unhealthy. Therefore, option A is correct.