Challenge - 5 Problems
Round-robin Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate1:00remaining
What is the default load balancing method in NGINX?
NGINX uses a load balancing method to distribute client requests across multiple servers. What is the default method used if none is specified?
Attempts:
2 left
💡 Hint
Think about the simplest way to distribute requests evenly without extra configuration.
✗ Incorrect
The default load balancing method in NGINX is round-robin. It cycles through the servers in order, sending each new request to the next server.
❓ Configuration
intermediate1:30remaining
Identify the correct NGINX upstream block for round-robin load balancing
Which of the following NGINX upstream configurations correctly sets up round-robin load balancing for two backend servers?
Attempts:
2 left
💡 Hint
Round-robin is the default and requires no extra directive inside the upstream block.
✗ Incorrect
In NGINX, round-robin is the default load balancing method. You just list the servers inside the upstream block without any extra keywords.
❓ Troubleshoot
advanced2:00remaining
Why might NGINX not distribute requests evenly in round-robin mode?
You configured NGINX with multiple backend servers using round-robin. However, one server receives significantly more requests than others. What could cause this behavior?
Attempts:
2 left
💡 Hint
Think about how persistent connections affect request distribution.
✗ Incorrect
NGINX uses persistent connections by default. If clients reuse connections, requests go to the same backend server, causing uneven load despite round-robin.
✅ Best Practice
advanced1:30remaining
What is a recommended practice when using round-robin load balancing in NGINX?
When using round-robin load balancing in NGINX, which practice helps ensure better distribution and reliability?
Attempts:
2 left
💡 Hint
Think about how to avoid sending requests to servers that are down.
✗ Incorrect
Health checks help NGINX detect and exclude unhealthy backend servers, improving reliability when using round-robin.
🧠 Conceptual
expert2:00remaining
How does NGINX implement round-robin load balancing internally?
Which statement best describes how NGINX distributes requests using round-robin load balancing by default?
Attempts:
2 left
💡 Hint
Round-robin means taking turns in a fixed order.
✗ Incorrect
Round-robin load balancing means NGINX sends requests one by one to each backend server in the order they are listed, cycling back to the first after the last.