200-901 Cisco Platforms and Development Practice Question
An EEM applet is triggered when a specific syslog message pattern appears. Which action should be used to send a custom syslog message?
⚠ Common exam trap
The trap is that candidates might confuse CLI command actions with syslog actions, or use incorrect syntax like 'set _syslog_msg'; the exam tests knowledge of EEM action keywords.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
action 1.0 syslog msg "Custom event occurred"
In an EEM applet, to send a custom syslog message, the correct action is 'action 1.0 syslog msg "Custom event occurred"'. This action explicitly generates a syslog message with the specified text. It is the standard way to emit a custom syslog from EEM.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
action 1.0 cli command "show logging"
Why it's wrong here
The cli command action executes an EXEC-mode command and returns its output to the applet; it does not emit a syslog message. It is tempting because cli command is the standard action for running show commands and capturing their output for pattern matching or logging elsewhere.
- ✓
action 1.0 syslog msg "Custom event occurred"
Why this is correct
The syslog action within an EEM applet emits a custom message to the logging facility. Specifying action 1.0 syslog msg with the text string generates the custom syslog output when the applet's pattern match triggers.
- ✗
action 1.0 info type routername
Why it's wrong here
The info action retrieves built-in EEM information such as the router name into a variable; it does not publish anything to the syslog stream. It is tempting because info actions commonly populate variables that subsequent actions, including syslog output, then reference.
- ✗
action 1.0 set 1.0 _syslog_msg "Custom event"
Why it's wrong here
The set action assigns a value to a variable, and _syslog_msg is not a valid EEM built-in variable, so no syslog message is generated. The set action is correctly used to store values for later actions, such as building strings passed to a mail or syslog action.
About these practice questions
One of 975 original 200-901 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Cisco exam blueprint
This 200-901 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-901 exam.