CiscoCisco
350-401 · Question #1072
350-401 Question #1072: Real Exam Question with Answer & Explanation
The correct answer is D: It reads the output of the show ip access-list extended flp command into a dictionary list. The XML code defines an RPC request using a YANG data model to programmatically retrieve and structure the output of the show ip access-list extended flp command into a dictionary-like format.
Submitted by fatima_kr· Mar 6, 2026Automation
Question
Refer to the exhibit. What is achieved by the XML code?
Options
- AIt displays the access list sequence numbers from the output of the show ip access-list extended
- BIt displays the output of the show ip access-list extended flp command on the terminal screen
- CIt reads the access list sequence numbers from the output of the show ip access-list extended flp
- DIt reads the output of the show ip access-list extended flp command into a dictionary list
Explanation
The XML code defines an RPC request using a YANG data model to programmatically retrieve and structure the output of the show ip access-list extended flp command into a dictionary-like format.
Common mistakes.
- A. While the output contains access list sequence numbers, the XML's purpose is to retrieve the entire structured output of the command, not just sequence numbers, and present it for programmatic use.
- B. This XML represents a request or a data model, not a command that directly displays output on a terminal screen; it's for machine-to-machine communication.
- C. The XML is designed to structure the entire output of the command, not just 'read' sequence numbers, and it's intended for programmatic data retrieval and parsing, not simple reading.
Concept tested. YANG data models, RESTCONF, and programmatic data retrieval
Topics
#XML parsing#Network automation#CLI data parsing#Data structures
Community Discussion
No community discussion yet for this question.