Nagios - IT Infrastructure Monitoring MCQs

Nagios - IT Infrastructure Monitoring MCQs

Answer these 80+ Nagios - IT Infrastructure Monitoring MCQs and assess your grip on the subject of Nagios - IT Infrastructure Monitoring.
Scroll below and get started!

1:

Choose True or False.

An agent is required for monitoring while implementing effective SNMP Trap management with Nagios.


A.  

True

B.  

False

A.   We can create a dashboard.

B.   We can clone a dashboard.

C.   We can edit a dashboard.

D.   We can delete a dashboard.

3:

This question is based upon the figure shown below

In relation to adding dashlets to dashboard in Nagios XI, what is the function of the icon shown in the given image?


A.  

It is used to remove a dashlet from the dashboard. 

B.  

It is used to hide the dashboard. 

C.  

It is used to hide the title of a dashlet.

D.  

It is used to hide a dashlet.

4: With regard to mapping a Nagios XI user account to the Nagios Fusion user account, which of the following statements are correct?

A.   It gives surety that the multi-tenancy feature of Nagios XI flows through to Nagios Fusion.

B.   It gives the surety that the Fusion user can see all the objects in Nagios XI.

C.   Mapping is available only if a Fusekey is provided while fusing the Nagios XI server.

D.   All of the above statements are correct.

5: Which of the following statements is/are correct about secure shell (SSH)?

A.   It is a network protocol through which an administrator can access a remote computer securely.

B.   SSH uses the peer-to-peer model instead of the client-server model.

C.   SSH does not support tunnelling.

D.   By default, it listens on TCP port 22.

6: The minimal.cfg file is contained in which of the following directories?

A.   default-object/

B.   template-object/

C.   template-extinfo/

D.   None of the above

7: While installing the Windows agent, NSClient++, which of the following Modules to load options are available in the NSClient++ Configuration dialog box?

A.   Enable common check plugins

B.   Enable NRPE server (check_nrpe)

C.   Enable NSCA client

D.   Enable Apache server

8: With regard to Host Group Definitions in Nagios, which of the following options are the mandatory directives?

A.   hostgroup_name

B.   alias

C.   members

D.   hostgroup_members

9: While integrating SNMP traps with Nagios XI, the EXEC line executes which of the following python scripts that will submit the check result to Nagios XI, by default?

A.   /usr/local/bin/snmptraphandling.py

B.   /home/local/snmptraphandling.py

C.   /root/home/bin/snmptraphandling.py

D.   /system/local/bin/ snmptraphandling.py

10: The main Nagios configuration file is usually located in which of the following directories?

A.   /usr/local/nagios/conf/

B.   /usr/path/nagios/conf/

C.   /usr/local/nagios/etc/

D.   /usr/path/nagios/etc/

11: Which of the following is the default value of theservice_check_timeoutoption in the Nagios.cfg configuration file?

A.   c

B.   u

C.   w

D.   o

12: With regard to the $NOTIFICATIONTYPE$ macro, which of the following are the valid values for the macro that can be used?

A.   PROBLEM

B.   FLAPPINGSTOP

C.   CRITICAL

D.   ACKNOWLEDGEMENT

13:

Which of the following are the valid options that can be used to restart Nagios daemon?


A.  

kill -HUP

B.  

kill

C.  

/etc/rc.d/init.d/nagios reload

D.  

/etc/rc.d/init.d/nagios restart

14: Which of the following options are the standard modules that are built directly into NCPA?

A.   cpu

B.   interface

C.   services

D.   logs

15:

While working with Nagios, the NRPE add-on consists of which of the following options?

1. The NRPE agent that runs on the remote Linux/Unix server.

2. The check_nrpe plugin.


A.  

Only 1.

B.  

Only 2.

C.  

Both 1 and 2.

D.  

Neither 1 nor2.

16: Which of the following options are the extended modules that are Python modules and are included in NCPA?

A.   windowscounters

B.   processes

C.   system

D.   logs

17:

