nerdexam
Cisco

300-635 · Question #51

Using the NX-API CLI JSON-RPC interface, which two Python data structure and requests call create an SVI? (Choose two.)

Sign in or unlock 300-635 to reveal the answer and full explanation for question #51. The question stem and answer options stay visible for context.

Network Element Programmability

Question

Using the NX-API CLI JSON-RPC interface, which two Python data structure and requests call create an SVI? (Choose two.)

Options

  • Arequests.post (url, data=json.dumps (payload), headers={'content-type': 'application/json-rpc'}, auth=(username, password))
  • Brequests.post (url, data=json.dumps (payload), headers={'content-type': 'application/json'}, auth=(username, password))
  • Cpayload = { "jsonrpc": "2.0", "method": "cli_conf", "params": { "command": "conf t; interface vlan " + id, "version": 1}, "id": 1}
  • Dpayload = { "jsonrpc": "2.0", "method": "cli", "params": { "cmd": "conf t", "version": 1}, "id": 1 }, { "jsonrpc": "2.0", "method": "cli", "params": { "cmd": "interface vlan " + id, "version": 1}, "id": 2 }

Unlock 300-635 to see the answer

You've previewed enough free 300-635 questions. Unlock 300-635 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#JSON-RPC 2.0#SVI Configuration#REST Headers
Full 300-635 Practice