0
0
AWScloud~10 mins

Why load balancing matters in AWS - Test Your Understanding

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a load balancer that distributes traffic evenly.

AWS
LoadBalancerName: "MyLoadBalancer"
Listeners:
  - Protocol: HTTP
    LoadBalancerPort: 80
    InstancePort: [1]
Drag options to blanks, or click blank then click option'
A80
B22
C443
D8080
Attempts:
3 left
💡 Hint
Common Mistakes
Using port 22 which is for SSH, not HTTP.
2fill in blank
medium

Complete the code to specify the health check path for the load balancer.

AWS
HealthCheck:
  Target: "HTTP:[1]/health"
  Interval: 30
  Timeout: 5
Drag options to blanks, or click blank then click option'
A22
B80
C443
D8080
Attempts:
3 left
💡 Hint
Common Mistakes
Using port 22 which is for SSH, not HTTP.
3fill in blank
hard

Fix the error in the listener configuration to allow HTTPS traffic.

AWS
Listeners:
  - Protocol: [1]
    LoadBalancerPort: 443
    InstancePort: 443
Drag options to blanks, or click blank then click option'
AHTTP
BFTP
CHTTPS
DSSH
Attempts:
3 left
💡 Hint
Common Mistakes
Using HTTP on port 443 causes errors.
4fill in blank
hard

Fill both blanks to configure a load balancer with cross-zone load balancing enabled and a security group.

AWS
LoadBalancerAttributes:
  CrossZoneLoadBalancing: [1]
SecurityGroups:
  - [2]
Drag options to blanks, or click blank then click option'
Atrue
Bfalse
Csg-123abc45
Dsg-678def90
Attempts:
3 left
💡 Hint
Common Mistakes
Setting cross-zone load balancing to false reduces efficiency.
5fill in blank
hard

Fill all three blanks to define a target group with a health check path and protocol.

AWS
TargetGroup:
  Name: "MyTargetGroup"
  Protocol: [1]
  Port: [2]
  HealthCheckPath: "[3]"
Drag options to blanks, or click blank then click option'
AHTTP
B80
C/healthcheck
DTCP
Attempts:
3 left
💡 Hint
Common Mistakes
Using TCP protocol without a health check path causes monitoring issues.