Challenge - 5 Problems
Nginx Plus Monitoring Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate1:30remaining
Nginx Plus status endpoint output
What is the output of the following curl command when querying the Nginx Plus status endpoint configured at
/status?Nginx
curl -s http://localhost/status
Attempts:
2 left
💡 Hint
Nginx Plus status endpoint returns JSON with connection and server zone metrics.
✗ Incorrect
The Nginx Plus status endpoint returns a JSON object with detailed metrics about connections and server zones. Option A matches this expected JSON structure.
🧠 Conceptual
intermediate1:00remaining
Purpose of Nginx Plus API
What is the primary purpose of the Nginx Plus API in monitoring?
Attempts:
2 left
💡 Hint
Think about how monitoring tools get data from Nginx Plus.
✗ Incorrect
The Nginx Plus API offers a RESTful interface that provides real-time metrics and allows dynamic configuration changes, which is essential for monitoring and management.
❓ Troubleshoot
advanced1:30remaining
Diagnosing missing Nginx Plus status metrics
You configured the Nginx Plus status endpoint at
/status but receive a 404 error when accessing it. What is the most likely cause?Attempts:
2 left
💡 Hint
Check the Nginx configuration for the status endpoint setup.
✗ Incorrect
If the status endpoint returns 404, it usually means the
status directive or location block is missing or incorrect in the Nginx config.🔀 Workflow
advanced2:00remaining
Steps to enable Nginx Plus monitoring API
Which sequence correctly describes the steps to enable the Nginx Plus monitoring API?
Attempts:
2 left
💡 Hint
Think about installation first, then configuration, then reload.
✗ Incorrect
You must first install Nginx Plus, then configure the status directive and location, and finally reload Nginx to enable the monitoring API.
✅ Best Practice
expert1:30remaining
Best practice for securing Nginx Plus status endpoint
What is the best practice to secure access to the Nginx Plus status endpoint?
Attempts:
2 left
💡 Hint
Think about limiting who can see sensitive metrics.
✗ Incorrect
Securing the status endpoint by restricting IPs and requiring authentication prevents unauthorized access to sensitive server metrics.