View all questions & answers for the Implementing Cisco Enterprise Network Core Technologies (350-401 ENCOR) Exam Materials exam
Implementing Cisco Enterprise Network Core Technologies (350-401 ENCOR) Exam Materials-Question 428 Discussion
Comments
Selected Answers: C
-
Brave-Dumps.com Admin
2026-08-07 05:29:49
C is not correct because Response.text is already JSON-formatted. Using json.dumps(Response.text) encodes the JSON again as a string, and placing the code after the loop saves only the last device. The intended answer is B.
Selected Answers: B
Selected Answers: B
Refer to the exhibit. How should the script be completed so that each device configuration is saved into a JSON-formatted file under the device name? (Choose one answer)
with open(f"Hostname.json", "w") as OutFile:
OutFile.write(Response)
with open(f"Hostname.json", "w") as OutFile:
OutFile.write(Response.text)
with open(f"Hostname.json", "w") as OutFile:
OutFile.write(json.dumps(Response.text))
with open(f"Hostname.json", "w") as OutFile:
OutFile.write(json.load(Devices))
Brave-Dump Clients Votes