CCNP 350-401 ENCOR Question 488 DISCUSSION

  • 718 views
  • 2023-07-01
« Back to Main Menu

Refer to the exhibit. 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?

Q488

A. Create an XML filter as a string and pass it to get_config() method as an argument
B. Use the txml library to parse the data returned by the NETCONF server for the interface’s configuration
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

Refer to the exhibit. 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?

Q488

A. Create an XML filter as a string and pass it to get_config() method as an argument
B. Use the txml library to parse the data returned by the NETCONF server for the interface’s configuration
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

Correct Answer: A

NETCONF: XML
RESTCONF: XML/JSON

Support AceITCert.com by buying stuff you need!

1 Comments

ohhhvictor

The answer is A. Create an XML filter as a string and pass it to get_config() method as an argument.

The NETCONF

 get_config() method allows you to retrieve the configuration of a network device. You can use an XML filter to specify which parts of the configuration you want to retrieve.

To create an XML filter, you can use the following steps:

  • Identify the parts of the configuration that you want to retrieve.
  • Create an XML document that contains the filter criteria.
  • Pass the XML document to the get_config() method as an argument.

2024-04-26 13:47:43
In order to participate in the comments you need to be logged-in.
You can sign-up or login (it's free).