AWS Certified DevOps Engineer – Professional — Question 170

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 uses AWS Elastic Beanstalk and DynamoDB global tables, which are suitable for near-real-time session data replication and traffic distribution with a weighted routing policy. Option B does not meet the requirement for near-real-time session data replication. Option C does not align with the need for session data replication and involves more complexity than necessary. Option D uses CloudFront but does not utilize the most efficient method for session data replication across regions.