Courseiva
mediumMultiple ChoiceObjective-mapped

300-410 Practice Question: Consider the following EEM applet configuration:…

Consider the following EEM applet configuration:

!--- event manager applet INTERFACE_DOWN event syslog pattern "%LINEPROTO-5-UPDOWN" action 1.0 if $syslog_severity eq 5 action 2.0 cli command "enable" action 3.0 cli command "clear counters" !---

What will happen when a syslog message matching the pattern is generated?

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

The applet will execute the CLI commands unconditionally because the 'if' action is misconfigured.

The applet uses an 'if' action to check the syslog severity. If the severity is 5 (notification), the CLI commands are executed. However, the 'if' action is not closed with an 'end' statement, which is required. As a result, the applet will encounter a syntax error and may not execute correctly, or the CLI commands may be executed unconditionally depending on the IOS version.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The applet will execute the CLI commands only if the syslog severity is exactly 5.

    Why it's wrong here

    Incorrect. The 'if' action is missing the corresponding 'end' statement, causing a configuration error. The applet may not work as intended.

  • The applet will execute the CLI commands unconditionally because the 'if' action is misconfigured.

    Why this is correct

    Correct. Without the 'end' statement, the 'if' block is not properly closed, and the CLI commands will be executed regardless of the condition in many IOS versions.

  • The applet will fail to register because the 'if' action requires an 'else' clause.

    Why it's wrong here

    Incorrect. The 'if' action does not require an 'else' clause; it only requires an 'end' statement to close the block.

  • The applet will clear the counters only for the interface that generated the syslog message.

    Why it's wrong here

    Incorrect. The 'clear counters' command clears counters for all interfaces, not just the one in the syslog message.

About these practice questions

This 300-410 question is part of Courseiva's 1,966-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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 300-410 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 300-410 exam.