Cisco
350-601 · Question #409
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 'NSK-Spine-2': `1498323434' element to the switch_id
Sign in or unlock 350-601 to reveal the answer and full explanation for question #409. The question stem and answer options stay visible for context.
Automation
Question
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 'NSK-Spine-2': `1498323434' element to the switch_id list dictionary?
Exhibit
Options
- Aswitch_id_list += {"N9K-Spine-2": "1498323434"}
- Bswitch_id_list = ["N9K-Spine-2": "1498323434"]
- Cswitch_id_list.append({"N9K-Spine-2": "1498323434"})
- Dswitch_id_list.update({"N9K-Spine-2": "1498323434"})
Unlock 350-601 to see the answer
You've previewed enough free 350-601 questions. Unlock 350-601 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Python#Dictionaries#Data Structures#Automation Scripting
