What is the main effect of enabling cross-zone load balancing on an AWS Application Load Balancer?
Think about how traffic is balanced when targets are unevenly distributed across zones.
Enabling cross-zone load balancing allows the load balancer to distribute traffic evenly across all registered targets in all zones, preventing uneven load when targets are not evenly spread.
You have an AWS Network Load Balancer with targets unevenly distributed: 3 targets in Zone A and 1 target in Zone B. Cross-zone load balancing is disabled. What is the expected traffic distribution?
Consider how load balancers distribute traffic when cross-zone load balancing is off and targets are uneven.
With cross-zone load balancing off, the load balancer distributes traffic evenly across Availability Zones, not targets. Zone B has fewer targets, so each target there receives more traffic.
Which AWS CLI command correctly enables cross-zone load balancing for a Network Load Balancer named my-nlb?
aws elbv2 modify-load-balancer-attributes --load-balancer-arn <load-balancer-arn> --attributes Key=load_balancing.cross_zone.enabled,Value=true
Look for the correct AWS CLI command and attribute syntax for modifying load balancer attributes.
The correct command uses modify-load-balancer-attributes with the attribute key load_balancing.cross_zone.enabled set to true.
What is a potential security consideration when enabling cross-zone load balancing on an AWS load balancer?
Think about how traffic flows between zones and what that means for security and costs.
Cross-zone load balancing causes traffic to flow between Availability Zones, which can increase data transfer costs and expose traffic to more network paths, potentially increasing the attack surface.
You have an Auto Scaling group behind an Application Load Balancer with cross-zone load balancing enabled. If one Availability Zone loses all its instances, what happens to the traffic distribution?
Consider how the load balancer handles target health and zone availability.
With cross-zone load balancing enabled, the load balancer detects unhealthy or missing targets in a zone and routes traffic to healthy targets in other zones automatically.