Exam Practice Questions And Correct
Answers (Verified Answers) Plus
Rationales 2026 Q&A | Instant
Download Pdf
1. What is the primary function of Nagios?
A. Database management
B. Network monitoring
C. Web development
D. File compression
Answer: B. Network monitoring
Rationale: Nagios is primarily designed to monitor IT infrastructure
including networks, servers, and services.
2. Which component executes checks in Nagios Core?
A. Web interface
B. Plugins
C. Database engine
, D. Scheduler only
Answer: B. Plugins
Rationale: Nagios plugins perform the actual service and host checks.
3. What file defines hosts and services in Nagios?
A. httpd.conf
B. nagios.cfg
C. hosts.cfg
D. services.cfg
Answer: B. nagios.cfg
Rationale: nagios.cfg is the main configuration file controlling core
settings and includes object definitions.
4. What does NRPE stand for?
A. Nagios Remote Plugin Executor
B. Network Response Protocol Engine
C. Node Remote Performance Executor
D. Nagios Routing Protocol Extension
Answer: A. Nagios Remote Plugin Executor
Rationale: NRPE allows execution of plugins on remote Linux/Unix
machines.
5. Which protocol is commonly used by NRPE?
A. HTTP
B. SSH
, C. Custom Nagios protocol over TCP
D. FTP
Answer: C. Custom Nagios protocol over TCP
Rationale: NRPE uses a custom TCP-based protocol for
communication.
6. What is a "host" in Nagios?
A. A service
B. A monitored machine
C. A plugin
D. A notification
Answer: B. A monitored machine
Rationale: A host represents any physical or virtual device being
monitored.
7. What is a service in Nagios?
A. A hardware device
B. A monitored resource on a host
C. A network cable
D. A plugin script
Answer: B. A monitored resource on a host
Rationale: Services represent specific metrics like CPU, disk, or HTTP
status.
, 8. What is the default web server used with Nagios?
A. IIS
B. Apache
C. Nginx
D. Lighttpd
Answer: B. Apache
Rationale: Nagios commonly uses Apache HTTP Server for its web
interface.
9. What is a plugin return code for OK status?
A. 0
B. 1
C. 2
D. 3
Answer: A. 0
Rationale: In Nagios, 0 means OK status.
10. What does return code 2 indicate in Nagios?
A. OK
B. Warning
C. Critical
D. Unknown
Answer: C. Critical
Rationale: Exit code 2 indicates a critical problem.