150 Questions | Grade A | Pass Guaranteed - A+
Graded
SECTION 1: Zabbix Agent Configuration & Monitoring (Q1-Q20)
Q1: In zabbix_agentd.conf, which parameter specifies the Zabbix server IP addresses
that a passive agent will accept connections from?
A. ServerActive
B. Server [CORRECT]
C. ListenIP
D. Hostname
Correct Answer: B
Rationale: The Server parameter defines the IP addresses or DNS names of Zabbix
servers allowed to connect to the passive agent for polling. ServerActive is used for
active agent configuration to define where the agent pushes data, while ListenIP
controls which local interface the agent binds to.
Q2: A Zabbix administrator needs to configure an active agent to send data to a Zabbix
proxy at 192.168.1.50. Which configuration parameter and port combination should be
used?
A. Server=192.168.1.50:10050
B. ServerActive=192.168.1.50:10051 [CORRECT]
C. ServerActive=192.168.1.50:10050
D. Server=192.168.1.50:10051
Correct Answer: B
Rationale: Active agents use the ServerActive parameter to define the Zabbix server or
proxy IP and port 10051 for data submission. Passive agents use port 10050 for
incoming connections, while Server= without a port defaults to the passive check
listener.
,Q3: Which item key would you use to monitor the number of running Apache httpd
processes on a Linux host?
A. proc.cpu.util[httpd]
B. proc.num[httpd] [CORRECT]
C. proc.mem[httpd]
D. system.proc.count[httpd]
Correct Answer: B
Rationale: The proc.num[] key counts the number of processes matching the specified
name, making it ideal for monitoring running process counts. proc.cpu.util and
proc.mem measure CPU and memory usage respectively, while system.proc.count is
not a valid Zabbix agent key.
Q4: When configuring TLS PSK encryption for a Zabbix agent, which two parameters
must be set in zabbix_agentd.conf?
A. TLSConnect=unencrypted and TLSAccept=unencrypted
B. TLSConnect=psk and TLSPSKFile=/path/to/file [CORRECT]
C. TLSCAFile=/path/to/ca and TLSCertFile=/path/to/cert
D. TLSAccept=cert and TLSKeyFile=/path/to/key
Correct Answer: B
Rationale: For PSK encryption, TLSConnect or TLSAccept must be set to psk, and
TLSPSKFile must point to the PSK identity file. Certificate-based encryption requires
TLSCAFile, TLSCertFile, and TLSKeyFile, while unencrypted mode disables TLS entirely.
Q5: A custom check needs to execute /usr/local/bin/check_custom.sh with a user
parameter. What is the correct syntax in zabbix_agentd.conf?
A. UserParameter=custom.check,/usr/local/bin/check_custom.sh [CORRECT]
B. UserParameter=custom.check[],/usr/local/bin/check_custom.sh $1
C. UserParameter=custom.check,/usr/local/bin/check_custom.sh $1
D. UserParameter[]=custom.check,/usr/local/bin/check_custom.sh
Correct Answer: A
Rationale: The basic UserParameter syntax is UserParameter=key,command. Adding [*]
creates a flexible parameter that accepts arguments passed as $1, $2, etc. Option A
shows the correct simple syntax without parameters.
,Q6: Which Zabbix Agent 2 plugin parameter would you configure to set a custom
timeout for PostgreSQL monitoring?
A. Plugins.PostgreSQL.Timeout=30 [CORRECT]
B. Plugins.Postgres.Timeout=30
C. Timeout.PostgreSQL=30
D. Plugin.PostgreSQL.Timeout=30
Correct Answer: A
Rationale: Zabbix Agent 2 uses the Plugins.<PluginName>
Q7: An administrator notices that active checks are failing with "cannot send list of
active checks to server: host [WebServer01] not found." What is the most likely cause?
A. The agent's ListenPort is set to 10051
B. The agent's Hostname parameter does not match the host name in Zabbix frontend
[CORRECT]
C. The Server parameter is missing from the configuration
D. The agent is configured for passive checks only
Correct Answer: B
Rationale: For active checks, the agent's Hostname must exactly match the host name
configured in the Zabbix frontend. If they differ, the server cannot associate the
incoming data with the correct host. Passive checks use the Server parameter, while
ListenPort 10051 is incorrect for agents.
Q8: Which parameter in zabbix_agentd.conf controls the maximum number of incoming
passive check connections that can be processed simultaneously?
A. MaxConnections
B. ListenBacklog
C. StartAgents [CORRECT]
D. MaxListeners
Correct Answer: C
Rationale: StartAgents defines how many pre-forked agent processes handle passive
checks, effectively controlling concurrent passive check processing. MaxConnections is
not a standard agent parameter, and ListenBacklog controls the TCP backlog queue, not
simultaneous processing.
Q9: Which item key syntax correctly monitors inbound network traffic on interface eth0
in bytes per second?
, A. net.if.in[eth0,bytes] [CORRECT]
B. net.if.in[eth0]
C. net.if.in[eth0,packets]
D. net.if.traffic[eth0,in]
Correct Answer: A
Rationale: The net.if.in[] key accepts the interface name and mode (bytes or packets) as
parameters. Specifying bytes provides the byte counter, while packets returns packet
counts. net.if.traffic is not a valid Zabbix agent key.
Q10: To enable both passive and active PSK-encrypted connections on a Zabbix agent,
which TLSAccept value should be configured?
A. TLSAccept=psk [CORRECT]
B. TLSAccept=cert
C. TLSAccept=psk,cert
D. TLSAccept=unencrypted,psk
Correct Answer: A
Rationale: TLSAccept=psk enables PSK-encrypted incoming connections for passive
checks. To accept multiple connection types, comma-separated values are used, but
since the requirement is only PSK for both directions, TLSAccept=psk is sufficient when
combined with TLSConnect=psk for active checks.
Q11: A Zabbix agent is installed on a Windows server. Which item key monitors the
percentage of free space on the C: drive?
A. vfs.fs.size[C:,free]
B. vfs.fs.size[C:,pfree] [CORRECT]
C. vfs.fs.free[C:]
D. vfs.fs.size[C:,total]
Correct Answer: B
Rationale: vfs.fs.size[] with the pfree parameter returns the percentage of free space on
the specified filesystem. The free parameter returns absolute bytes, total returns total
bytes, and vfs.fs.free is not a valid Zabbix agent key.
Q12: Which Zabbix Agent 2 configuration parameter disables the built-in Smart plugin?
A. Plugins.Smart.System.Path=
B. Plugins.Smart.Enabled=false [CORRECT]