exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 607 discussion

Actual exam question from Cisco's 350-401
Question #: 607
Topic #: 1
[All 350-401 Questions]

DRAG DROP -

Drag and drop the snippets onto the blanks within the code to create an EEM script that adds an entry to a locally stored text file with a timestamp when a configuration change is made. Not all options are used.



Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
nushadu
Highly Voted 2 years, 4 months ago
yes, technically it works: ! event manager applet CONF_CHANGE event syslog pattern "SYS-5-CONFIG_I" action 1.0 cli command "enable" action 2.0 cli command "show clock | append flash:confsave.txt" action 3.0 syslog priority informational msg "Configuration changed" !
upvoted 11 times
...
papagussepi
Highly Voted 1 year, 9 months ago
As it says add an entry when a configuration change is made, should the second answer be "config t" instead on "enable".
upvoted 7 times
Claudiu1
1 year, 2 months ago
no, because "action cli command" EEM commands specify which commands should be executed towards the desired results. In this case, they are "enable" to enter Privileged EXEC and "show clock | append flash:ConfSave.txt" to write to file. Entering and exiting configuration mode will indeed generate that syslog message, but that is the trigger to EEM, not the actions that should be taken.
upvoted 2 times
...
...
[Removed]
Most Recent 11 months, 2 weeks ago
correct i'm not sure about the first one i feels like it should be CLI pattern :|
upvoted 1 times
Tim1992
10 months, 1 week ago
The 'event cli pattern' option is used to specify a CLI command that is run, followed by any action(s) defined.
upvoted 2 times
...
...
Zizu007
2 years, 5 months ago
provided answer is correct.
upvoted 4 times
AndreasThornus
2 years, 4 months ago
Thanks
upvoted 3 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago