Free F5N2 sample questions
These free F5N2 sample questions come with the right answer and an explanation for each. They touch on load balancing, content caching and reverse proxy setups. Try each one before you look, and note which role you get wrong most often.
Try them in the simulator Same questions, with study, timed and flashcard modes.
Showing 6 of 12 free sample questions.
When configuring an upstream block in a multi-worker NGINX environment, you notice that the 'least_conn' load balancing algorithm is not behaving optimally. Each worker process appears to be maintaining its own independent count of active connections to the backend servers. Which directive must be added to the upstream block to resolve this?
A financial services company is using NGINX as an API Gateway. They need to route incoming traffic to different upstream pools based on the first path segment of the URL (e.g., `/accounts/` goes to the Accounts pool, `/transactions/` goes to the Transactions pool). They also need to ensure that if a request is sent to `/transactions/`, the backend server receives the request with the `/transactions/` prefix removed (e.g., `/transactions/history` becomes `/history` on the backend). Which configuration block achieves both the routing and the correct URI rewriting?
A developer wants to test a new version of an application with production traffic without impacting actual users. How can NGINX be configured to duplicate incoming requests and send a copy to a testing backend, while ignoring the responses from the testing backend?
You are configuring NGINX as a content cache server. You attempt to define the cache storage using the `proxy_cache_path` directive, but NGINX fails to start, citing a syntax error. In which NGINX configuration context MUST the `proxy_cache_path` directive be placed?
You want NGINX to cache HTTP 200 and 302 responses for 10 minutes, and HTTP 404 responses for 1 minute. Which configuration snippet correctly defines this minimum retention policy?
6 more free samples are waiting
Create a free account to unlock the whole F5N2 sample bank, or get full access to all 150 practice questions in the simulator.