nerdexam
CiscoCisco

350-601 · Question #19

350-601 Question #19: Real Exam Question with Answer & Explanation

The correct answer is D: The "type" is wrong in the body of the request and should be "cli_conf". "Commands that belong to different message types should not be mixed. For example, show commands are cli_show message type and are not supported in cli_conf mode." cisco_nexus7000_programmability_guide_8x/b-cisco-nexus7000-programmability-guide- 8x_chapter_011.html

Automation

Question

Refer to the exhibit. Why does the Python code for Cisco NX-API print an error message?

Options

  • AThe JSON is not a supported format for the NX-API.
  • BThe "type" is wrong in the header of the request and should be "cli_conf"
  • CNX-API does not allow configuration for features via the requests module.
  • DThe "type" is wrong in the body of the request and should be "cli_conf"

Explanation

"Commands that belong to different message types should not be mixed. For example, show commands are cli_show message type and are not supported in cli_conf mode." cisco_nexus7000_programmability_guide_8x/b-cisco-nexus7000-programmability-guide- 8x_chapter_011.html

Topics

#Cisco NX-API#Python automation#JSON payload#API configuration

Community Discussion

No community discussion yet for this question.

Full 350-601 PracticeBrowse All 350-601 Questions