CompTIA Linux+ XK0-006 (V8) Practice Question

During the rollout of a new monitoring strategy, a Linux administrator creates a custom MIB module called FOO-APP-MIB so that an in-house application can be polled by SNMP. After copying FOO-APP-MIB.txt to /usr/share/snmp/mibs/, the administrator runs:

snmptranslate -IR -Tp | grep -i foo

but nothing is returned. The file passes a syntax check and resides in the default MIB directory. Which action will MOST likely allow the net-snmp utilities to recognize the module without having to specify -m or -M each time?

  • Set the MIBS environment variable to +FOO-APP-MIB (or add mibs +FOO-APP-MIB to snmp.conf) so the library preloads the module.

  • Rebuild and install the Linux kernel with SNMP MIB loader support, then reboot the server.

  • Add /usr/share/snmp/mibs to the mibdirs directive in snmp.conf and restart snmpd.

  • Run mib2c -c FOO-APP-MIB to compile the MIB into a binary database before using snmptranslate.

CompTIA Linux+ XK0-006 (V8)
Troubleshooting
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot