Recall & Review
beginner
What is the purpose of the Nginx stub status module?
The stub status module provides a simple way to get basic Nginx server statistics like active connections, requests, and connection states.
Click to reveal answer
beginner
Which directive enables the stub status module in an Nginx configuration?
The
stub_status on; directive inside a location block enables the stub status module.Click to reveal answer
intermediate
What kind of information does the stub status page show?
It shows:<br>- Active connections<br>- Accepted connections<br>- Handled connections<br>- Total requests<br>- Reading connections<br>- Writing connections<br>- Waiting connections
Click to reveal answer
intermediate
How do you secure access to the stub status page?
You can restrict access using
allow and deny directives to limit which IPs can view the status page.Click to reveal answer
beginner
What is the typical URL path used to expose the stub status page?
Commonly, the stub status page is exposed at
/nginx_status or a similar path defined in the location block.Click to reveal answer
Which directive enables the stub status module in Nginx?
✗ Incorrect
The correct directive is
stub_status on; inside a location block.What does the 'Active connections' value represent on the stub status page?
✗ Incorrect
Active connections show how many connections are currently open and being handled by Nginx.
Which of these is NOT shown by the stub status module?
✗ Incorrect
CPU usage is not shown by the stub status module; it only shows connection and request stats.
How can you restrict access to the stub status page?
✗ Incorrect
Access is restricted by
allow and deny directives to control IP access.What is the default HTTP response content type of the stub status page?
✗ Incorrect
The stub status page returns plain text with server statistics.
Explain how to configure the Nginx stub status module to monitor server connections.
Think about the minimal config needed to expose and protect the status page.
You got /3 concepts.
Describe the key metrics provided by the stub status module and what they indicate about server health.
Consider what each metric tells about current server load and activity.
You got /4 concepts.