Recall & Review
beginner
What command starts the nginx service on a Linux system?
Use
sudo systemctl start nginx to start the nginx service. This command tells the system to launch nginx so it can serve web pages.Click to reveal answer
beginner
How do you stop the nginx service safely?
Run
sudo systemctl stop nginx to stop nginx. This command stops the web server from running, freeing system resources.Click to reveal answer
intermediate
What does reloading nginx do?
Reloading nginx with
sudo systemctl reload nginx applies configuration changes without stopping the server. It keeps the service running smoothly while updating settings.Click to reveal answer
intermediate
What is the difference between stopping and reloading nginx?
Stopping nginx (
stop) shuts down the server completely. Reloading (reload) updates configuration without downtime, keeping the server running.Click to reveal answer
beginner
How can you check if nginx is running after starting it?
Use
sudo systemctl status nginx. It shows if nginx is active (running) or inactive (stopped).Click to reveal answer
Which command reloads nginx configuration without stopping the service?
✗ Incorrect
Reloading applies new settings without stopping nginx, keeping it running.
What happens when you run
sudo systemctl stop nginx?✗ Incorrect
Stopping nginx shuts down the service completely.
Which command would you use to start nginx if it is not running?
✗ Incorrect
Starting nginx launches the web server to serve requests.
How can you verify nginx is active after starting it?
✗ Incorrect
The status command shows if nginx is running or stopped.
What is the main benefit of reloading nginx instead of stopping and starting it?
✗ Incorrect
Reloading updates settings without interrupting service.
Explain how to safely update nginx configuration without stopping the service.
Think about a command that refreshes settings while keeping nginx running.
You got /3 concepts.
Describe the difference between stopping and restarting nginx.
Consider what happens to the service during each action.
You got /3 concepts.