Courseiva

200-901 Cisco Platforms and Development Practice Question

Which EEM applet action is used to execute a CLI command when an event triggers?

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 cli command "..."

EEM uses 'action' with a sequence number and 'cli' keyword to execute commands.

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 event "..."

    Why it's wrong here

    The event action defines the trigger that starts the applet, not the response to it. It is tempting because every applet needs an event clause, but the question asks which action executes a CLI command once triggered, and event only registers the trigger condition.

  • ✗

    action 1.0 set 1.0 "..."

    Why it's wrong here

    The set action assigns a value to an EEM variable; it does not push a CLI command to the device. It is tempting because set is used to build strings that later actions consume, but executing the command itself requires the cli action, which set cannot substitute.

  • ✓

    action 1.0 cli command "..."

    Why this is correct

    The `action 1.0 cli command` statement runs an EXEC-mode CLI command when the applet's event fires, satisfying the requirement to execute a command on trigger. The `cli` keyword specifies the action type, while `command` supplies the exact string to run, distinguishing it from other actions such as `syslog` or `reload`.

  • ✗

    action 1.0 syslog msg "..."

    Why it's wrong here

    The syslog action writes a message to the logging buffer; it never enters configuration or exec mode to run a command. It is tempting because syslog is the standard way to record that an event fired, but the scenario needs the CLI command executed, which only the cli action performs.

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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.