
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 3)
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 11–15
- 11
A network engineer needs to store configuration data for a REST API request that will be sent to a controller. The data includes nested objects and arrays, and the controller expects a lightweight, language-independent format that is natively supported by JavaScript. Which data format is most appropriate?
Select an answer first - 12
A Python script receives an XML response from a NETCONF device. The script needs to extract the text content of the 'hostname' element that is a direct child of the 'system' element. Which ElementTree code correctly retrieves this?
Select an answer first - 13
A network automation tool must exchange data with an external REST API that only accepts JSON. The tool internally uses YAML for its configuration. What is the most straightforward way to convert the YAML configuration to JSON for the API request?
Select an answer first - 14
A network automation tool must exchange data with a REST API that only accepts JSON. The tool internally uses Python dictionaries. The developer needs to convert a dictionary into a JSON string to send in the HTTP request body. Which Python code snippet correctly performs this serialization?
Select an answer first - 15
A network engineer is writing a configuration file for a new automation tool. The file will be read by humans for review and must support comments to explain each section. Which data format is best suited for this use case?
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.