After running the code in the exhibit, which step reduces the amount of data that the NETCONF server returns to the NETCONF client, to only the interface ' s configuration?
A.
Use the Ixml library to parse the data returned by the NETCONF server for the interface ' s configuration.
B.
Create an XML filter as a string and pass it to get_config() method as an argument.
C.
Create a JSON filter as a string and pass it to the get_config() method as an argument.
D.
Use the JSON library to parse the data returned by the NETCONF server for the interface ' s configuration.
Answer B is the technically correct selection. NETCONF filtering is done by creating an XML filter and passing it to the get_config operation. NETCONF uses XML-encoded RPC messages, so an XML subtree or XPath-style filter reduces the returned configuration to the requested interface section. This aligns with Cisco CCNA 200-301 v1.1 because the exam blueprint requires engineers to recognize operational behaviour from configuration symptoms and topology requirements. Parsing with JSON or sending a JSON filter does not match NETCONF data encoding; parsing after retrieval does not reduce server response size. Treat the distractors carefully: most are real Cisco terms, but they solve a different problem or operate at a different layer. The selected answer is the one that would be used by an engineer on the device or in the design to produce the outcome stated in the question.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit