350-001 · Question #92
Refer to the exhibit. Which output will the EEM applet in the exhibit produce?
The correct answer is C. The output of show log will be executed every 5 days. The EEM applet uses a timer event configured with a days value of 5, causing the 'show log' action to execute once every 5 days.
Question
Refer to the exhibit. Which output will the EEM applet in the exhibit produce?
Exhibit
Options
- AThe output of show version will be executed every 5 hours.
- BThe output of show log will be executed every 5 hours.
- CThe output of show log will be executed every 5 days.
- DThe output of show log will be executed every 5 minutes.
How the community answered
(42 responses)- A12% (5)
- B7% (3)
- C79% (33)
- D2% (1)
Why each option
The EEM applet uses a timer event configured with a days value of 5, causing the 'show log' action to execute once every 5 days.
The action command executes 'show log', not 'show version', so no version output is produced.
While the command is 'show log', the interval is 5 days, not 5 hours, as determined by the timer unit configured in the event statement.
In the exhibited EEM applet, the timer event is configured with a period expressed in days (value 5), so the applet wakes up and runs the 'action cli command show log' every 5 days. The specific timer keyword and unit (days) in the event statement determines the execution frequency, distinguishing it from minutes or hours variants.
A 5-minute interval would require the timer period to be set to 300 seconds or use a 'minutes' unit; the exhibit specifies a days-based timer.
Concept tested: EEM timer event period configuration and CLI action
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/eem/configuration/15-mt/eem-15-mt-book/eem-policy-tcl.html
Topics
Community Discussion
No community discussion yet for this question.
