Correct Answer: D
Explanation/Reference:
Explanation:
The CLI event detector screens CLI commands for a regular expression match. When a match is found, an event is published. The match logic is performed on the fully expanded CLI command after the command is successfully parsed and before it is executed. The CLI event detector supports three publish modes:
Synchronous publishing of CLI events--The CLI command is not executed until the EEM policy exits, and the EEM policy can control whether the command is executed. The read/write variable,
_exit_status, allows you to set the exit status at policy exit for policies triggered from synchronous events.
If _exit_status is 0, the command is skipped, if _exit_status is 1, the command is run.
Reference: http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/eem/command/eem-cr-book/eem-cr- e1.html