Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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

A company has an application that runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The EC2 instances are in multiple Availability Zones. The application was misconfigured in a single Availability Zone, which caused a partial outage of the application.

A DevOps engineer made changes to ensure that the unhealthy EC2 instances in one Availability Zone do not affect the healthy EC2 instances in the other Availability Zones. The DevOps engineer needs to test the application's failover and shift where the ALB sends traffic. During failover, the ALB must avoid sending traffic to the Availability Zone where the failure has occurred.

Which solution will meet these requirements?

  • A. Turn off cross-zone load balancing on the ALB. Use Amazon Route 53 Application Recovery Controller to start a zonal shift away from the Availability Zone.
  • B. Turn off cross-zone load balancing on the ALB’s target group. Use Amazon Route 53 Application Recovery Controller to start a zonal shift away from the Availability Zone.
  • C. Create an Amazon Route 53 Application Recovery Controller resource set that uses the DNS hostname of the ALB. Start a zonal shift for the resource set away from the Availability Zone.
  • D. Create an Amazon Route 53 Application Recovery Controller resource set that uses the ARN of the ALB’s target group. Create a readiness check that uses the ElbV2TargetGroupsCanServeTraffic rule.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
inturist
Highly Voted 1 month, 3 weeks ago
Selected Answer: A
For me the correct answer is A:"Note that the Elastic Load Balancing resources must have cross-zone load balancing turned off to use this capability." https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-shift.html
upvoted 5 times
Exto1124
1 month, 1 week ago
"With Application Load Balancers, cross-zone load balancing is always turned on at the load balancer level, and cannot be turned off. For target groups, the default is to use the load balancer setting, but you can override the default by explicitly turning cross-zone load balancing off at the target group level." https://docs.aws.amazon.com/elasticloadbalancing/latest/application/disable-cross-zone.html#:~:text=The%20nodes%20for%20your%20load,in%20all%20registered%20Availability%20Zones.
upvoted 1 times
...
...
limelight04
Most Recent 1 week, 4 days ago
Selected Answer: A
A is the most appropriate answer due to the reasons below; Option A: Turning off cross-zone load balancing on the ALB and using Amazon Route 53 Application Recovery Controller to start a zonal shift away from the affected Availability Zone ensures that traffic is not sent to the unhealthy instances in the problematic zone. This directly addresses the need to avoid sending traffic to the Availability Zone where the failure has occurred. Option D: While creating a resource set and readiness check with Amazon Route 53 Application Recovery Controller is useful for monitoring and ensuring traffic is routed to healthy instances, it doesn’t explicitly mention turning off cross-zone load balancing, which is crucial for isolating the affected Availability Zone.
upvoted 1 times
...
chinchin97
1 week, 5 days ago
Selected Answer: B
Turning off cross-zone load balancing at the target group level ensures that each target group handles traffic independently for its specific Availability Zone. Why specifically target group is because cross-zone load balancing is always turned on and cannot be turned off for a ALB. But, if using target group, the default is to use the load balancer setting, which you can override the default by explicitly turning cross-zone load balancing off at the target group level. The next part us to move away from the affected region by using Amazon Route 53 Application Recovery Controller. Option A works well for a ELB, but for ALB, you can't turn off cross-zone load balancing. Option C is good to handle DNS failover, but doesn't stop traffic from going to the affected zone. Option D doesn't handle moving of traffic away from the affected zone and add extra complexity by introducing a readiness check.
upvoted 1 times
...
jamesf
1 month, 1 week ago
Selected Answer: A
- Turning off cross-zone load balancing on the ALB ensures that each Availability Zone only handles traffic directed to its own healthy instances, allowing for granular control over traffic distribution. This prevents the ALB from sending traffic to the unhealthy instances across all zones, thereby isolating the problem to the affected zone. - Amazon Route 53 Application Recovery Controller's Zonal Shifts is used to direct traffic away from a specific AZ that experiences a failure, allowing the ALB to reroute requests to healthy AZs automatically. Amazon Route 53 Application Recovery Controller currently supports the following resources for zonal shift and zonal autoshift: - Network Load Balancers with cross-zone load balancing disabled - Application Load Balancers with cross-zone load balancing disabled https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-shift.resource-types.html
upvoted 1 times
jamesf
1 month, 1 week ago
B Incorrect: This option mentions turning off cross-zone load balancing on the ALB's target group rather than the ALB itself. This does not apply because cross-zone load balancing is a property of the ALB, not the target group. This makes the solution nonviable because the configuration settings described do not exist on target groups.
upvoted 1 times
...
...
trungtd
1 month, 3 weeks ago
Selected Answer: C
A&B Turn off cross-zone load balancing is a bad idea D involves creating a readiness check rule (ElbV2TargetGroupsCanServeTraffic) which checks the ability of the ALB’s target groups to serve traffic. However, this does not directly control traffic routing based on Availability Zone health. C Route 53 Application Recovery Controller: It directly manages traffic based on health checks and allows for zonal shifts Zonal Shift: Specifically addresses the requirement to avoid sending traffic to an Availability Zone experiencing issues
upvoted 2 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 ...