exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 57 discussion

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?

  • A. In both regions, deploy the application on AWS Elastic Beanstalk and use Amazon DynamoDB global tables for session data. Use an Amazon Route 53 weighted routing policy with health checks to distribute the traffic across the regions.
  • B. In both regions, launch the application in Auto Scaling groups and use DynamoDB for session data. Use a Route 53 failover routing policy with health checks to distribute the traffic across the regions.
  • C. In both regions, deploy the application in AWS Lambda, exposed by Amazon API Gateway, and use Amazon RDS for PostgreSQL with cross-region replication for session data. Deploy the web application with client-side logic to call the API Gateway directly.
  • D. In both regions, launch the application in Auto Scaling groups and use DynamoDB global tables for session data. Enable an Amazon CloudFront weighted distribution across regions. Point the Amazon Route 53 DNS record at the CloudFront distribution.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
davdan99
Highly Voted 1 year, 6 months ago
Selected Answer: A
I think it is A, We can have failover with CloudFront, but it can't have weighted routing, Here is the link of how auromatic failover works in the CloudFront https://disaster-recovery.workshop.aws/en/services/networking/cloudfront/cloudfront-origin-group.html
upvoted 7 times
...
jamesf
Most Recent 11 months, 2 weeks ago
A Keywords: web application - ElasticBeanstalk, weighted routing required. DynamoDB Global Table required. As understand, Cloudfront not support weighted routing.
upvoted 3 times
...
auxwww
11 months, 2 weeks ago
Selected Answer: A
A - correct - Elasticbeanstalk - option of ALB to register route53 with active-active alias with health checks and weighted routing "In active-active failover, all the records that have the same name, the same type (such as A or AAAA), and the same routing policy (such as weighted or latency) are active unless Route 53 considers them unhealthy. Route 53 can respond to a DNS query using any healthy record." D - incorrect because no ALB in front of ASG.
upvoted 1 times
...
Gomer
1 year, 1 month ago
Selected Answer: D
If the requirement is for "1% of requests should route to the secondary region to continuously", then that means the secondary region is in continuously in an Active state (Active/Active). A "request" is not a health check. You also have to have auto-scaling to dynamically pick up any extra traffic. The question is a little weird, in I don't know you you dynamically adjust the weighted routing policy to steer all traffice to the secondary region. I just know that "D" is the closest choice to meeting the specified requirements. This is absolutely and "Active-Active" design using weighted routing at some level, and auto-scaling just meets the demaind wherever it comes from. I think "latency-based" routing would make more sence, but the requirements are clearly describing "weighted routing" and Active-Active design. https://aws.amazon.com/blogs/networking-and-content-delivery/latency-based-routing-leveraging-amazon-cloudfront-for-a-multi-region-active-active-architecture/
upvoted 1 times
Gomer
1 year, 1 month ago
Just to clarify, the scenarios is absolutely desrivinb "weighted routing" with 99% to 1% traffic split between regions for normal operation (unbalanced Active/Active).
upvoted 1 times
...
...
seetpt
1 year, 2 months ago
Selected Answer: A
A is ok
upvoted 1 times
...
DanShone
1 year, 3 months ago
Selected Answer: A
A is correct B + C no DynamoDB Global Tables D - does not use Route53
upvoted 2 times
...
thanhnv142
1 year, 5 months ago
A is correct: beanstalk is literally designed for this specific purpose
upvoted 2 times
...
Jaguaroooo
1 year, 6 months ago
It is A, 1% of the traffic should be going to the 2ndary site. so that's weighted routing.
upvoted 2 times
...
DucSiu
1 year, 6 months ago
Why not B?
upvoted 1 times
davdan99
1 year, 6 months ago
We have to use DynamoDB Global tables for make db acessable from 2 regions.
upvoted 1 times
...
...
denccc
1 year, 8 months ago
It's A
upvoted 2 times
...
rahulsingha2112
1 year, 8 months ago
A is correct answer
upvoted 1 times
...
ekki
1 year, 8 months ago
Answer is D. "Testing Regional failover" https://aws.amazon.com/blogs/networking-and-content-delivery/latency-based-routing-leveraging-amazon-cloudfront-for-a-multi-region-active-active-architecture/
upvoted 1 times
zijo
1 year, 3 months ago
The title of this page mentions Active-Active scenario and not Active-Passive as mentioned in this question.
upvoted 1 times
...
...
BaburTurk
1 year, 10 months ago
Selected Answer: D
Option A uses Elastic Beanstalk, which is not as scalable as Auto Scaling groups. D is correct
upvoted 1 times
BaburTurk
1 year, 8 months ago
A- Route 53 does offer the capability to automatically route traffic to the secondary region in case of a disruption. In the context of the requirements specified, option A seems to be a feasible solution as it involves the use of AWS Elastic Beanstalk for deployment, DynamoDB global tables for session data replication, and a weighted routing policy in Route 53 for traffic distribution across regions. The health checks can ensure that traffic is routed to the secondary region automatically in case of a disruption in the main region. Therefore, considering the ability of Route 53 to automatically reroute traffic, option A appears to be the most appropriate solution for meeting the specified disaster recovery requirements.
upvoted 2 times
...
...
mamila
1 year, 11 months ago
The answer is NONE of them, none of them specified both weighted and failover routing policies.
upvoted 1 times
...
totopopo
1 year, 11 months ago
Selected Answer: A
D is not offering scaling on DRP. A offers scaling by using BeanStalk.
upvoted 2 times
...
csG13
2 years ago
Selected Answer: A
Going for A given that DynamoDB global tables can replicate data across selected regions in near real-time. Clearly weighting and failover, thus Route53 should be selected. It's not D because Cloudfront cannot do weighted routing.
upvoted 4 times
...
madperro
2 years ago
Selected Answer: D
A and D are very similar but with using different services (BeanStalk vs CloudFront). However A is using R53 traffic distribution and D is using CF traffic distribution. I think D is better in this case. Note that not all applications will run easily on BeanStalk too.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...