nerdexam
Cisco

350-401 · Question #680

Refer to the exhibit. A network engineer must be notified when a user switches to configuration mode. Which script should be applied to receive an SNMP trap and a critical-level log message?

The correct answer is C. action 1.0 snmp-trap strdata "Configuration change alarm". To generate an SNMP trap and a critical-level log message upon a user entering configuration mode, the applied script must explicitly include both snmp-trap and syslog priority critical actions.

Submitted by hassan_iq· Mar 6, 2026Automation

Question

Refer to the exhibit. A network engineer must be notified when a user switches to configuration mode. Which script should be applied to receive an SNMP trap and a critical-level log message?

Options

  • Aaction 1.0 snmp-trap strdata "Configuration change alarm"
  • Baction 1.0 snmp-trap strdata "Configuration change alarm"
  • Caction 1.0 snmp-trap strdata "Configuration change alarm"
  • Daction 1.0 snmp-trap strdata "Configuration change critical alarm"

How the community answered

(21 responses)
  • B
    5% (1)
  • C
    86% (18)
  • D
    10% (2)

Why each option

To generate an SNMP trap and a critical-level log message upon a user entering configuration mode, the applied script must explicitly include both `snmp-trap` and `syslog priority critical` actions.

Aaction 1.0 snmp-trap strdata "Configuration change alarm"

This option likely sends an SNMP trap but does not explicitly include `syslog priority critical` to generate a critical-level log message.

Baction 1.0 snmp-trap strdata "Configuration change alarm"

This option likely sends an SNMP trap but does not explicitly include `syslog priority critical` to generate a critical-level log message.

Caction 1.0 snmp-trap strdata "Configuration change alarm"Correct

This option correctly includes both the `snmp-trap` action, which sends an SNMP notification, and the `syslog priority critical` action, which generates a critical-level log message, thereby fulfilling both requirements of the scenario.

Daction 1.0 snmp-trap strdata "Configuration change critical alarm"

This option may send an SNMP trap but might not include the `syslog priority critical` action or may use an incorrect alarm string.

Concept tested: EEM actions for SNMP traps and syslog

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/eem/configuration/15-mt/eem-15-mt-book/eem-event-action-config.html

Topics

#Cisco EEM#SNMP traps#Syslog

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice