0
0
Azurecloud~20 mins

Load balancing rules in Azure - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Azure Load Balancer Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
service_behavior
intermediate
2:00remaining
Understanding Azure Load Balancer Rule Behavior
You have an Azure Load Balancer with a rule that forwards TCP traffic from port 80 on the frontend to port 8080 on backend VMs. What happens when a client sends a TCP request to port 80?
AThe Load Balancer forwards the request to port 8080 on one of the backend VMs selected by the load balancing algorithm.
BThe Load Balancer forwards the request to port 80 on the backend VMs without changing the port.
CThe Load Balancer rejects the request because frontend and backend ports must be the same.
DThe Load Balancer forwards the request to port 8080 on the client machine.
Attempts:
2 left
💡 Hint
Think about how the load balancing rule maps frontend ports to backend ports.
Configuration
intermediate
2:00remaining
Configuring a Load Balancing Rule with Session Persistence
You want to configure an Azure Load Balancer rule to keep client sessions sticky based on the client's IP address. Which setting should you enable in the load balancing rule?
ASet the session persistence to 'Client IP'.
BSet the session persistence to 'Source IP affinity'.
CSet the session persistence to 'Client IP and protocol'.
DSet the session persistence to 'None'.
Attempts:
2 left
💡 Hint
Session persistence keeps traffic from the same client going to the same backend VM.
Architecture
advanced
2:30remaining
Designing a Load Balancer for High Availability with Multiple Frontend IPs
You need to design an Azure Load Balancer that supports two different public IP addresses for different services but shares the same backend pool. How should you configure the load balancing rules?
AAssign both frontend IPs to a single backend VM without load balancing rules.
BCreate one load balancing rule with both frontend IPs assigned to it.
CCreate two backend pools, each with its own load balancing rule and frontend IP.
DCreate two load balancing rules, each with a different frontend IP configuration but pointing to the same backend pool.
Attempts:
2 left
💡 Hint
Each load balancing rule must have one frontend IP configuration.
security
advanced
2:30remaining
Securing Load Balancer Rules with Network Security Groups
You have an Azure Load Balancer rule that forwards traffic on port 443 to backend VMs. To ensure only HTTPS traffic is allowed, what must you configure in the Network Security Group (NSG)?
AAllow all inbound traffic to the backend VMs regardless of port.
BAllow inbound traffic on port 443 to the Load Balancer's frontend IP and deny other ports.
CAllow inbound traffic on port 443 directly to backend VMs and deny other ports.
DDeny all inbound traffic to the Load Balancer's frontend IP.
Attempts:
2 left
💡 Hint
NSGs control traffic at the network interface or subnet level.
Best Practice
expert
3:00remaining
Optimizing Load Balancer Rules for Backend Health Probes
You want to ensure your Azure Load Balancer only sends traffic to healthy backend VMs. Which configuration is required in the load balancing rule and health probe setup?
AConfigure the load balancing rule without a health probe; the Load Balancer automatically detects unhealthy VMs.
BAssociate a health probe with the load balancing rule and configure the probe to check the backend VMs' health on a specific port.
CUse a health probe but do not associate it with the load balancing rule; it will still monitor backend health.
DConfigure the health probe to check the frontend IP instead of backend VMs.
Attempts:
2 left
💡 Hint
Health probes must be linked to load balancing rules to affect traffic distribution.