Free 350-401 Exam Braindumps
Implementing Cisco Enterprise Network Core Technologies (ENCOR) Questions 346–350 (page: 71)

Updated On: 10-Feb-2026

What are two benefits of YANG? (Choose two.)

  1. It enforces the use of a specific encoding format for NETCONF.
  2. It collects statistical constraint analysis information.
  3. It enables multiple leaf statements to exist within a leaf list.
  4. It enforces configuration semantics.
  5. It enforces configuration constraints.

Answer(s): A,E



DRAG DROP (Drag and Drop is not supported)
Drag and drop the characteristics from the left onto the orchestration tools they describe on the right.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



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?

  1. Use the Ixml library to parse the data returned by the NETCONF server for the interface's configuration.
  2. Create an XML filter as a string and pass it to get_config() method as an argument.
  3. Create a JSON filter as a string and pass it to the get_config() method as an argument.
  4. Use the JSON library to parse the data returned by the NETCONF server for the interface's configuration.

Answer(s): B

Explanation:

First of all, the return data is saved as .xml format; Then it asks to "reduce amount of data returned" means you need to do the filter before data is downloaded, not after.

"using the Pythonic approach with ncclient and its get_config() method, has a filter argument where you simply specify the filter type, in this case subtree, along with the XML RPC that you want to get a configuration rpc-reply."


Reference:

https://yang-prog-lab.ciscolive.com/pod/0/ncclient/get_config



Running the script causes the output in the exhibit. Which change to the first line of the script resolves the error?

  1. from ncclient import
  2. import manager
  3. from ncclient import *
  4. import ncclient manager

Answer(s): C



Which line must be added in the Python function to return the JSON object {`cat_9k`: `FXS1932Q2SE`}?

  1. return (json.dumps({d['hostname']: d['serialNumber'] for d in json.loads(test_json)['response']}))
  2. return (json.dumps({for d in json.loads(test_json)['response']: d['hostname']: d['serialNumber']}))
  3. return (json.loads({d['hostname']: d['serialNumber'] for d in json.dumps(test_json)['response'}))
  4. return (json.loads({for d in json.dumps(test_json)['response']: d['hostname']: d['serialNumber']}))

Answer(s): A



Viewing page 71 of 193
Viewing questions 351 - 355 out of 1067 questions


Post your Comments and Discuss Cisco 350-401 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!