Practice Questions And Correct Answers
(Verified Answers) Plus Rationales 2026
Q&A | Instant Download Pdf
1. What is the primary purpose of Nagios Core?
A. Database management
B. Network monitoring system
C. Web development framework
D. File transfer service
Answer: B
Rationale: Nagios Core is primarily used for monitoring hosts,
services, and network infrastructure.
2. Which file defines host and service objects in Nagios?
A. commands.cfg
B. nagios.cfg
C. objects.cfg
D. resource.cfg
, Answer: C
Rationale: object definitions for hosts and services are typically
stored in object configuration files like objects.cfg.
3. Which protocol is commonly used by NRPE?
A. HTTP
B. SSH
C. SSL/TLS over TCP
D. FTP
Answer: C
Rationale: NRPE uses encrypted TCP communication for executing
remote plugins securely.
4. What does NRPE stand for?
A. Nagios Remote Plugin Executor
B. Network Remote Protocol Engine
C. Nagios Routing Plugin Extension
D. Network Resource Performance Engine
Answer: A
Rationale: NRPE allows execution of plugins on remote machines.
5. Which command is used to check Nagios configuration validity?
A. nagios -v
B. nagios -t
C. nagios --check
, D. nagios -c
Answer: B
Rationale: nagios -t validates configuration files before restarting
services.
6. Which directory typically stores Nagios plugins?
A. /etc/nagios/
B. /usr/local/nagios/libexec/
C. /var/nagios/plugins/
D. /opt/nagios/bin/
Answer: B
Rationale: default plugin binaries are stored in libexec directory.
7. What is the function of a Nagios plugin?
A. Store logs
B. Perform checks and return status codes
C. Manage users
D. Configure firewall
Answer: B
Rationale: plugins perform checks and return status like OK,
WARNING, CRITICAL.
8. Which status code indicates CRITICAL in Nagios plugins?
A. 0
B. 1
, C. 2
D. 3
Answer: C
Rationale: 2 represents CRITICAL state in Nagios return codes.
9. What does state “OK” correspond to?
A. 1
B. 0
C. 2
D. 3
Answer: B
Rationale: 0 indicates OK status in Nagios monitoring.
10. Which file is the main Nagios configuration file?
A. services.cfg
B. hosts.cfg
C. nagios.cfg
D. commands.cfg
Answer: C
Rationale: nagios.cfg is the primary configuration file.
11. What is the role of a host definition?
A. Define services only
B. Define monitored devices
C. Define notifications