Exam 350-401 Question id=5589 Automation

Refer to the exhibit

import ncclient with ncclient.manager.connect(host='192.168.1.1', port=830, username='root', password='teset123!', allow_agent=False) as m: print (m.get_config ('running') .data_xml)

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.

WARNING

the answers are mixed, do not specify in the comment number or the letter of the answer
please write answer#A instead A, answer#B instead B...
Subject:

only logged users can write comments