Challenge - 5 Problems
NGINX Performance Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Identify the output of the NGINX status command
You run the command
curl http://localhost/nginx_status on a server with NGINX configured to expose its status. What output do you expect to see?Attempts:
2 left
💡 Hint
The NGINX status page shows active connections and request counts.
✗ Incorrect
The NGINX status module outputs the number of active connections, total accepted connections, handled connections, total requests, and the current reading, writing, and waiting connections.
🧠 Conceptual
intermediate2:00remaining
Understanding NGINX worker_processes impact
If your NGINX server has 1 CPU core and you set
worker_processes 4; in the configuration, what is the likely effect on performance?Attempts:
2 left
💡 Hint
More worker processes than CPU cores can cause overhead.
✗ Incorrect
Setting more worker processes than CPU cores causes unnecessary context switching, which can reduce performance instead of improving it.
❓ Troubleshoot
advanced2:00remaining
Diagnosing slow response times in NGINX
You notice slow response times on your NGINX server. Which of the following is the most likely cause related to NGINX configuration?
Attempts:
2 left
💡 Hint
Connection limits can cause delays when many clients connect.
✗ Incorrect
If
worker_connections is too low, NGINX cannot handle many simultaneous connections, causing delays as connections wait.✅ Best Practice
advanced2:00remaining
Optimizing NGINX for high traffic
Which NGINX configuration change best helps improve performance under high traffic load?
Attempts:
2 left
💡 Hint
Reducing disk I/O helps serve files faster.
✗ Incorrect
sendfile on; allows NGINX to send files directly from disk to network, reducing CPU usage and improving throughput.🔀 Workflow
expert3:00remaining
Sequence to identify NGINX performance bottleneck
Arrange the steps in the correct order to identify a performance bottleneck in an NGINX server.
Attempts:
2 left
💡 Hint
Start with NGINX metrics, then system resources, then logs, then config changes.
✗ Incorrect
First check NGINX status to see connection load, then system resources to find hardware limits, then logs for errors, finally tune config.