An engineer implements a Python script inside a Cisco Bash shell. The script contains this dictionary object: Which command must be used to add the 'N9K-Spine-2': '1498323434' element to the switch_id list dictionary?

QuestionsCategory: 350-601An engineer implements a Python script inside a Cisco Bash shell. The script contains this dictionary object: Which command must be used to add the 'N9K-Spine-2': '1498323434' element to the switch_id list dictionary?
Admin Staff asked 4 months ago
An engineer implements a Python script inside a Cisco Bash shell. The script contains this dictionary object:
 Image
Which command must be used to add the 'N9K-Spine-2': '1498323434' element to the switch_id list dictionary?

A. switch_id_list += {ג€N9K-Spine-2ג€: ג€1498323434ג€}

B. switch_id_list = [ג€N9K-Spine-2ג€: ג€1498323434ג€]

C. switch_id_list.append({ג€N9K-Spine-2ג€: ג€1498323434ג€})

D. switch_id_list.update({ג€N9K-Spine-2ג€: ג€1498323434ג€})








 

Suggested Answer: C



This question is in 350-601 DCCOR exam 
For getting CCNP Data Center Certificate


Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Cisco.
Trademarks, certification & product names are used for reference only and belong to Cisco.

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.