nerdexam
Cisco

350-401 · Question #39

Refer to the exhibit. Which two statements about the EEM applet configuration are true? (Choose two.)

The correct answer is A. The EEM applet runs before the CLI command is executed. D. The running configuration is displayed only if the letter Y is entered at the CLI.. EEM Applet Configuration Explanation Option A is correct because the event cli pattern trigger uses the sync yes keyword, which causes the EEM applet to execute before the matched CLI command is processed - this is the "synchronous" mode that intercepts the command first. Option

Submitted by tunde_lagos· Mar 6, 2026Automation

Question

Refer to the exhibit. Which two statements about the EEM applet configuration are true? (Choose two.)

Exhibits

350-401 question #39 exhibit 1
350-401 question #39 exhibit 2

Options

  • AThe EEM applet runs before the CLI command is executed.
  • BThe EEM applet runs after the CLI command is executed.
  • CThe EEM applet requires a case-insensitive response.
  • DThe running configuration is displayed only if the letter Y is entered at the CLI.

How the community answered

(25 responses)
  • A
    76% (19)
  • B
    8% (2)
  • C
    16% (4)

Explanation

EEM Applet Configuration Explanation

Option A is correct because the event cli pattern trigger uses the sync yes keyword, which causes the EEM applet to execute before the matched CLI command is processed - this is the "synchronous" mode that intercepts the command first. Option D is correct because the applet uses an action that prompts the user for input and only proceeds to display the running configuration if "Y" is entered, acting as a confirmation gate.

Why B is wrong: The sync yes parameter specifically means the applet fires before the CLI executes, not after - if sync no were used, it would run afterward. Why C is wrong: The applet uses a case-sensitive pattern match by default; without the nocase keyword, only an uppercase "Y" would satisfy the condition, not "y."

Memory Tip: Think of "sync = intercept" - sync yes means the EEM applet synchronizes ahead of the command, like a security guard stopping you before you enter a door, not after. Also remember: no nocase = case-sensitive in EEM pattern matching.

Topics

#EEM#CLI event#Automation scripting#Conditional execution

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice