nerdexam
Cisco

350-601 · Question #643

Refer to the exhibit. An engineer must create a Python script that uses the Cisco NX-API CLI to configure hostnames on a Cisco Nexus 9000 Series Switch. The output of the script must be encoded in JSO

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

Automation

Question

Refer to the exhibit. An engineer must create a Python script that uses the Cisco NX-API CLI to configure hostnames on a Cisco Nexus 9000 Series Switch. The output of the script must be encoded in JSON. Which snippet code on line 5 completes the script?

Exhibit

350-601 question #643 exhibit

Options

  • Aapplication/json
  • Btext/json
  • Capplication/xml
  • Dtext/xml

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

#NX-API#Python scripting#JSON#API interaction
Full 350-601 Practice