In Nagios XI, when you navigate to Home > Maps menu, which of the following options are available?

1. BBmap

2. Google Map

3. Hyper Map

4. Value Map


A.  

All 1, 2, 3 and 4. 

B.  

Only 1, 2 and 3.

C.  

Only 1, 3 and 4.

D.  

Only 2, 3 and 4.

18:

Nagios can be stopped through which of the following ways?

1. init script

2. web interface

3. Manually


A.  

All 1, 2 and 3. 

B.  

Only 1 and 2.

C.  

Only 1 and 3.

D.  

Only 2 and 3.

19: Which of the following versions of SNMP provides community-based security?

A.   SNMP v2c

B.   SNMP v2u

C.   SNMP v1

D.   SNMP v3

20:

Choose True or False.

The NSClient++ agent can be downloaded from Nagios XI web interface when using the Windows Server monitoring wizard.


A.  

True

B.  

False

21: Which of the following options are the valid directives that can be used to define a host?

A.   parents

B.   hostgroups

C.   event_handler_enabled

22:

Choose True or False.

In order to add a Google API key, we can execute the following command on a Nagios XI server as the root user, after establishing a terminal or SSH connection.

vi /usr/local/nagiosxi/html/includes/components/googlemap/map.php


A.  

True

B.  

False

23: While configuring an auto-discovery job in the New Auto-Discovery Job form, what will happen when a comma-separated list of IP addresses and/or network addresses is entered in the Exclude IPs field to exclude from the scan?

A.   The excluded addresses will never be pinged.

B.   The excluded addresses may be pinged but will not be scanned for available or open services via nmap.

C.   The excluded addresses will be pinged and scanned for available or open services via nmap.

D.   The excluded addresses will never be pinged but will be scanned for available or open services via nmap.

24: In relation to configuring the firewall on Mac OS X, which of the following statements are correct?

A.   The firewall is enabled by default.

B.   The firewall is disabled by default.

C.   Firewall allows TCP port 5693.

D.   Firewall does not allow TCP port 5693.

A.   5 - 15

B.   6 - 20

C.   7 - 20

D.   8 - 15

26: In Nagios XI interface, what is the function of the icon shown in the given image?

A.   It is used to upload a dashlet on the web.

B.   It is used to add a dashlet to the Nagios core.

C.   It is used to add a dashlet to any dashboard.

D.   It is used to print the dashboard elements.

27: Which of the following options are the invalid directives ofHost Group Definitionsin Nagios?

A.   hostgroup_members

B.   process_perf_data

C.   retain_status_information

D.   action_url

28: With regard to themax_service_check_spreadoption in the Nagios.cfg file, what is the default value?

A.   10 minutes

B.   20 minutes

C.   30 minutes

D.   60 minutes

29: If you want to configure the Google Maps to show a marker bubble that indicates the status of a host, then you need to add the longitude and latitude coordinates to the notes directive in the host object. Under which of the following directives will you find the Notes field to add the longitude and latitude coordinates?

A.   Common Settings

B.   Check Settings

C.   Alert Settings

D.   Misc Settings

30: In Nagios XI, trap definitions are defined in the /etc/snmp/snmptt.conf file. These definitions start with which of the following lines?

A.   EXEC

B.   EVENT

C.   FORMAT

31: While monitoring Windows machines, which of the following tasks are a part of Active Checks?

A.   Installing the check_ncpa.py plugin.

B.   Restarting the Nagios daemon.

C.   Adding checks to the ncpa configuration.

D.   Configuring NRDP settings.

32:

While configuring the Google Maps during the integration of Google Maps with Nagios XI, which of the following options will you find under the Misc Settings tab on the Host Management page?

1. VRML image

2. Status image

3. Icon image

4. Action URL


A.  

All 1, 2, 3 and 4. 

B.  

Only 1, 2 and 3.

C.  

Only 1 and 4. 

D.  

Only 2, 3 and 4. 

E.  

Only 1 and 2.

33: While defining a service in Nagios, which of the following are the possible values of thenotification_optionsdirective?

A.   w

B.   u

C.   c

D.   o

34: Nagios XI allows users to add how many customized dashboards?

A.   Only one.

B.   Only two.

C.   Only three.

D.   Multiple number of dashboards.

35: Which of the following keys is used in NRPE v3 for SSL security?

A.   256-bit key

B.   512-bit key

C.   1024-bit DH key

D.   2048-bit DH key

36: While monitoring hosts using SSH, public and private SSH keys are saved in which of the following directories?

A.   /usr/path/nagios/.ssh

B.   /home/path/nagios/.ssh

C.   /root/nagios/.ssh

D.   /home/nagios/.ssh

37:

While using Auto-Discovery in Nagios XI, a network scan is performed using which of the following commands?

1. ping

2. nmap


A.  

Only 1.

B.  

Only 2.

C.  

Both 1 and 2 are used. 

D.  

Neither 1 nor 2 is used.

38: With regard to Host definitions in Nagios, what are the possible values of stalking_options directive?

A.   o

B.   s

C.   d

D.   u

39:

While monitoring hosts using SSH, SSH keys for the Nagios user on your Nagios XI server should be configured. Which of the following commands can be used after establishing a terminal session with your Nagios XI server as root?

1. su nagios

2. ssh-keygen

3. ssh-agent

4. ssh-add


A.  

All 1, 2, 3 and 4.

B.  

Only 1 and 2.

C.  

Only 1 and 3. 

D.  

Only 1, 2 and 3.

E.  

Only 1, 2 and 4.

40: While configuring NSClient++ during the installation of Windows agent, NSClient++, a password is mandatory for communication between the Nagios server and the Windows machine. This password is used by which of the following plugins?

A.   check_nrpe

B.   check_nt

C.   check_users

D.   check_ntp_peer

41: Which of the following commands can be used to start Nagios Core in Red Hat Enterprise Linux 7.x?

A.   service nagios start

B.   systemctl start nagios.service

C.   svcadm enable nagios

D.   sudo systemctl start nagios.service

42: Which of the following tasks will be performed by the NagiosXI-SNMPTrap-setup.sh script on its execution on the Nagios XI server as the root user?

A.   In order to open UDP port 162, it adds a firewall rule to Nagios server.

B.   It modifies only the snmptt.ini file.

C.   It adds the snmptt user to the Nagios group.

D.   All of the above.

43: While installing NCPA on Windows, which of the following tokens is used to access the web interface and agent

A.   /D

B.   /NRDPTOKEN

C.   /TOKEN

D.   /S

E.   /NRDPURL

44: In relation to the log_rotation_method in the Nagios.cfg file, what is the default value of this rotation method?

A.   d

B.   w

C.   m

D.   n

E.   h

45:

Nagios Core 4.3.4 can be installed on which of the following operating systems?

1. Red Hat Enterprise Linux (RHEL)

2. Apple OS X

3. FreeBSD


A.  

All 1, 2 and 3.

B.  

Only 1 and 2.

C.  

Only 1 and 3.

D.  

Only 2 and 3.

46: With regard to Nagios core, which of the following options is a correct sample file that is used to define customized macros and to store sensitive data?

A.   cgi.cfg

B.   nagios.cfg.in

C.   resource.cfg.in

D.   custom.cfg.in

47: Can more than one EVENT exist with the same OID/MIB in the snmptt.conf file?

A.   Yes

B.   No

48: With regard to NCPA API, which of the following are the correct options for the aggregate parameter of thecpustandard module?

A.   avg

B.   min

C.   max

D.   count

49: While defining a host in Nagios, which of the following directives are mandatory?

A.   host_name

B.   address

C.   check_interval

D.   max_check_attempts

50: While using Auto-Discovery in Nagios XI, which of the following functionalities is NOT provided by the Action column on the Auto-Discovery Jobs page?

A.   Start Job

B.   View job

C.   Re-Run Job

D.   Delete Job