nerdexam
CiscoCisco

350-601 · Question #441

350-601 Question #441: Real Exam Question with Answer & Explanation

The correct answer is B: ('fusion-config_') + date. See below for an example: 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. >>> date = time.strftime('%Y%m%d') >>> file = ("fusion-config_') + date fusion-config_20210329 >>> print('copy run

Automation

Question

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?

Options

  • Astr.('fusion-config_') + date
  • B('fusion-config_') + date
  • C('fusion-config_ + date')
  • Dstring(('fusion-config_') + date

Explanation

See below for an example: 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. >>> date = time.strftime('%Y%m%d') >>> file = ("fusion-config_') + date 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

Topics

#Network Automation#Configuration Management#Scripting#Dynamic Filenaming

Community Discussion

No community discussion yet for this question.

Full 350-601 PracticeBrowse All 350-601 Questions