nerdexam
Cisco

350-601 · Question #441

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?

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…

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?

Exhibit

350-601 question #441 exhibit

Options

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

How the community answered

(49 responses)
  • A
    8% (4)
  • B
    86% (42)
  • C
    4% (2)
  • D
    2% (1)

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 Practice