Nagios Skills Test Upwork

In order to run Nagios XI on your server, what is the minimum hard drive required?

a.10 GB
b.20 GB
c.30 GB
d.40 GB

With regard to NRPE v3, what can be the maximum packet size?

a. 1K
b. 16K
c. 32K
d. 64K

While using Auto-Discovery in Nagios XI, which of the following statements are correct about the View Job functionality?

a. We cannot view all the hosts.
b. We can view the new discovered hosts.
c. Discovered services can be displayed.
d. All of the above.

In the NAGIOS-NOTIFY-MIB.txt file, which of the following lines send(s) the trap to Nagios?

a. FORMAT
b. EXEC
c. EVENT
d. Both b and c

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

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

a. cpu
b. interface
c. services
d. logs

While working with the Nagios.cfg file, which of the following statements are incorrect?
1. Dollar symbol "$" can be used for writing comments.
2. White spaces are not allowed before a variable name.
3. Variable names are case-insensitive.

a. All 1, 2 and 3.
b. Only 2 and 3.
c. Only 1 and 3.
d. Only 1 and 2.

With regard to Host Dependency Definition, which of the following values of the notification_failure_criteria directive represents the criteria, "fail on an UP state"?

a. o
b. u
c. p
d. n

While configuring the firewall, which of the following commands can be used to create a firewall rule on your Oracle Linux 7.x machine for allowing incoming traffic to NCPA on TCP port 5693?

a. iptables -I INPUT -p tcp --destination-port 5693 -j ACCEPT
service iptables save
ip6tables -I INPUT -p tcp --destination-port 5693 -j ACCEPT
service ip6tables save
b. sudo mkdir -p /etc/ufw/applications.d
sudo sh -c "echo '[NCPA]' > /etc/ufw/applications.d/ncpa"
sudo sh -c "echo 'title=Nagios Cross Platorm Agent' >> /etc/ufw/applications.d/ncpa"
sudo sh -c "echo 'description=Nagios Monitoring Agent' >> /etc/ufw/applications.d/ncpa"
sudo sh -c "echo 'ports=5693/tcp' >> /etc/ufw/applications.d/ncpa"
sudo ufw allow NCPA sudo ufw reload
c. sudo /usr/sbin/SuSEfirewall2 open EXT TCP 5693
sudo systemctl restart SuSEfirewall2.service
d. firewall-cmd --zone=public --add-port=5693/tcp
firewall-cmd --zone=public --add-port=5693/tcp --permanent

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.

While installing the NSClient++ agent on a Windows machine, which of the following setup types are available to be installed?

a. Basic
b. Typical
c. Custom
d. Complete

In order to configure hosts during the integration of Google Maps with Nagios XI, which of the following options is used to open the Host Management page?

a. Dashboards
b. Tools
c. Configure
d. Admin

Which of the following options is the default value of the check_external_commands option in the Nagios.cfg file?

a. -1
b. 0
c. 1
d. None of the above.

While editing the NSClient++ configuration file, the following lines should be added under which of the given sections?
NRPEListener.dll
NSClientListener.dll
FileLogger.dll
CheckSystem.dll
CheckDisk.dll
CheckEventLog.dll
CheckHelpers.dll
CheckExternalScripts.dll

a. [modules]
b. [NRPE]
c. [External Script]
d. None of the above

With regard to Nagios frontends, which of the following options is NOT a Nagios web interface?

a. Nagios V-Shell
b. jNag
c. Nagios Dashboard – PHP
d. Birdseye

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.

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

Which of the following statements are correct about the NCPA Listener service?
1. It serves and handles connections to the web graphical user interface.
2. It connects and sends passive check results to the defined NRDP URL.
3. It handles external API requests.
4. It provides API for live graphing.

a. All 1, 2, 3 and 4.
b. Only 1, 2 and 3.
c. Only 1, 2 and 4.
d. Only 1, 3 and 4.

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

a. kill -HUP <nagios_pid>
b. kill <nagios_pid>
c. /etc/rc.d/init.d/nagios reload
d. /etc/rc.d/init.d/nagios restart

In order to run Nagios XI on your server, what is the minimum memory required?

a. 2 GB
b. 4 GB
c. 6 GB
d. 8 GB

Which of the following is the default value of the service_check_timeout option in the Nagios.cfg configuration file?

a. c
b. u
c. w
d. o

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/

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.

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

Which of the following are the required versions of the Redhat Enterprise Linux (RHEL) for running Nagios XI?

a. RHEL 4
b. RHEL 5
c. RHEL 6
d. RHEL 7

Which of the following options are the invalid directives of Host Group Definitions in Nagios?

a. hostgroup_members
b. process_perf_data
c. retain_status_information
d. action_url

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

While configuring an auto-discovery job in the New Auto-Discovery Job form, we can enter the amount of time in the Scan Delay field in:

a. nanoseconds.
b. microseconds.
c. milliseconds.
d. seconds.

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

Nagios XI allows users to add how many customized dashboards?

a. Only one.
b. Only two.
c. Only three.
d. Multiple number of dashboards.

While installing NCPA on Windows, which of the following tokens is used to access the web interface and agent's API?

a. /D
b. /NRDPTOKEN
c. /TOKEN
d. /S
e. /NRDPURL

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

a. SNMP v2c
b. SNMP v2u
c. SNMP v1
d. SNMP v3

In relation to Contact Definition, which of the following options are the valid values of the service_notification_options directive?

a. w
b. u
c. c
d. d

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

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

