Courseiva
hardMultiple SelectObjective-mapped

300-410 Practice Question: Which TWO statements about EEM environment…

Which TWO statements about EEM environment variables and their scoping are true? (Choose TWO.)

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

Environment variables defined using the 'event manager environment' global configuration command are available to all EEM applets on the device.

The correct answers are A and E. Option A is correct because EEM environment variables set with the 'event manager environment' global configuration command are global and available to all applets on the device. Option E is correct because the '$_syslog_msg' variable is only populated when the applet is triggered by a syslog event; it is not available for other event types. Option B is incorrect because variables set with 'action set' within an applet are local to that applet and are not automatically shared with other applets. Option C is incorrect because the '$_cli_msg' variable, when used with 'event cli', does not contain the full command line including parameters; it only contains the command keyword. Option D is incorrect because there is no standard EEM variable '$_event_pub_sec'; the correct variable for event publish security information is '$_event_pub_sec_name' or similar, but not as described.

Answer analysis

Option-by-option breakdown

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

  • Environment variables defined using the 'event manager environment' global configuration command are available to all EEM applets on the device.

    Why this is correct

    Correct. Environment variables set globally are accessible by all applets on the device.

  • Variables set within an applet using the 'action set' command are automatically available to other applets running on the same device.

    Why it's wrong here

    Incorrect. Variables set with 'action set' within an applet are scoped locally to that applet only.

  • The '$_cli_msg' variable, when used with 'event cli', contains the full command line that triggered the event, including any parameters.

    Why it's wrong here

    Incorrect. The '$_cli_msg' variable contains only the command keyword, not the full command line with parameters.

  • The '$_event_pub_sec' variable provides the priority and severity of the event that triggered the applet.

    Why it's wrong here

    Incorrect. '$_event_pub_sec' is not a valid EEM variable; the correct variable for event publish security is '$_event_pub_sec_name' or similar.

  • The '$_syslog_msg' variable is available only when the applet is triggered by a syslog event.

    Why this is correct

    Correct. The '$_syslog_msg' variable is only available for applets triggered by syslog events.

About these practice questions

Courseiva writes every 300-410 question from scratch — 1,966 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.