exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 908 discussion

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

Which configuration saves the running configuration to the startup configuration and logs a “saving configuration automatically” message when a syslog message that contains “SYS-5-CONFIG_I” is received?

  • A.
  • B.
  • C.
  • D.
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
bigyan_jhapaca4
Highly Voted 1 year, 1 month ago
All options are wrong Option C could be correct if action 1.0 has enable instead of end action 1.0 cli command "enable"
upvoted 8 times
99a6054
1 year, 1 month ago
I think C is right. Switch has to go to user exce mode for the 'wr mem' to work. 'end' will take to user exec mode directly from other modes.
upvoted 6 times
[Removed]
1 year ago
You need to have an enable first as bigyan said, I've done this before and you should start with action 1.0 cli command "enable".
upvoted 2 times
...
...
...
[Removed]
Highly Voted 8 months, 3 weeks ago
Selected Answer: C
C is the correct answer "SYS-5-CONFIG_I" This pattern appears when you do a config change in the conf t mode. so the purpose of this script is to save the running config every time someone changes any configuration. and also this pattern will only appear when the configuration has been made through an interactive session "_I". so after we concluded that this pattern appeared in conf t we can all agree that the script needs to use the command "end" before applying the save running command
upvoted 5 times
...
christiannomarcenes
Most Recent 4 days, 15 hours ago
Selected Answer: D
For me... option C and D are correct doing the same thing (tested EVE-NG)... but we have to choose one.. For me I will go with D because if we have 2 users configuring and one of them exits the conf mode, option C will close the conf mode for the 2nd user.
upvoted 1 times
...
abrielirus123
1 week, 3 days ago
Selected Answer: D
See for yourself: R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#event manager applet save_config R1(config-applet)#event syslog pattern "%SYS-5-CONFIG_I" period 1 R1(config-applet)#action 1.0 cli command "write mem" R1(config-applet)#action 2.0 syslog msg "saving configuration automatically" R1(config-applet)#exit R1(config)#end R1# *Feb 12 21:20:49.811: %SYS-5-CONFIG_I: Configured from console by console R1# *Feb 12 21:20:49.948: %HA_EM-6-LOG: save_config: saving configuration automatically R1# R1#sh event manager history events No. Job Id Proc Status Time of Event Event Type Name 1 1 Actv success Wed Feb12 21:20:49 2025 syslog applet: save_config
upvoted 2 times
...
MKhalid
3 months, 3 weeks ago
Selected Answer: D
A: Wrong --- There is no event track command B: Wrong --- There is no string match command C: Wrong --- No inverted commas after the command in action 2.0 D: Correct --- Tested in the lab environment. Note: "enable" command not required because the prompt is already in privilege mode when "SYS-5-CONFIG_I" message appears.
upvoted 4 times
...
ferdomravec87
4 months ago
This would be soo much better question if one answer would have "do write mem" to solve this end/enable discussion.
upvoted 1 times
...
chiacche
5 months ago
event manager applet save_config event syslog pattern "SYS-5-CONFIG_I" #this pattern appears when you do a config change in the conf t mode. action 1.0 cli command "enable" #Enter privileged mode action 2.0 cli command "wr me" #Save the current conf action 3.0 syslog msg "saving configuration automatically" #send a syslog message
upvoted 1 times
...
Shri_Fcb10
9 months ago
all option are wrong it should be as below according to my understanding event manager applet SaveConfig event syslog pattern "SYS-5-CONFIG_I" action 1.0 cli command "enable" action 2.0 cli command "copy running-config startup-config" action 3.0 syslog msg "saving configuration automatically"
upvoted 1 times
...
Swiz005
9 months ago
Selected Answer: C
Answer should be C, the others don't make complete sense
upvoted 2 times
...
Adalberto
9 months, 3 weeks ago
Selected Answer: A
A is the Answear. Computer says.
upvoted 2 times
...
IgorLVG
10 months, 2 weeks ago
a data taht is usefull "SYS-5-CONFIG_I" is activated when someone enter the command "conf term", so for wri mem you neeed to "back" to enable
upvoted 3 times
IgorLVG
10 months, 2 weeks ago
soory, my bad... if you see "SYS-5-CONFIG_I" you have returned form condf term to enable level (exit ussually) so the "end" is not needed (if you use "end" in enable level, the equipment will try toi find the domain). So, the answer would be D
upvoted 2 times
...
...
yinnymac
11 months, 1 week ago
Selected Answer: D
The syslog pattern would be triggered after someone exited from configuration mode (using end or exit). So no need for action 'end' and no need to 'enable' as it would already be enabled.
upvoted 2 times
...
slacker_at_work
11 months, 2 weeks ago
Agree with all of you, C is then the best of the worst event manager applet save_config event syslog pattern "SYS-5-CONFIG_I" period 1 action 1.0 cli command "enable" action 2.0 cli command "wr mem" action 3.0 syslog msg "saving config"
upvoted 3 times
...
Luiggi
1 year, 1 month ago
bigyan are absolutely right, i've tested on eve and only worked after put command "enable" first
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