CCNP 350-401 ENCOR Question 262 DISCUSSION
« Back to Main MenuWhich variable in an EEM applet is set when you use the sync yes option?
A. $_cli_result
B. $_exit_status
C. $_string_result
D. $_result
Which variable in an EEM applet is set when you use the sync yes option?
A. $_cli_result
B. $_exit_status
C. $_string_result
D. $_result
Correct Answer: B
When you use the sync yes option in the event cli command, the EEM applet runs before the CLI command is executed. The EEM applet should set the _exit_status variable to indicate whether the CLI command should be executed (_exit_status set to one) or not (_exit_status set to zero).