Which of the following best explains how caching reduces the load on a web server?
Think about how serving stored data affects the work the server does.
Caching stores copies of responses so the server can quickly send them without reprocessing, reducing CPU and disk use.
What is the output of the X-Cache-Status header when Nginx serves a cached response?
curl -I http://example.com/resource
When a cached response is served, the status indicates a successful cache hit.
"HIT" means the response was served from cache, improving response time.
Which Nginx configuration snippet correctly enables caching for static files with a 1-hour cache duration?
Check the order and syntax of proxy_cache_valid directive.
Option A uses correct syntax: proxy_cache_valid 200 1h; caches 200 responses for 1 hour.
You configured Nginx caching but notice no cached responses are served. Which reason below explains this behavior?
Consider all configuration and response header factors that affect caching.
Missing cache path, no-cache headers from backend, or zero cache duration all prevent caching.
Put the steps in the correct order to enable caching of HTTP responses in Nginx.
Think about defining cache storage before using it in location blocks.
First define cache zone, then enable caching in location, set validity, and reload Nginx.