Refer to the exhibit. A Python script has been created that calls the Cisco SD-WAN vManage Device Inventory API to get the list of vEdges. The JSON data that returns to a Python dictionary has been converted and assigned to a variable named "d". A portion of the JSON is shown in the exhibit. Which code will complete the expression hostname= to access the hostname?
A) d["data"][0]["host-name"]
B) d[data][0][host-name]
C) d("data") [0]("host-name")
D) d["host-name"]["data"]{"0"}
Correct Answer:
Verified
Q22: A network administrator must troubleshoot a network
Q23: The Cisco DNA Center Sites API must
Q24: When accessing the /device-detail endpoint in Cisco
Q25: Webhooks that are generated by Cisco DNA
Q26: Q28: In which direction does the Cisco DNA Q29: During a network outage, a network administrator
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents