nerdexam
Cisco

350-601 · Question #204

Refer to the exhibit. An engineer uses Python in Cisco NX-OS guest shell to retrieve the configuration of the EIGRP ASN on interface eth1/1. The engineer has written this script: >>> import json >>> f

Sign in or unlock 350-601 to reveal the answer and full explanation for question #204. The question stem and answer options stay visible for context.

Automation

Question

Refer to the exhibit. An engineer uses Python in Cisco NX-OS guest shell to retrieve the configuration of the EIGRP ASN on interface eth1/1. The engineer has written this script:

import json >>> from cli import* Which command set must be used to retrieve the value of the 'asn' key?

Exhibit

350-601 question #204 exhibit

Options

  • A
    output = json.loads(clid('show ip eigrp neighbors')) >>>
  • B
    output = json.dumps(clid('show ip eigrp neighbors')) >>>
  • C
    output = json.dumps(clid('show ip eigrp neighbors')) >>> output['asn']
  • D
    output = json.loads(clid('show ip eigrp neighbors')) >>> output['asn']

Unlock 350-601 to see the answer

You've previewed enough free 350-601 questions. Unlock 350-601 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Python scripting#NX-OS Guest Shell#JSON parsing#EIGRP configuration
Full 350-601 Practice