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
Question
Refer to the exhibit. Which two statements about the EEM applet configuration are true? (Choose two.)
Exhibits
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)- A76% (19)
- B8% (2)
- C16% (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 yesmeans the EEM applet synchronizes ahead of the command, like a security guard stopping you before you enter a door, not after. Also remember: nonocase= case-sensitive in EEM pattern matching.
Topics
Community Discussion
No community discussion yet for this question.

