
CiscoCertified Network Associate Automation (CCNA Automation)
Domain 1Objective 2
2. Describe Parsing of Common Data Format (XML, JSON, and YAML) to Python Data Structures 200-901 Practice Questions (Page 1)
Part of the 1.0 Software Development and Design domain, which accounts for 15% of the 200-901 exam. Cisco does not publish an official question count, but from its 120-minute exam (~50–80 total, ~8–12 in this domain), expect 1–2 from this objective — we provide 23 practice questions to prepare you well beyond it. (estimate)
23questions here
5free pages
4concepts
15%of the exam
Questions 1–5
- 1
Given the following JSON data: { "hostname": "R1", "interfaces": [ {"name": "Gig0/0", "ip": "10.0.0.1"}, {"name": "Gig0/1", "ip": "10.0.0.2"} ] } After parsing this JSON with json.loads(), what Python data type is the value associated with the key "interfaces"?
Select an answer first - 2
A network automation script receives a JSON response from a controller. The JSON contains a field 'interfaces' that is an array of objects. The script must check if any interface has 'admin_status' equal to 'up'. Which Python code snippet correctly performs this check?
Select an answer first - 3
A network automation engineer is writing a script that must parse data from three different sources: a NETCONF device (XML), a REST API (JSON), and a local configuration file (YAML). The script needs to convert all three into a common Python dictionary format for further processing. Which approach is most efficient?
Select an answer first - 4
A network automation team is building a system that must exchange data with multiple external services. One service requires XML, another requires JSON, and a third requires YAML. The team wants to maintain a single source of truth in Python and generate the required formats on demand. Which approach is the most maintainable?
Select an answer first - 5
A Python script receives a REST API response in JSON. The script needs to extract the value of the 'status' field from the first item in a list under the key 'devices'. Which Python expression correctly accomplishes this?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Cisco. “200-901” is a trademark of its owner, used for identification only.