exam questions

Exam 350-601 All Questions

View all questions & answers for the 350-601 exam

Exam 350-601 topic 1 question 226 discussion

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


Refer to the exhibit. Which command needs to be added to the line starting with the `file` keyword to have the generated running-config file with the name 'fusion- config_' and current date?

  • A. str.('fusion-config_') + date
  • B. ('fusion-config_') + date
  • C. ('fusion-config_ + date')
  • D. string(('fusion-config_') + date
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
See below for an example:
nxos9kv# python
Python 2.7.11 (default, Feb 26 2018, 03:34:16)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> import cli
>>> date = time.strftime('%Y%m%d')
>>> file = ("fusion-config_') + date
>>> print(file)
fusion-config_20210329
>>> print('copy running-config ftp://10.183.249.182/FusionSW/' + file) copy running-config ftp://10.183.249.182/FusionSW/fusion-config_20210329

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
GuyThatTakesDumps
7 months, 4 weeks ago
Selected Answer: B
B is correct!
upvoted 1 times
...
mendieta
11 months, 3 weeks ago
B might be the right one, parenthesis are not needed but i think they do no harm.
upvoted 2 times
...
mauchi
1 year ago
the dot after str should not really be there...
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 ...