nerdexam
CiscoCisco

350-401 · Question #79

350-401 Question #79: Real Exam Question with Answer & Explanation

The correct answer is D: 7.0(3)I7(4). Explanation Option D is correct because the Python code parses a JSON HTTP response and accesses the kickstart_ver_str key from the JSON data, which contains the NX-OS software version string 7.0(3)I7(4) - a typical Cisco Nexus version format returned by the NX-API REST interface

Submitted by jian89· Mar 6, 2026Automation

Question

Refer to the exhibit. Which HTTP JSON response does the python code output give?

Options

  • ANameError: name 'json' is not defined
  • BKeyError 'kickstart_ver_str'
  • C7.61
  • D7.0(3)I7(4)

Explanation

Explanation

Option D is correct because the Python code parses a JSON HTTP response and accesses the kickstart_ver_str key from the JSON data, which contains the NX-OS software version string 7.0(3)I7(4) - a typical Cisco Nexus version format returned by the NX-API REST interface.

Option A is incorrect because the json module is imported at the top of the script (either explicitly or via the requests library), so no NameError would occur. Option B is incorrect because kickstart_ver_str is a valid key present in the JSON response body from Cisco NX-API, so no KeyError would be raised. Option C (7.61) is a distractor that resembles a software version number but does not match the actual value stored in the kickstart_ver_str field of the NX-OS API response.

Memory Tip: Remember that Cisco NX-OS version strings from NX-API always follow the format major.minor(patch)Release(build) - for example 7.0(3)I7(4) - while the distractor 7.61 looks more like a Python or web framework version number, helping you quickly eliminate it.

Topics

#Python JSON parsing#REST API output#Data extraction#Network Automation

Community Discussion

No community discussion yet for this question.

Full 350-401 PracticeBrowse All 350-401 Questions