CiscoCisco
350-401 · Question #1321
350-401 Question #1321: Real Exam Question with Answer & Explanation
Sign in or unlock 350-401 to reveal the answer and full explanation for question #1321. The question stem and answer options stay visible for context.
Submitted by ashley.k· Mar 6, 2026Software Development and Design - Working with data formats (JSON) and Python file handling for network automation and programmability (DEVASC / ENCOR)
Question
Refer to the exhibit. Which Python snippet stores the data structure of the device in JSON- formatted file? A. B. C. D.
Options
- Awith open("devices.json", "w") as OutFile: Devices = json.load(OutFile)
- BOutFile = open("devices.json", "w") json.dump(Devices, OutFile) OutFile.close()
- Cwith open("devices.json", "w") as OutFile: json.dumps(Devices)
- DOutFile = open("devices.json", "w") OutFile.write(str(Devices)) OutFile.close()
Unlock 350-401 to see the answer
You've previewed enough free 350-401 questions. Unlock 350-401 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 JSON#File I/O#json.dump vs json.dumps#Data Serialization