0
0
AWScloud~20 mins

Cross-zone load balancing in AWS - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Cross-Zone Load Balancing Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Cross-Zone Load Balancing Behavior

What is the main effect of enabling cross-zone load balancing on an AWS Application Load Balancer?

AIt disables health checks for targets in other Availability Zones.
BIt restricts traffic to targets only within the same Availability Zone as the load balancer node.
CIt evenly distributes incoming traffic across all registered targets in all enabled Availability Zones.
DIt routes all traffic to the target group with the lowest latency regardless of zone.
Attempts:
2 left
💡 Hint

Think about how traffic is balanced when targets are unevenly distributed across zones.

Architecture
intermediate
2:00remaining
Designing for High Availability with Cross-Zone Load Balancing

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?

ATraffic is split evenly between Zone A and Zone B, but Zone B targets get more traffic per instance.
BTraffic is split evenly between all targets regardless of zone.
CTraffic is routed only to Zone B targets.
DAll traffic is routed only to Zone A targets.
Attempts:
2 left
💡 Hint

Consider how load balancers distribute traffic when cross-zone load balancing is off and targets are uneven.

Configuration
advanced
2:00remaining
Enabling Cross-Zone Load Balancing via AWS CLI

Which AWS CLI command correctly enables cross-zone load balancing for a Network Load Balancer named my-nlb?

AWS
aws elbv2 modify-load-balancer-attributes --load-balancer-arn <load-balancer-arn> --attributes Key=load_balancing.cross_zone.enabled,Value=true
Aaws elbv2 modify-load-balancer-attributes --load-balancer-arn <load-balancer-arn> --attributes Key=load_balancing.cross_zone.enabled,Value=true
Baws elbv2 set-load-balancer-attributes --name my-nlb --cross-zone-load-balancing enabled
Caws elbv2 update-load-balancer --name my-nlb --cross-zone true
Daws elbv2 enable-cross-zone --load-balancer-name my-nlb
Attempts:
2 left
💡 Hint

Look for the correct AWS CLI command and attribute syntax for modifying load balancer attributes.

security
advanced
2:00remaining
Security Implications of Cross-Zone Load Balancing

What is a potential security consideration when enabling cross-zone load balancing on an AWS load balancer?

AIt disables encryption between the load balancer and targets.
BIt may increase inter-AZ data transfer costs and expose traffic to more network paths, increasing attack surface.
CIt automatically opens all inbound ports on targets for cross-zone traffic.
DIt disables AWS WAF protections on the load balancer.
Attempts:
2 left
💡 Hint

Think about how traffic flows between zones and what that means for security and costs.

service_behavior
expert
2:00remaining
Impact of Cross-Zone Load Balancing on Auto Scaling Behavior

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?

ATraffic to the affected zone is dropped until instances are replaced manually.
BThe load balancer disables cross-zone load balancing automatically.
CThe load balancer continues to send traffic evenly to all zones, causing errors in the empty zone.
DThe load balancer automatically routes all traffic to instances in the remaining zones without manual intervention.
Attempts:
2 left
💡 Hint

Consider how the load balancer handles target health and zone availability.