Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) — Question 38
Which method creates an EEM applet policy that is registered with EEM and runs on demand or manually?
Answer options
- A. event manager applet ondemand event none action 1.0 syslog priority critical msg 'This is a message from ondemand'
- B. event manager applet ondemand action 1.0 syslog priority critical msg 'This is a message from ondemand'
- C. event manager applet ondemand event register action 1.0 syslog priority critical msg 'This is a message from ondemand'
- D. event manager applet ondemand event manual action 1.0 syslog priority critical msg 'This is a message from ondemand'
Correct answer: A
Explanation
The correct answer, A, specifies 'event none', which is necessary for creating an EEM applet that runs on demand. Option B lacks the required 'event none', while C incorrectly includes 'event register', and D uses 'event manual', both of which do not align with the requirement for on-demand execution.