Topic 1 Question 204
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?
Create a private hosted zone with weighted routing for each Availability Zone. Point the primary record to the local Availability Zone NLB DNS record. Point the secondary record to the Regional NLB DNS record. Configure the front end of the application to perform DNS lookups on the local private hosted zone records.
Turn off cross-zone load balancing on the NLConfigure the front end of the application to perform DNS lookups on the local Availability Zone NLB DNS record.
Create a private hosted zone. Create a failover record for each Availability Zone. For each failover record, point the primary record to the local Availability Zone NLB DNS record and point the secondary record to the Regional NLB DNS record. Configure the front end of the application to perform DNS lookups on the local private hosted zone records.
Enable sticky sessions (session affinity) so that the NLB can bind a user’s session to targets in the same Availability Zone.
ユーザの投票
コメント(5)
- 正解だと思う選択肢: C
If B: I don't see how the failover would work if cross-zone load-balancing is OFF and only the AZ NLB endpoint is used A better solution would be to tweek the "AZ routing configuration" to "AZ affinity" but it's not describe as a solution
👍 3c1193d42025/01/03 - 正解だと思う選択肢: B
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.
👍 2Cacheirez2024/08/13 - 正解だと思う選択肢: B
Answer is B
👍 2aragon_saa2024/08/13
シャッフルモード