Nginx MCQ Quiz

Topic: systemctl status, Nginx processes, Ubuntu vs RHEL user/group, and service account checks

Total Questions: 25

Score: 0 / 25

Q1. What is the correct command to check the Nginx service status using systemd?

Q2. In systemctl status nginx, what does Active: active (running) mean?

Q3. What does Loaded: loaded mean in the Nginx service status output?

Q4. What does enabled mean in the Loaded line?

Q5. Which line is usually the most important when checking if Nginx is running?

Q6. What does status=0/SUCCESS usually mean?

Q7. What does ExecStartPre=/usr/sbin/nginx -t show?

Q8. Which command manually tests Nginx configuration?

Q9. What does Main PID: 209 (nginx) mean?

Q10. In Nginx, what is the job of worker processes?

Q11. What is the role of the Nginx master process?

Q12. What does the Memory: 10.5M line show?

Q13. Which command can test Nginx from the terminal after it starts?

Q14. What URL can you open in a browser to test local Nginx?

Q15. On Ubuntu/Debian, what user does Nginx commonly run worker processes as?

Q16. On RHEL/Rocky/AlmaLinux/CentOS/Fedora, what user does Nginx commonly use?

Q17. Which command checks the Nginx user entry on RHEL?

Q18. Which command checks the Nginx group entry on RHEL?

Q19. Why do we use sudo with grep nginx /etc/shadow?

Q20. In /etc/shadow, what does !! usually mean for the nginx account?

Q21. What does /sbin/nologin mean in /etc/passwd?

Q22. Which file usually contains the Nginx user directive?

Q23. On RHEL, what output might grep user /etc/nginx/nginx.conf show?

Q24. Why does the Nginx master process often start as root?

Q25. Which command shows actual running Nginx master and worker processes?