CiscoCisco
350-401 · Question #852
350-401 Question #852: Real Exam Question with Answer & Explanation
Sign in or unlock 350-401 to reveal the answer and full explanation for question #852. The question stem and answer options stay visible for context.
Submitted by ashley.k· Mar 6, 2026Software Development and Design – Consume REST-based APIs using Python scripts to interact with network infrastructure APIs (e.g., Cisco DNA Center / DNAC)
Question
Based on the router's API output in JSON format below, which Python code will display the value of the "role" key? A. B. C. D.
Options
- Ajson_data = json.loads(response.text) print(json_data['response'][0]['family']['role'])
- Bjson_data = response.json() print(json_data['response'][0]['role'])
- Cjson_data = response.json() print(json_data['response'][0]['family']['role'])
- Djson_data = json.loads(response.text) print(json_data['response'][0]['role'])
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#REST API#JSON Parsing#Requests Library