While defining a service in Nagios, which of the following are the possible values of the notification_options directive?

a. w
b. u
c. c
d. o

While configuring an auto-discovery job in Nagios XI, which of the following options are available in the New Auto-Discovery Job form?

a. Scan Target
b. Include IPs
c. Exclude IPs
d. Scan Delay

While defining a host in Nagios, which of the following directives are optional?

a. check_period
b. notification_interval
c. action_url
d. notifications_enabled

While managing dashboards in Nagios XI through the Manage My Dashboards link, which of the following actions can be performed?

a. We can create a dashboard.
b. We can clone a dashboard.
c. We can edit a dashboard.
d. We can delete a dashboard.

In relation to the service_perfdata_file_mode option in the Nagios.cfg file, which of the following options is the correct value that can be used to open a service performance data file in the non-blocking read/write mode?

a. a
b. r
c. w
d. p

With regard to the max_service_check_spread option in the Nagios.cfg file, what is the default value?

a. 10 minutes
b. 20 minutes
c. 30 minutes
d. 60 minutes

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.

This question is based upon the figure shown below
This service will generate alerts if the SSH server does not respond:

a. within 5 seconds.
b. within 8 seconds.
c. within 10 seconds.
d. within 15 seconds.

Which of the following commands is used to carry back the value(s) or signal of actions that are directed by the SNMP Manager?

a. SET
b. TRAPS
c. INFORM
d. RESPONSE

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

a. o
b. s
c. d
d. u

SSH uses which type of cryptography for authentication?

a. Secret key cryptography
b. Public key cryptography
c. Hash function
d. None of the above.

In relation to configuring the Nagios server to send mail notifications, which of the following are the correct options for the service_notification_options directive that can be used for defining the service states, for which, notifications can be sent out to a contact?

a. w
b. u
c. f
d. d

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.

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

a. True
b. False

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

This question is based upon the figure shown below
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.

With regard to the execute_service_checks option in the Nagios.cfg file, which of the following options are the valid values that can be used?

a. TRUE
b. FALSE
c. 0
d. 1
e. -1

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.

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.

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.

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.

With regard to NCPA API, which of the following are the correct options for the aggregate parameter of the cpu standard module?

a. avg
b. min
c. max
d. count

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

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.

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

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

a. Yes
b. No

In relation to the Nagios.cfg file, which of the following statements are correct?
1. The Object Cache File directive is used for specifying a file in which a cached copy of object definitions should be stored.
2. The cache file is created only once when the Nagios is started for the first time.
3. Cache file is used by the CGIs.

a. All 1, 2 and 3 are correct.
b. Only 1 and 2 are correct.
c. Only 2 and 3 are correct.
d. Only 1 and 3 are correct.

In relation to Extended Host Information Definition, the vrml_image variable is used to define the names of which of the following types of images that should be associated with the host?
1. JPG
2. GIF
3. PNG

a. All 1, 2 and 3.
b. Only 1 and 2.
c. Only 1 and 3.
d. Only 2 and 3.

In order to receive IPv6 SNMP traps on CentOS 6.x, the following line is replaced with which of the given lines?
OPTIONS="-Lsd -p /var/run/snmptrapd.pid"

a. OPTIONS="udp:162 udp6:162"
b. OPTIONS="-udp:162 udp6:162 -p /run/snmptrapd.pid"
c. OPTIONS="-Lsd udp:162 udp6:162 -p /var/run/snmptrapd.pid"

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

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

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

In relation to monitoring hosts using SSH, which of the following options are mandatory to monitor the remote Linux/Unix server by using the check_by_ssh plugin?
1. Nagios user must be created.
2. Nagios plugins and/or monitoring scripts must be installed.
3. SSH daemon must be installed and configured.

a. All 1, 2 and 3.
b. Only 1 and 2.
c. Only 2 and 3.
d. Only 1 and 3.

Which of the following SNMP versions provides user-based security?

a. SNMP v1
b. SNMP v2c
c. SNMP v2
d. SNMP v3

While working with Ubuntu 14.04, which of the following are the valid commands that can be used to create a user named nagios and a group named gpcmd, and to add the user to the group?

a. sudo user-add nagios
sudo group-add gpcmd
sudo usermod -a -G gpcmd nagios
b. sudo add-user nagios
sudo add-group gpcmd
sudo usermod -n -G gpcmd nagios
c. sudo adduser nagios
sudo addgroup gpcmd
sudo usermod -n -G gpcmd nagios
d. sudo useradd nagios
sudo groupadd gpcmd
sudo usermod -a -G gpcmd nagios

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

In relation to enabling the NRPE listener in NSClient++ 0.4.x, which of the following statements are correct about using check_nrpe instead of check_nt?
1. The built-in memory/disk/CPU checks are more flexible and customizable.
2. The CheckExternalScripts module can execute Perl, Python and PowerShell scripts.
3. It uses SSL.

a. All 1, 2 and 3.
b. Only 1 and 2.
c. Only 1 and 3.
d. Only 2 and 3.

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.

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.

Nagios XI, by default, rotates through different views that are defined by a user. In order to adjust the speed of rotation, what can be the maximum speed?

a. 20 seconds
b. 40 seconds
c. 60 seconds
d. 90 seconds

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.

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

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

a. True
b. False

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

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.

Which of the following is/are the correct key functions of an SNMP Manager?

a. It is used for querying agents.
b. It is used for setting variables in agents.
c. It is used for getting response from agents.
d. It is used for storing and retrieving management information as defined in the MIB

Nagios Skills Test Upwork 2019