ANS-C01 · Question #234
ANS-C01 Question #234: Real Exam Question with Answer & Explanation
The correct answer is B: Turn off cross-zone load balancing on the NLConfigure the front end of the application to perform. By disabling cross-zone load balancing on the NLB, the NLB will only route traffic to targets within the same Availability Zone as the incoming request. If no healthy targets exist in the local AZ, the NLB will route the traffic automatically to targets in another AZ.
Question
A company has deployed an application in which the front end of the application communicates with the backend instances through a Network Load Balancer (NLB) in the same VPC. The application is highly available across two Availability Zones. The company wants to limit the amount of traffic that travels across the Availability Zones. Traffic from the front end of the application must stay in the same Availability Zone unless there is no healthy target in that Availability Zone behind the NLB. If there is no healthy target in the same Availability Zone, traffic must be sent to the other Availability Zone. Which solution will meet these requirements?
Options
- ACreate a private hosted zone with weighted routing for each Availability Zone. Point the primary
- BTurn off cross-zone load balancing on the NLConfigure the front end of the application to perform
- CCreate a private hosted zone. Create a failover record for each Availability Zone. For each
- DEnable sticky sessions (session affinity) so that the NLB can bind a user's session to targets in
Explanation
By disabling cross-zone load balancing on the NLB, the NLB will only route traffic to targets within the same Availability Zone as the incoming request. If no healthy targets exist in the local AZ, the NLB will route the traffic automatically to targets in another AZ.
Community Discussion
No community discussion yet for this question.