AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 49

A company is hosting a web application in an AWS Region. For disaster recovery purposes, a second region is being used as a standby. Disaster recovery requirements state that session data must be replicated between regions in near-real time and 1% of requests should route to the secondary region to continuously verify system functionality. Additionally, if there is a disruption in service in the main region, traffic should be automatically routed to the secondary region, and the secondary region must be able to scale up to handle all traffic.
How should a DevOps engineer meet these requirements?

Answer options

Correct answer: A

Explanation

Option A is correct because it meets the requirement for session data replication through DynamoDB global tables and allows for traffic management via a Route 53 weighted routing policy. Option B does not provide the necessary session data replication across regions. Option C uses AWS Lambda and API Gateway, which does not fulfill the session data replication requirement as effectively as DynamoDB global tables. Option D includes CloudFront, but does not address the requirement of using a weighted routing policy for traffic distribution.