exam questions

Exam 350-601 All Questions

View all questions & answers for the 350-601 exam

Exam 350-601 topic 1 question 215 discussion

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

An engineer enters these commands while in EEM on a Cisco Nexus 9000 Series Switch event manager applet Backup-config event timer watchdog time 1800 name timer event cli match "copy running-config startup-config"
What is the result of applying this configuration?

  • A. It generates an error because no action is mentioned.
  • B. It executes the copy running-config startup-confing command.
  • C. It saves the running configuration every 1800 seconds.
  • D. It blocks the copy running-config startup-config command.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
makilirai
Highly Voted 4 years, 7 months ago
Isn't it D? From the book "If you want to allow the triggered event to process any default actions, you must configure the EEM policy to allow the default action. For example, if you match a CLI command in a match statement, you must add the event-default action statement to the EEM policy; otherwise, EEM will not allow the CLI command to execute."
upvoted 17 times
RTL_dude
3 years, 2 months ago
Indeed, tested it with a 9000v image: SwitchA# sh ver | inc image NXOS image file is: bootflash:///nxos.7.0.3.I7.10.bin SwitchA# conf t Enter configuration commands, one per line. End with CNTL/Z. SwitchA(config)# event manager applet Backup-config SwitchA(config-applet)# event timer watchdog time 1800 name timer Configuration accepted successfully SwitchA(config-applet)# event cli match "copy running-config startup-config" SwitchA(config-applet)# end SwitchA# copy running-config startup-config % Command blocked by event manager policy
upvoted 3 times
...
...
Daeh
Highly Voted 3 years, 9 months ago
Correct answer is D. Tested in my lab. Once you apply this configuration you will not be able to run the "copy running-config startup-config" because it will get blocked since this event doesn't have an action. A is incorrect. "Applying" this configuration will not generate an error.
upvoted 5 times
...
Rollizo
Most Recent 8 months, 1 week ago
Selected Answer: D
“If you want to allow the triggered event to process any default actions, you must configure the EEM policy to allow the default action. For example, if you match a CLI command in a match statement, you must add the event-default action statement to the EEM policy; otherwise, EEM will not allow the CLI command to execute.”
upvoted 1 times
...
CoAsT_x
11 months, 1 week ago
Selected Answer: D
Wow, these comments are hilarious. It is literally D. It is even in black and white when you click the show answer and gives an explanation with verified lab evidence: "% Command blocked by event manager policy" There is even a user below that ran it in their lab and still suggests "A" while their output has the "% Command blocked by event manager policy" at the end of his output. :) Answer is D.
upvoted 1 times
...
groblok
1 year, 4 months ago
Selected Answer: A
If an action is not explicitly specified in an EEM (Embedded Event Manager) applet, the default behavior can vary depending on the platform and the specific configuration. In some cases, if no action is defined, the EEM applet may have a minimal or default response, such as logging the event or generating a message indicating that the event was triggered.
upvoted 1 times
...
GuyThatTakesDumps
2 years, 7 months ago
Selected Answer: D
D is the one!
upvoted 1 times
...
7korn7
2 years, 7 months ago
Selected Answer: D
It blocks the copy running-config startup-config command.
upvoted 1 times
...
jquesada
3 years, 4 months ago
D is the right answer, I've tested it on the lab
upvoted 2 times
...
MaxG
3 years, 7 months ago
Answer is D. event timer command triggers an event if the specified time is reached. The range for the time is from 1 to 4294967295. • absolute time—Triggers an event when the specified absolute time of day occurs. • countdown time—Triggers an event when when the specified time counts down to zero. The timer does not reset. • cron cronentry—Triggers an event when the CRON string specification matches the current time. • watchdog time—Triggers an event when the specified time counts down to zero. The timer automatically resets to the initial value and continues to count down. If you want to allow a triggered event to process any default actions, you must configure the EEM policy to allow the default action. For example, if you match a CLI command in a match statement, you must add the event-default action statement to the EEM policy or EEM will not allow the CLI command to execute.
upvoted 2 times
...
masal
3 years, 7 months ago
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/6-x/system_management/configuration/guide/b_Cisco_Nexus_9000_Series_NX-OS_System_Management_Configuration_Guide/sm_12eem.html if there is no action statement no action is taken an NO notificationsa ara generated. so answer is NOT A.
upvoted 1 times
...
poboxofj
4 years, 1 month ago
A - is correct answer. switch# show run | i event event manager applet Backup-config event cli match "copy running-config startup-config" action 1 event-default switch# switch# copy run start [########################################] 100% Copy complete, now saving to disk (please wait)... Copy complete. switch# conf t Enter configuration commands, one per line. End with CNTL/Z. switch(config)# event manager applet Backup-config switch(config-applet)# no action 1 switch(config-applet)# end switch# show run | i event event manager applet Backup-config event cli match "copy running-config startup-config" switch# copy run start % Command blocked by event manager policy switch#
upvoted 2 times
diogodesantos
4 years, 1 month ago
Thanks for testing... So it means the correct could also be "D" since it´s not only generating an error, but it´s also blocking the command to be executed.. tricky
upvoted 3 times
...
AdamsSmith
4 years ago
Hi poboxofj, could you make the test using "event timer watchdog time 1800 name timer" in the policy. may the behaviour become different when watchdog timer is being used
upvoted 1 times
...
...
tazerman
4 years, 1 month ago
i have created many EEM scripts and the answer A is correct through process of elimination. the EEM needs an action or nothing happens. im not sure if an error is created because mine work but its not any of the other answers. also, if you look at the match command, its not an action but a match so i cant see how any of the other answers are correct.
upvoted 1 times
g_kuchima
2 years, 3 months ago
If you want to allow a triggered event to process any default actions, you must configure the EEM policy to allow the default action. For example, if you match a CLI command in a match statement, you must add the event-default action statement to the EEM policy or EEM will not allow the CLI command to execute.
upvoted 1 times
...
...
ciscochick
4 years, 7 months ago
Actually, had a closer look at this and the answer is A - no action statement is configured - just two trigger events - ie the timer expiring and someone typing copy run st.
upvoted 1 times
...
Kondogbia3
4 years, 7 months ago
It should be C
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