An administrator finds that the monitoring platform at 192.0.2.50 is not receiving any notifications from a Linux server running Net-SNMP. The current /etc/snmp/snmpd.conf file contains the line:
trapsink 192.0.2.50 moncomm
The operations team confirms that the collector only accepts SNMP version 2c trap messages (not informs) that use the community string "moncomm." Which single directive should replace the existing line so the server sends the required notifications?
The trap2sink directive is designed specifically to send SNMPv2c TRAP messages to the indicated host. Replacing the trapsink line with "trap2sink 192.0.2.50 moncomm" instructs snmpd to generate version 2c traps with the correct community string.
trapsink sends SNMPv1 traps, so the collector will still reject them.
informsink generates SNMPv2c INFORM notifications, which the collector does not accept.
trapsess with the given options attempts to build an SNMPv3 session, so the message format and security model would not match the collector's expectations. Therefore, trap2sink is the only directive that meets all stated requirements.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the difference between SNMP traps and informs?
Open an interactive chat with Bash
What is the significance of the 'trap2sink' directive in SNMP?
Open an interactive chat with Bash
Why does the SNMPv3 trapsess directive not work in this scenario?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
Troubleshooting
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .