0
0
Azurecloud~10 mins

Load balancing rules in Azure - Interactive Code Practice

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

Complete the code to specify the protocol for the load balancing rule.

Azure
load_balancer_rule = {
  "name": "myLoadBalancingRule",
  "protocol": "[1]",
  "frontendPort": 80,
  "backendPort": 80
}
Drag options to blanks, or click blank then click option'
AUDP
BTCP
CHTTP
DFTP
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing UDP when the service requires reliable connection.
Using application protocols like HTTP instead of transport protocols.
2fill in blank
medium

Complete the code to set the frontend port for the load balancing rule.

Azure
load_balancer_rule = {
  "name": "myLoadBalancingRule",
  "protocol": "TCP",
  "frontendPort": [1],
  "backendPort": 80
}
Drag options to blanks, or click blank then click option'
A22
B8080
C443
D80
Attempts:
3 left
💡 Hint
Common Mistakes
Using port 22 which is for SSH.
Confusing frontend and backend ports.
3fill in blank
hard

Fix the error in the load balancing rule by completing the backend port correctly.

Azure
load_balancer_rule = {
  "name": "myLoadBalancingRule",
  "protocol": "TCP",
  "frontendPort": 80,
  "backendPort": [1]
}
Drag options to blanks, or click blank then click option'
A22
B443
C80
D21
Attempts:
3 left
💡 Hint
Common Mistakes
Setting backend port to SSH or FTP ports.
Mismatching frontend and backend ports.
4fill in blank
hard

Fill both blanks to configure the load balancing rule with the correct frontend IP configuration and idle timeout.

Azure
load_balancer_rule = {
  "name": "myLoadBalancingRule",
  "frontendIPConfiguration": [1],
  "idleTimeoutInMinutes": [2]
}
Drag options to blanks, or click blank then click option'
A"frontendIPConfig1"
B"backendIPConfig1"
C4
D30
Attempts:
3 left
💡 Hint
Common Mistakes
Using backend IP config for frontend IP configuration.
Setting idle timeout too low causing premature disconnections.
5fill in blank
hard

Fill all three blanks to complete the load balancing rule with correct protocol, load distribution, and enable floating IP.

Azure
load_balancer_rule = {
  "name": "myLoadBalancingRule",
  "protocol": "[1]",
  "loadDistribution": "[2]",
  "enableFloatingIP": [3]
}
Drag options to blanks, or click blank then click option'
ATCP
BSourceIP
Ctrue
DUDP
Attempts:
3 left
💡 Hint
Common Mistakes
Using UDP when TCP is required.
Disabling floating IP when needed for certain scenarios.