cisco 350-401 practice test

Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR)


Question 1 Topic 6

Topic 6

Refer to the exhibit. The IP SLA is configured in a router. An engineer must configure an EEM applet to shut down the

  • A. event manager applet EEM_IP_SLA event track 10 state down
  • B. event manager applet EEM_IP_SLA event track 10 state unreachable
  • C. event manager applet EEM_IP_SLA event sla 10 state unreachable
  • D. event manager applet EEM_IP_SLA event sla 10 state down
Answer:

A

Discussions

Question 2 Topic 6

Topic 6
DRAG DROP
Drag and drop the snippets onto the blanks within the code to construct a script that changes the routing from gateway 1 to
gateway 2 from 11:00 p.m. to 12:00 a.m. (2300 to 2400) only, daily. Not all options are used, and some options may be used
twice.
Select and Place:

Answer:

Discussions

Question 3 Topic 6

Topic 6
What is a characteristic of YANG?

  • A. It is a Cisco proprietary language that models NETCONF data.
  • B. It allows model developers to create custom data types.
  • C. It structures data in an object-oriented fashion to promote model reuse.
  • D. It provides loops and conditionals to control flow within models.
Answer:

C

Discussions

Question 4 Topic 6

Topic 6

What does the Cisco DNA REST response indicate?

  • A. Cisco DNA Center has the incorrect credentials for cat3850-1
  • B. Cisco DNA Center is unable to communicate with cat9000-1
  • C. Cisco DNA Center has the incorrect credentials for cat9000-1
  • D. Cisco DNA Center has the incorrect credentials for RouterASR-1
Answer:

C

Discussions

Question 5 Topic 6

Topic 6

Refer to the exhibit. Which code results in the working Python script displaying a list of network devices from the Cisco DNA
Center?

  • A. network_device_list(dnac[“host”], dnac[“username”],dnac[“password”]) login = dnac_login(dnac) print(dnac_devices)
  • B. login = dnac_login(dnac[host], dnac[username], dnac[password]) network_device_list(dnac, login) print(dnac_devices)
  • C. login = dnac_login(dnac[host], dnac[username], dnac[password]) network_device_list(dnac, login) for item in dnac_devices: print(dnac_devices.item)
  • D. network_device_list(dnac[host], dnac[username], dnac[password]) login = dnac_login(dnac) for item in dnac_devices: print(dnac_devices.item)
Answer:

C

Discussions

Question 6 Topic 6

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

  • A. return (json.dumps({d[‘hostname’]: d[‘serialNumber’] for d in json.loads(test_json)[‘response’]}))
  • B. return (json.dumps({for d in json.loads(test_json)[‘response’]: d[‘hostname’]: d[‘serialNumber’]}))
  • C. return (json.loads({d[‘hostname’]: d[‘serialNumber’] for d in json.dumps(test_json)[‘response’}))
  • D. return (json.loads({for d in json.dumps(test_json)[‘response’]: d[‘hostname’]: d[‘serialNumber’]}))
Answer:

D

Discussions

Question 7 Topic 6

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

  • A. from ncclient import
  • B. import manager
  • C. from ncclient import *
  • D. import ncclient manager
Answer:

D

Discussions

Question 8 Topic 6

Topic 6

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 interfaces 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:

D

Discussions

Question 9 Topic 6

Topic 6
DRAG DROP
Drag and drop the characteristics from the left onto the orchestration tools that they describe on the right.
Select and Place:

Answer:

Discussions

Question 10 Topic 6

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

  • A. It enforces the use of a specific encoding format for NETCONF.
  • B. It collects statistical constraint analysis information.
  • C. It enables multiple leaf statements to exist within a leaf list.
  • D. It enforces configuration semantics.
  • E. It enforces configuration constraints.
Answer:

A E

Discussions
To page 2